diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-08 18:14:47 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-08 18:14:47 +0000 |
commit | bb7050a294d0fad6484df26f6ce2745559e464ed (patch) | |
tree | aecf3494f24ace17b4f25719245777cd72b8034f /dev-python/pyzmq | |
parent | Apply upstream fix for systemd-sleep, bug 468998 by Paul Volkov. (diff) | |
download | historical-bb7050a294d0fad6484df26f6ce2745559e464ed.tar.gz historical-bb7050a294d0fad6484df26f6ce2745559e464ed.tar.bz2 historical-bb7050a294d0fad6484df26f6ce2745559e464ed.zip |
Add IUSE green to enable gevent support, re-added py3 support accordingly, adjusted pydeps for cffi, tidied test phase
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r-- | dev-python/pyzmq/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pyzmq/Manifest | 12 | ||||
-rw-r--r-- | dev-python/pyzmq/metadata.xml | 3 | ||||
-rw-r--r-- | dev-python/pyzmq/pyzmq-13.1.0.ebuild | 27 |
4 files changed, 26 insertions, 23 deletions
diff --git a/dev-python/pyzmq/ChangeLog b/dev-python/pyzmq/ChangeLog index c3d3138bc24f..d45687f1e6af 100644 --- a/dev-python/pyzmq/ChangeLog +++ b/dev-python/pyzmq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyzmq # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.32 2013/05/08 08:22:04 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/ChangeLog,v 1.33 2013/05/08 18:14:17 idella4 Exp $ + + 08 May 2013; Ian Delaney <idella4@gentoo.org> metadata.xml, + pyzmq-13.1.0.ebuild, pyzmq-2.2.0.1-r1.ebuild: + Add IUSE green to enable gevent support, re-added py3 support accordingly, + adjusted pydeps for cffi, tidied test phase 08 May 2013; Ian Delaney <idella4@gentoo.org> pyzmq-13.1.0.ebuild, pyzmq-2.2.0.1-r1.ebuild: diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 729fe4a571e2..cb27df73c86f 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -6,16 +6,16 @@ DIST pyzmq-13.1.0.tar.gz 838742 SHA256 8e6fbe2999204456216a2da62429277117ed17613 DIST pyzmq-2.1.10.tar.gz 613843 SHA256 cbcb8c7bf514297aec6e4622381e9feacb4fc552f610d89a9856c47e246f3932 SHA512 de4516174c48162e1132bc387714853c6be9ab178e15f0df6d481f4ee1f42d0329f26098e0e84df61ff598f86bfc0e2602bb5e231a8b5a614fa089310ebe65f7 WHIRLPOOL b35129f60b86a732cc1518380edd2ed3a746428af062973914457b8c5234d7a5175b41ca9374fe4715eafb2cca6ae3a757c22d2630d9e03616511a1f6bdb4796 DIST pyzmq-2.1.11.tar.gz 611281 SHA256 91c21b762ace0ee0dba21d4544b6d521b2ec60015a37a558aa1d747b274f06e2 SHA512 d761b492352841cdc125d9f0c99ee6d6c435812472ea234728b7f0fb4ad1048e1eec9b399df2081fbc926566f333f7780fedd0ce23255a6633fe5c60ed15a6af WHIRLPOOL b3af3633a4d0675ed7abe0cb21948534c30d3d43eb2c17181805adf9f8d34c7eaac7c15756b08f38abb0d9dabfc9cd99ecb3f4037ee02add75a7691b51fbff46 DIST pyzmq-2.2.0.1.tar.gz 789996 SHA256 dae7423f4aa7c93f8c77dadd15e34ce6576121a6e7ae0ecdb6084d855097decc SHA512 781829783dd932f2f7c9ca37ca84f2797ec23860260da3d1005600981d51c1006f187b9b84e937fd3b6dd0e7e58734992336a593eaa0514966dd204227ae1cac WHIRLPOOL 4a1827879e38edbff8f2badf537887ab48f7a67e1139f45c8472760403bf27ea1aeb8c1b6f1be1123ead906d44f98f46f7194b1839ec2b73e1d7bf76e9f032d3 -EBUILD pyzmq-13.1.0.ebuild 1613 SHA256 831a1bfdd74f0681157a4a60e5123998e43102465765892f496e9c5c9cccdd2c SHA512 065d2a2891fd583b28568f0bd21ccb6b8d28ace46885ce1d409a156c2879d77c0ffea6159665b610a6480e69b76cdd808adee4bc1a34e777b54be07cc44fc12c WHIRLPOOL 027fbb4f68b50d31a0f5d2800766a62576fdde887d86462270f7205da3198e53683a73991b01c8e43b131143b28393cbe038f4d3e84154a626f3fa0ae2e1fbf2 +EBUILD pyzmq-13.1.0.ebuild 1395 SHA256 e6683587ddac2ac5650434bcb0c00cf9e9f27adede36d2631093112e370e0ecb SHA512 e3a30d4b1c115b02e63f69e94ef8302833cddd93ce43bbc6467c5457617aedef0e01924b1586ae66b3d4476104004eaab5f66962bb4138a7eb2e45ef16b2e623 WHIRLPOOL 2ffe308f9bfebc7620c68b6daaa368d463ba50dee7ca332f515c1df6830616ddbfa051d0c54a0d5e168383e3587ce4ddd02e21f27aae647aa6a6f2c30464daa7 EBUILD pyzmq-2.1.10.ebuild 1063 SHA256 d475dd79483420cbb0c797fb3ad6e63992cfed34c24d9a3c7aafa993fed0778d SHA512 e7c28958fa3635d55e2d8484eee1e67afe8a1f514bb73388757a9f28099093bda3f22d2785c8e791f8726685689aa34d3536d085355c3caf382fcac827fea87e WHIRLPOOL b26069bd6e19116ea9970624a46f5b5305abba486efd28de93c7c20b40d5769a94fccc00921813a134716ea8e5cb2a93885b7f911785b65b0c0e2ce8682d706a EBUILD pyzmq-2.1.11.ebuild 1065 SHA256 89109851e241f0ac0523145411af2a33c85a8b8170994978be788cc80360f9a4 SHA512 50244ff16fe5a7b145b983951db738b1897f6c74df6fac016013592bf6f1ef251fce5ef206bcd9643456e649664d98f9b2561936fadd28acd163d37c5ad18ecc WHIRLPOOL f97aa2df8c5543da9f7ca28f07ea2acfc390d36efc24f6bb4a911813e8ad6fc1d7e50552e5cc7a0b863aacf6368e47df76920b8bffbf52a5bf4604567e350cfe EBUILD pyzmq-2.2.0.1-r1.ebuild 1323 SHA256 bb0fbcb42331cf18999870ec35208d46af9a4954349c9178d70952b34f0282a1 SHA512 a363ae57e69631479cfc9fb93b75574babb30dcdd96c6db9b75eb671e35d1a9d0206b2cac776c1e83fab8767c690a1352a2d4f1dee16c7cd58097becb3cd0068 WHIRLPOOL 5b629b09492f93feaf86f730f541cb9f1ca71dd6c0bb4b8e3a34e8189e6827ab754ac616ef4829b0f8fc3b60fd0983afcc746014530fbc1fe68483381da842aa -MISC ChangeLog 4540 SHA256 50dc7f5cd3b33ddf986379f239d36db87f5ce75e48a4e77363cae82041d34ecd SHA512 429164945f96ad62ddbd3c7c9a172b40ad9f1080f831afcbbcd79f124a49f648f94d8fe5e725c00377f2d5cc201777751ee3d56e0328b9a78d1298ac3d2d0389 WHIRLPOOL 762acc84f4a627a6b556471672122c8d85027cb9cee14c4ff71af53e4dba46a5e728023cf2b99453f934de5d037dfa403b4c99bb3c81b4dd2979ee2bcd5101bc -MISC metadata.xml 228 SHA256 d71eea25c915339addcf9c04e7e9f35a1bc3212b9dbf41a36c19f30a9c2ea7ce SHA512 40b760b794810c8a1b3685586cf096e9798fd0bd092e6cb25467c0a73f92a1c323a3ff6389c1e8b44a8563ca62f7fe62ee75b4b9db32d9e097722e1a9dccfadf WHIRLPOOL a89efc9b547323a9594d5ef8773c865cc2b409cc570cf799f71d4caf09e11556f147961d9e39eb8b3c3b390bee382e09b2043acc51ec9f60067091399ac73026 +MISC ChangeLog 4774 SHA256 8c213fd2cd1c7f327636c216fbea07ec483b8aa4f3af25fdf64136b9cbf9dd88 SHA512 569e0743d458c5cf7b994dc5aa978d7d2bd2b698ebd5fc25281930baba39814bc2f80e9913fdc7857e2e6d01883c246f430dbaba9dc79fe72d43e3ac52f2269a WHIRLPOOL 974e6c1c0c5e0a79bed6abcaa761d4c5c4a59187299f090d34d5e4db603c0d4b9564c7df428e7786c9a1b9b8dcba5e5bc4bf91b6eb49c970cab9c243dfe32a7c +MISC metadata.xml 311 SHA256 7bf0844998c23d4dc8fec7840b0ebf8fdd510be512de46049243fc7b211c6c5a SHA512 c8c0381428fad7c3cd93380444721ddcbfbe0fbfcce78dac081f38ee0b24e79cd28ac582de808e9fd1b95d2d8a9005faf27c414e9d3cfb21921e64cfd1ace8b2 WHIRLPOOL 3e8755a2f9a84b6cb86d88b01fedee0bcd953512859f50412ed939c86c10f09297f1d74213a10e18af50a9dd1a7e797c5b0622c0822f62cdba5e324536e574ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlGKCz4ACgkQso7CE7gHKw3TagCfQ5KzWzkDkqRgEcNDwu+wn1ac -VZsAniNOJKRhK2YA/YlYSpAJdnnX0opM -=5ocs +iEYEAREIAAYFAlGKlgkACgkQso7CE7gHKw1vXgCglB1NNaIvD1FS0XYV+FHJLahU +0FEAoLWSMD0hY/TWOJf7CTgozg0CdVyi +=ogdj -----END PGP SIGNATURE----- diff --git a/dev-python/pyzmq/metadata.xml b/dev-python/pyzmq/metadata.xml index 1eddb7dc2c03..f110ed7f9f6c 100644 --- a/dev-python/pyzmq/metadata.xml +++ b/dev-python/pyzmq/metadata.xml @@ -2,6 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> + <use> + <flag name="green">Enable gevent compatibility with zeromq</flag> + </use> <upstream> <remote-id type="pypi">pyzmq</remote-id> </upstream> diff --git a/dev-python/pyzmq/pyzmq-13.1.0.ebuild b/dev-python/pyzmq/pyzmq-13.1.0.ebuild index 2603c867715d..0abbebfa4951 100644 --- a/dev-python/pyzmq/pyzmq-13.1.0.ebuild +++ b/dev-python/pyzmq/pyzmq-13.1.0.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-13.1.0.ebuild,v 1.2 2013/05/08 08:22:04 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-13.1.0.ebuild,v 1.3 2013/05/08 18:14:17 idella4 Exp $ EAPI=5 -# Need hold off pypy support until https://bugs.pypy.org/issue1480 has a fix, also makes py3 incapable -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} ) inherit distutils-r1 @@ -15,16 +14,17 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" -IUSE="examples test" +IUSE="examples green test" PY2_USEDEP=$(python_gen_usedep 'python2*') RDEPEND=">=net-libs/zeromq-2.1.9 - dev-python/gevent[${PY2_USEDEP}]" + green? ( dev-python/gevent[${PY2_USEDEP}] )" DEPEND="${RDEPEND} test? ( - !arm? ( dev-python/cffi[${PY2_USEDEP}] ) + !arm? ( dev-python/cffi[${PYTHON_USEDEP}] ) dev-python/nose[${PY2_USEDEP}] + dev-python/gevent[${PY2_USEDEP}] dev-python/cython[${PY2_USEDEP}] )" @@ -35,16 +35,11 @@ DISTUTILS_IN_SOURCE_BUILD=1 REQUIRED_USE="test? ( !arm )" python_test() { -# local test - nosetests -svw build/lib* || die "Tests fail with ${EPYTHON}" - # For pypy capable; avoids nosetests trawling wrong files triggering erroneous error under pypy -# for test in build/lib/zmq/tests/test_*.py; do -# if "${PYTHON}" ${test}; then -# einfo "Passed ${test}" -# else -# die "testsuite failed ${test} under ${EPYTHON}" -# fi -# done + if [[ "${EPYTHON}" == python3* ]]; then + einfo "Skipping python3 due to many incompatibilities" + else + nosetests -svw build/lib/ || die "Tests fail with ${EPYTHON}" + fi } python_install_all() { |