diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-10 22:11:09 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-10 22:11:09 +0000 |
commit | 45f51b141ac8f1aaad4b7ca0e6b878b5a1e9b8f4 (patch) | |
tree | ad6259039d24ed83c9294b30a80ec9478f0dd9d6 /dev-python/cython | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-45f51b141ac8f1aaad4b7ca0e6b878b5a1e9b8f4.tar.gz gentoo-2-45f51b141ac8f1aaad4b7ca0e6b878b5a1e9b8f4.tar.bz2 gentoo-2-45f51b141ac8f1aaad4b7ca0e6b878b5a1e9b8f4.zip |
Version bump.
(Portage version: 2.2_rc79_p5/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.13.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog index a0e078e1beff..3cc5536dc47b 100644 --- a/dev-python/cython/ChangeLog +++ b/dev-python/cython/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/cython # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.48 2010/07/24 19:24:52 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.49 2010/09/10 22:11:09 arfrever Exp $ + +*cython-0.13 (10 Sep 2010) + + 10 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -cython-0.13_beta0.ebuild, +cython-0.13.ebuild: + Version bump. *cython-0.13_beta0 (24 Jul 2010) diff --git a/dev-python/cython/cython-0.13.ebuild b/dev-python/cython/cython-0.13.ebuild new file mode 100644 index 000000000000..92e0805361d7 --- /dev/null +++ b/dev-python/cython/cython-0.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.13.ebuild,v 1.1 2010/09/10 22:11:09 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +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="mirror://pypi/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz + http://www.cython.org/release/${MY_P}.tar.gz" + +LICENSE="PSF-2.4" +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="ToDo.txt USAGE.txt" +PYTHON_MODNAME="Cython pyximport" + +src_test() { + testing() { + rm -fr BUILD + "$(PYTHON)" runtests.py -vv + } + 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 +} |