diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-12 15:54:51 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-12 15:54:51 +0000 |
commit | d1b699a516bcd47e7dd0d6f79b54bba5f7f197e7 (patch) | |
tree | aca0e5dce8b68e178aaa988af1277c3e17a06037 /dev-python/cython | |
parent | remove dodoc on non-existant file (diff) | |
download | gentoo-2-d1b699a516bcd47e7dd0d6f79b54bba5f7f197e7.tar.gz gentoo-2-d1b699a516bcd47e7dd0d6f79b54bba5f7f197e7.tar.bz2 gentoo-2-d1b699a516bcd47e7dd0d6f79b54bba5f7f197e7.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14014-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.2-r1.ebuild | 60 |
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog index ed8df8928d24..d31b6b973d9d 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.25 2009/07/26 22:27:04 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.26 2009/08/12 15:54:51 arfrever Exp $ + +*cython-0.11.2-r1 (12 Aug 2009) + + 12 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +cython-0.11.2-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. 26 Jul 2009; Brent Baude <ranger@gentoo.org> cython-0.11.2.ebuild: stable ppc64, bug 277124 diff --git a/dev-python/cython/cython-0.11.2-r1.ebuild b/dev-python/cython/cython-0.11.2-r1.ebuild new file mode 100644 index 000000000000..587dbe108104 --- /dev/null +++ b/dev-python/cython/cython-0.11.2-r1.ebuild @@ -0,0 +1,60 @@ +# 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.2-r1.ebuild,v 1.1 2009/08/12 15:54:51 arfrever Exp $ + +EAPI="2" + +NEED_PYTHON="2.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://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}" +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() { + testing() { + emake test + } + python_execute_function testing +} + +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 +} |