diff options
Diffstat (limited to 'dev-python/pyrex')
-rw-r--r-- | dev-python/pyrex/files/digest-pyrex-0.5 | 1 | ||||
-rw-r--r-- | dev-python/pyrex/files/digest-pyrex-0.6.1 | 2 | ||||
-rw-r--r-- | dev-python/pyrex/pyrex-0.5.ebuild | 13 | ||||
-rw-r--r-- | dev-python/pyrex/pyrex-0.6.1.ebuild | 27 |
4 files changed, 35 insertions, 8 deletions
diff --git a/dev-python/pyrex/files/digest-pyrex-0.5 b/dev-python/pyrex/files/digest-pyrex-0.5 index d792a8a07067..96b5def5e01b 100644 --- a/dev-python/pyrex/files/digest-pyrex-0.5 +++ b/dev-python/pyrex/files/digest-pyrex-0.5 @@ -1 +1,2 @@ +MD5 672cd0df90d72164adb80df347420f28 /pyrex-0.5.ebuild 835 MD5 a334d9c522a93096112145941ffafb22 Pyrex-0.5.tar.gz 127784 diff --git a/dev-python/pyrex/files/digest-pyrex-0.6.1 b/dev-python/pyrex/files/digest-pyrex-0.6.1 index 72ea8588ef33..6737a72141dd 100644 --- a/dev-python/pyrex/files/digest-pyrex-0.6.1 +++ b/dev-python/pyrex/files/digest-pyrex-0.6.1 @@ -1,2 +1,2 @@ -MD5 f3c6c7e763dcdf85c947778ddb3a5214 /pyrex-0.6.1.ebuild 816 +MD5 4a96f2ccf41b6e1b77f1e24277201c9b /pyrex-0.6.1.ebuild 819 MD5 2121d8c4f292edab8c7a09878f1ee359 Pyrex-0.6.1.tar.gz 134640 diff --git a/dev-python/pyrex/pyrex-0.5.ebuild b/dev-python/pyrex/pyrex-0.5.ebuild index ef687c8bede7..9e050348bcd0 100644 --- a/dev-python/pyrex/pyrex-0.5.ebuild +++ b/dev-python/pyrex/pyrex-0.5.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.5.ebuild,v 1.2 2003/02/13 11:38:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.5.ebuild,v 1.3 2003/04/04 18:05:49 liquidx Exp $ + +inherit distutils MY_P="Pyrex-${PV}" S=${WORKDIR}/${MY_P} @@ -15,13 +17,10 @@ SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" -src_compile() { - python setup.py build || die -} - src_install () { - python setup.py install --root=${D} --prefix=/usr || die - dodoc CHANGES.txt INSTALL.txt README.txt USAGE.txt + mydoc="CHANGES.txt INSTALL.txt README.txt USAGE.txt" + distutils_src_install + dodir ${D}usr/share/doc/${PF}/Demos cp -r ${S}/Demos ${D}usr/share/doc/${PF} dohtml -r Doc/* diff --git a/dev-python/pyrex/pyrex-0.6.1.ebuild b/dev-python/pyrex/pyrex-0.6.1.ebuild new file mode 100644 index 000000000000..4594744d1100 --- /dev/null +++ b/dev-python/pyrex/pyrex-0.6.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.6.1.ebuild,v 1.1 2003/04/04 18:05:49 liquidx Exp $ + +inherit distutils + +MY_P="Pyrex-${PV}" +S=${WORKDIR}/${MY_P} +DESCRIPTION="a language for writing Python extension modules." +SRC_URI="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/${MY_P}.tar.gz" +HOMEPAGE="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex" +LICENSE="as-is" + +DEPEND="virtual/python" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_install () { + mydoc="CHANGES.txt INSTALL.txt README.txt USAGE.txt" + distutils_src_install + + dodir /usr/share/doc/${PF}/Demos + cp -r ${S}/Demos ${D}/usr/share/doc/${PF} + dohtml -r Doc/* + cp ${S}/Doc/primes.c ${D}usr/share/doc/${PF}/html/ +} |