diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-27 20:47:00 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-27 20:47:00 +0000 |
commit | 875d7e8f103fa8c85509530b494c0136b1a81d87 (patch) | |
tree | 6f1c8a4ab88bcf3670c446c264fd09e8bee3cfb0 /dev-python/cython | |
parent | Revbump, fix bug 279419. (diff) | |
download | gentoo-2-875d7e8f103fa8c85509530b494c0136b1a81d87.tar.gz gentoo-2-875d7e8f103fa8c85509530b494c0136b1a81d87.tar.bz2 gentoo-2-875d7e8f103fa8c85509530b494c0136b1a81d87.zip |
Version bump.
(Portage version: 14450-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/cython')
-rw-r--r-- | dev-python/cython/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/cython/cython-0.11.3.ebuild | 55 |
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog index d095883669c2..55aa512eb5e7 100644 --- a/dev-python/cython/ChangeLog +++ b/dev-python/cython/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/cython # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.27 2009/09/05 13:51:03 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.28 2009/09/27 20:47:00 arfrever Exp $ + +*cython-0.11.3 (27 Sep 2009) + + 27 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +cython-0.11.3.ebuild: + Version bump. 05 Sep 2009; Patrick Lauer <patrick@gentoo.org> -cython-0.9.6.12.ebuild, -cython-0.9.8.1.ebuild, -cython-0.9.8.1.1.ebuild: diff --git a/dev-python/cython/cython-0.11.3.ebuild b/dev-python/cython/cython-0.11.3.ebuild new file mode 100644 index 000000000000..c7b3c8c58673 --- /dev/null +++ b/dev-python/cython/cython-0.11.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.11.3.ebuild,v 1.1 2009/09/27 20:47:00 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils flag-o-matic + +MY_PN="Cython" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A language for writing Python extension modules based on pyrex" +HOMEPAGE="http://www.cython.org/" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz + http://www.cython.org/${MY_P}.tar.gz" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN} pyximport" +DOCS="ToDo.txt USAGE.txt" + +pkg_setup() { + if use amd64; then + # Tests fail with some optimizations. + replace-flags -O[2-9s]* -O1 + fi +} + +src_test() { + python_execute_function -d +} + +src_install() { + distutils_src_install + + # -A c switch is for Doc/primes.c + use doc && dohtml -A c -r Doc/* + + if use examples; then + # Demos/ has files with .so,~ suffixes. + # So we have to specify precisely what to install. + insinto /usr/share/doc/${PF}/examples + doins Demos/Makefile* Demos/setup.py Demos/*.{py,pyx} + fi +} |