# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Short one-line description of this package. DESCRIPTION="A Python extension to parse BibTeX files" # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="http://pybliographer.org" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz" # License of the package. This must match the name of file(s) in # /usr/portage/licenses/. For complex license combination see the developer # docs on gentoo.org for details. LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-libs/glibc-2.3.2-r9 >=app-text/recode-3.6-r1 >=dev-lang/python-2.3.3" # Run-time dependencies, same as DEPEND if RDEPEND isn't defined: #RDEPEND="" # Source directory; the dir where the sources can be found (automatically # unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P} # if you omit this line. S=${WORKDIR}/${P} src_compile() { python ./setup.py build || die "compile failed" } src_install() { python ./setup.py install --root=${D} --prefix=/usr || die "install failed" dodoc ChangeLog PKG-INFO README }