diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-04 16:46:42 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-04 16:46:42 +0000 |
commit | a242702bfb116bdfb247848ee571f676bc0834f6 (patch) | |
tree | 91623c58f0942a0d4a66120ab5b2d587ba4e554d /dev-python/cython | |
parent | Delete older ebuilds. (diff) | |
download | gentoo-2-a242702bfb116bdfb247848ee571f676bc0834f6.tar.gz gentoo-2-a242702bfb116bdfb247848ee571f676bc0834f6.tar.bz2 gentoo-2-a242702bfb116bdfb247848ee571f676bc0834f6.zip |
Version bump.
(Portage version: 2.2.0_alpha19_p85/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/cython')
-rw-r--r-- | dev-python/cython/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/cython/cython-0.14.1.ebuild | 52 |
2 files changed, 61 insertions, 1 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog index aa24b01fbe8a..4982110078b4 100644 --- a/dev-python/cython/ChangeLog +++ b/dev-python/cython/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/cython # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.62 2011/01/28 21:48:39 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.63 2011/02/04 16:46:42 arfrever Exp $ + +*cython-0.14.1 (04 Feb 2011) + + 04 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -cython-0.14-r1.ebuild, -cython-0.14.1_rc1.ebuild, -cython-0.14.1_rc2.ebuild, + -cython-0.14.1_rc3.ebuild, +cython-0.14.1.ebuild, + -files/cython-0.14-__new__.patch, -files/cython-0.14-python-3.patch: + Version bump. *cython-0.14.1_rc3 (28 Jan 2011) diff --git a/dev-python/cython/cython-0.14.1.ebuild b/dev-python/cython/cython-0.14.1.ebuild new file mode 100644 index 000000000000..67bcb937541c --- /dev/null +++ b/dev-python/cython/cython-0.14.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.14.1.ebuild,v 1.1 2011/02/04 16:46:42 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython" + +inherit distutils + +MY_PN="Cython" +MY_P="${MY_PN}-${PV/_/}" + +DESCRIPTION="The Cython compiler for writing C extensions for the Python language" +HOMEPAGE="http://www.cython.org/ http://pypi.python.org/pypi/Cython" +SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc examples" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="README.txt ToDo.txt USAGE.txt" +PYTHON_MODNAME="Cython cython.py pyximport" + +src_test() { + testing() { + "$(PYTHON)" runtests.py -vv --work-dir tests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + # "-A c" is for ignoring of "Doc/primes.c". + dohtml -A c -r Doc/* || die "Installation of documentation failed" + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Demos/* || die "Installation of examples failed" + fi +} |