From d9ec8413744faaba3543bff9773bdad9786260ab Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 16 Apr 2008 18:25:51 +0200 Subject: Added stuff from laptop --- dev-python/cython/Manifest | 2 ++ dev-python/cython/cython-0.9.6.12.ebuild | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/cython/Manifest create mode 100644 dev-python/cython/cython-0.9.6.12.ebuild (limited to 'dev-python/cython') diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest new file mode 100644 index 0000000..edaa049 --- /dev/null +++ b/dev-python/cython/Manifest @@ -0,0 +1,2 @@ +DIST Cython-0.9.6.12.zip 1294449 RMD160 120aa9d6dcbe1357fad6c61d4868039e0f27c0d9 SHA1 1e57efbb48bbd3a8a997300edef325351eef0c77 SHA256 9423dfd5502f3b38699dd3d8cda0aca8cd9fb4b94d0c9160901dfb1c3cb705d6 +EBUILD cython-0.9.6.12.ebuild 968 RMD160 44755fd29af16db55d7ec4efdd8379187d7307b7 SHA1 0e3806e5d49ac0a0e08d5fa7ccd02331186f79ab SHA256 9cb10e2151faf78ff4eef3ff84b9e6576b363cbf89e1afbbe1fda8ad96403f24 diff --git a/dev-python/cython/cython-0.9.6.12.ebuild b/dev-python/cython/cython-0.9.6.12.ebuild new file mode 100644 index 0000000..5a0b4e9 --- /dev/null +++ b/dev-python/cython/cython-0.9.6.12.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.9.6.10b.ebuild,v 1.1 2008/01/04 16:51:19 hawking Exp $ + +NEED_PYTHON=2.2 + +inherit distutils eutils + +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}.zip" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" +DOCS="ToDo.txt USAGE.txt" + +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,pxd} + fi +} -- cgit v1.2.3-70-g09d2