diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-02-09 12:46:46 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-02-09 12:46:46 +0000 |
commit | 33cbdddfd2fc3d65a176962cf7c9541407c8a4fe (patch) | |
tree | e998d5f20c0a1181dfb1fb104c2b709c4995a669 /dev-python/cython | |
parent | Use the correct patches. (Bug 456272) (diff) | |
download | historical-33cbdddfd2fc3d65a176962cf7c9541407c8a4fe.tar.gz historical-33cbdddfd2fc3d65a176962cf7c9541407c8a4fe.tar.bz2 historical-33cbdddfd2fc3d65a176962cf7c9541407c8a4fe.zip |
Migrate to distutils-r1.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/cython')
-rw-r--r-- | dev-python/cython/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/cython/Manifest | 15 | ||||
-rw-r--r-- | dev-python/cython/cython-0.18-r1.ebuild | 60 |
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog index e7ec89abedb8..048c46bdac4d 100644 --- a/dev-python/cython/ChangeLog +++ b/dev-python/cython/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/cython # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.88 2013/02/04 04:32:11 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.89 2013/02/09 12:46:44 mgorny Exp $ + +*cython-0.18-r1 (09 Feb 2013) + + 09 Feb 2013; Michał Górny <mgorny@gentoo.org> +cython-0.18-r1.ebuild: + Migrate to distutils-r1. *cython-0.18 (04 Feb 2013) diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index f057bb80b26f..62d937db0b63 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 0.15.1-test.patch 2334 SHA256 c8e0ddbba1166d367dbfd26cfc870cff2aac329eba9474481863408ea3259bd1 SHA512 2ae26b6d3dda11067f6d52431b0a1d9a5d9597db2bc90604b930f8e9e8faa7913e883b5dca0d9d862dc5aa732a6d771b460df12b0db8c1beb4a2f7b1a2a3ba0d WHIRLPOOL bd684b1f32744cf6a1b582b0197c56743e3c30f36647cd81090c2568958d1e56bf44f197446becddfeabdf25f7678bfa3a79eadae0fbcfa97312d82103752b57 DIST Cython-0.14.1.tar.gz 1315824 SHA256 89e3f64ea0f97cd29b28d0831a7022dc1f8cf4ffb7be52b9f2fc4b5dcf9243c7 SHA512 1af6ee35722fdbfa252782e1ddd0b457c2f742a326d582b0d187641450977b5437b867f559ba10750b80d20d6dd18baffeb54b1b919ec75861bbc6d771721328 WHIRLPOOL 37aef51ef3b8ac0041c13975166b923d6a263b1dcd65b1ba461841d4e0331b3e5bdd47b8740cfbec0bb368b34e54edc4fec3e16fc01b82eafb3f3ab6794bef40 DIST Cython-0.15.1.tar.gz 1796536 SHA256 248123f2f02f2701a28d9452132ac835533b396a273cda9d361cb65c26067edc SHA512 8da1b0af98203254a1cf776d73d09433f15b5090871f9fd6d712cea32bcd44446b7323ae1069b28907d2728e77944a642825c61bc3b54ceb46c91897cc4f6051 WHIRLPOOL 9c0f5bec9f8c9e9789d581b15c6940b0555e454d42dca06b4161bce5789a7d9907d6fea1a3c36b8235699a58de984f0c328701dde60e7b9282b7e632f55a96d9 @@ -13,6 +16,16 @@ EBUILD cython-0.16.ebuild 1483 SHA256 ce632cb30285c004f0bf1020a03d01d441d3cf8c87 EBUILD cython-0.17.1.ebuild 1494 SHA256 6bb4214c9676b5de63969ff043d9d9b64fd02a70635f6add42ff8e92b940ca9c SHA512 de2825e0117257cde8e25a6b4c3ba645f7a925b91cd750687c663e72f4b752de18a155a02c308d1708650688fd44655faf6bb175dc28c81089b1eeb477a8d18a WHIRLPOOL 76d53167eff31729233fdfd257e83170903ff3638ca6027ff4a7f51c3673bd427e8fc9448201e20e0463fd8259e8bc5c5ed3b79a822e3cf0240e1b31a322c1f9 EBUILD cython-0.17.2.ebuild 1494 SHA256 cb9006fa983ecd98863f65a5c9e4caf783c7f4596938b7297ae8ac8b33c8dd22 SHA512 a02bde480e9e5ed92feb6917f0ef52c9f7a2e30c79f0c58f0769a91bb14916343f8d9c44b11991d6df8f3a1d7169fdea4de88ca3067e6cf50950086c9cdfa848 WHIRLPOOL 6b894dafb93bb1369c92460558e0bb876c08314561f544bfe981a8bdad4a1e69641eb62dbd7fb3c442a6ba43e42c2f151a35d1e6ddbe24dc8860422471446cc8 EBUILD cython-0.17.4.ebuild 1494 SHA256 88df87a07a8441917e35b2eef43f4ddefbe5962d60aa808a582ea5007edf4b7a SHA512 d9b635fbe051f924a69c5b60f50bf85f2469f9215147ef3e9481e4b8ae9d3a9bad109ac289b34e47f54d2c0323502742ac9e44d855946887f8730ecfb36c4db1 WHIRLPOOL c2e41ab0bc3df825eef06e1b733da993b5e331620e2572587a880c17c52f374c5f5095ac8430fdec1faa9e07d297d42f0d0649ac1bed9b11a8b45b9c6235e56f +EBUILD cython-0.18-r1.ebuild 1559 SHA256 7346d6d4ae17099f23e8f380a42e65964b3a5d22ac406ba861bde48d6087b025 SHA512 7a4dd551c37c16951dbd2b06ace7384588679469529e11954de39c78cdef0b43f5d136e95d719736ce24fe217e9506037d7dd5c1b12cd006a0aa5a03d26612c1 WHIRLPOOL 0015e32ceb89b525765fb120061a765ec4e5bae8cbc7427527235b3e043fa4a39fb1bd4499486a049d1b0e0c9aef1a3bae13ee0fa0681beb636c65d611f6896b EBUILD cython-0.18.ebuild 1492 SHA256 636270d38c94ff85133be86ac12d35da418b245cead20826843996f9b78e55c8 SHA512 743db0afed9439992a00c3ab31b001c7510b47155b83bc9199843a13e0eb3636d928156f2489ff72b8d95aea63399f7731e57369f4ce0c0a745b5e690ec8d16a WHIRLPOOL d08c1046047c1d23bce8423b6bf5366a549c2e935946756f342a60ec74fc5fe8661872144830d16ae1ab9042d113621374a6c69cc141d6caaa18956ed1b7a839 -MISC ChangeLog 11433 SHA256 cbdb7c615bf02979dcf7f5f872f9472d7435d17f0c38d8515e39719e482600ee SHA512 53905657e65d0b3d4fa2930fe90896eae8a23edd8c0ece4177e919190c8e3d12e33f4bc82e71a96d0ab02b82bc193a1a1bcb3e13d5ef62e4d64a8d333f3e493d WHIRLPOOL aaa9bab13ca6ee6b1e27e76469b59959e04bba9c25e50b4608e0e053c03448b02a3e9fc51d6dd8b2820edc4324ec9108caad9929aca2e30d200260357da2b300 +MISC ChangeLog 11565 SHA256 95efcbe5834bfc245edb632921fa32d6c14e456bb77da56c101a048dabc82470 SHA512 dc4e67c051c7ee73cb68da8702f1a54811a02d861585c3c406ac0dbd5adee9634d07b5193d7bb5713e08f20513163ae124bd2733cff75333a04846b25b69eb71 WHIRLPOOL 2bac812cbb6c8202722f993984870b857423c5b98ccc303c05d7b6d2bfdbf07a4926d498f838532eb786d0c44e7d65608077ddb6c7a36f966da83f970a7314a8 MISC metadata.xml 507 SHA256 0756ee0b23317a871b1fa05f5a8fb86d39ca0820cee63ded86551f8b76cb7406 SHA512 f51a7395e924eea4db4f342a8b28e5f93eee0773fd4558607ceaf9844861f8b16858e10937851f589011323d903551dbab8a53f4b7cabc94a3ff4d2cba5dcd9a WHIRLPOOL 82a4811a17060a51a743b2f1ebbc65df575f2c772374666f2d36be2050ab7dd3c3fecc9de96a3d20a25cf29e8be84789c376f815e8b40e2433a774df79d61dd7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iJwEAQEIAAYFAlEWRTwACgkQfXuS5UK5QB2BFgQAgR3nwwd8SQGzDu9v8rMZSw1A +zj5dQEoRUrH0P66bPf4emnQEnZImf/9P3TiZgi4ysc+QhuLFztnHlopU6YYSf4RZ +n1FRrHR4qH+N6FqSZtt0Q4Q9P2aVVRTYHWXANBZdYIjz6eoIG9CW1rjhWjWe4eG6 +5ENYgIomcvD7WG48Kkk= +=w/NI +-----END PGP SIGNATURE----- diff --git a/dev-python/cython/cython-0.18-r1.ebuild b/dev-python/cython/cython-0.18-r1.ebuild new file mode 100644 index 000000000000..1ee4298f22fa --- /dev/null +++ b/dev-python/cython/cython-0.18-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.18-r1.ebuild,v 1.1 2013/02/09 12:46:44 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} ) + +inherit distutils-r1 flag-o-matic + +MY_PN="Cython" +MY_P="${MY_PN}-${PV/_/}" + +DESCRIPTION="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-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc examples numpy" + +DEPEND="numpy? ( >=dev-python/numpy-1.6.1-r1[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV%_*}" + +python_compile() { + if [[ ${EPYTHON} == python2* ]]; then + local CFLAGS CXXFLAGS + append-flags -fno-strict-aliasing + fi + + # Python gets confused when it is in sys.path before build. + local PYTHONPATH + export PYTHONPATH + + distutils-r1_python_compile +} + +python_test() { + "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ + || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( README.txt ToDo.txt USAGE.txt ) + + distutils-r1_python_install + + if use doc; then + # "-A c" is for ignoring of "Doc/primes.c". + dohtml -A c -r Doc/* + fi + + if use examples; then + docinto examples + dodoc -r Demos/. + docompress -x /usr/share/doc/${PF}/examples + fi +} |