diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/kombu | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/kombu')
-rw-r--r-- | dev-python/kombu/Manifest | 4 | ||||
-rw-r--r-- | dev-python/kombu/files/kombu-3.0.26-pymongo-test-fix.patch | 40 | ||||
-rw-r--r-- | dev-python/kombu/files/kombu-NA-tests-fix.patch | 16 | ||||
-rw-r--r-- | dev-python/kombu/kombu-2.5.16.ebuild | 42 | ||||
-rw-r--r-- | dev-python/kombu/kombu-3.0.23.ebuild | 91 | ||||
-rw-r--r-- | dev-python/kombu/kombu-3.0.24.ebuild | 95 | ||||
-rw-r--r-- | dev-python/kombu/kombu-3.0.26.ebuild | 102 | ||||
-rw-r--r-- | dev-python/kombu/metadata.xml | 14 |
8 files changed, 404 insertions, 0 deletions
diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest new file mode 100644 index 000000000000..66ee5ee9ee0c --- /dev/null +++ b/dev-python/kombu/Manifest @@ -0,0 +1,4 @@ +DIST kombu-2.5.16.tar.gz 307515 SHA256 feab7f4384e2420bed19b8323150059d4b12e8eacbd581f62776ad5878d433c2 SHA512 48a6297726835552188cf09de424d88df333d4c8d1744d423b9ea6d8b75068b806d7220cfe070395924a3c2ff271940db6f14ad9c38b830442e798ad5c8a866c WHIRLPOOL a58e7f94bfdbf4b4f03b5495d08dfe399b66316fae156d82d0a69f6c094d40494c9e80909e8200287453a9593d924644241169b47db82426cfed09d01cc1b7e2 +DIST kombu-3.0.23.tar.gz 343923 SHA256 448c3e3ce671a10f00ee03979ba3c7866b4bfce49f65edec9f93a0cefa87ec16 SHA512 239ffbeb3c901227de7fb44f7c0b5ca611b8648eea81cd0c371bdadc1cd855a0f19001556aaa62abf7cb610b26dc182058251b97d85c8529a42a2e675edd0aaf WHIRLPOOL 0842ff10715b45c92d43923b32a3c81b5216a9c5fe0b6432d3790b1e08a02388f3631d380b7234cb050e8c8b711ab0ecb8aab676499f576b14d1a3b90844688f +DIST kombu-3.0.24.tar.gz 374539 SHA256 b9ff0437607113aea701fd5122c2afa40c05dff6f1da4f58b2f1ea18d9f2bf8d SHA512 fdc42073d37c0888f564ae3feec517212e3cadd534cae2a0893f799c6fea7c217aa979617ec73b63466a7b5a3dbb836b57422ce514087d4e4821e88eec5e4ffa WHIRLPOOL 8513cbe9df4337fe3545cc2a2ff3cec3c9f28b60f200aff5395b2acb484c6b75fe710b5227df6eb3fd41a6faeb49a0aaf968618e66594e9e87c20c448475d27c +DIST kombu-3.0.26.tar.gz 375553 SHA256 1f565abd44c4b7dfaa4dd543d52f982d2f006aba0a2b3830542b4d25a801fe09 SHA512 71656cc8f44101700c5489e0b0a66918a00cf8ff39e65feab1090865e3c8d50b6dd2458f95d48fb58cc4387de954530fe27a5713838509d51123bac7009631a2 WHIRLPOOL d706dcd752e24eebc3a1091a8a2ba91a0b6adf30fa9be4d9d1a95b5c008f8036eb518f03ccb1d3393502488120c9ad2ad2f2e01c41b59beb3576389b3f9c000f diff --git a/dev-python/kombu/files/kombu-3.0.26-pymongo-test-fix.patch b/dev-python/kombu/files/kombu-3.0.26-pymongo-test-fix.patch new file mode 100644 index 000000000000..b2e1185b7ca8 --- /dev/null +++ b/dev-python/kombu/files/kombu-3.0.26-pymongo-test-fix.patch @@ -0,0 +1,40 @@ +https://github.com/celery/kombu/commit/8e6aed9fcf978b6c34108c0d37b720bd125f0352 +diff --git a/kombu/tests/transport/test_mongodb.py b/kombu/tests/transport/test_mongodb.py +index b4d10fc..58c92e7 100644 +--- a/kombu/tests/transport/test_mongodb.py ++++ b/kombu/tests/transport/test_mongodb.py +@@ -64,12 +64,12 @@ def test_custom_credentials(self): + + @skip_if_not_module('pymongo') + def test_options(self): +- url = 'mongodb://localhost,localhost2:29017/dbname?safe=true' ++ url = 'mongodb://localhost,localhost2:29017/dbname?tz_aware=true' + c = self._get_connection(url) + + hostname, dbname, options = c.channels[0]._parse_uri() + +- self.assertEqual(options['safe'], True) ++ self.assertEqual(options['tz_aware'], True) + + @skip_if_not_module('pymongo') + def test_real_connections(self): +diff --git a/kombu/transport/mongodb.py b/kombu/transport/mongodb.py +index 9137132..40b00ff 100644 +--- a/kombu/transport/mongodb.py ++++ b/kombu/transport/mongodb.py +@@ -176,9 +176,14 @@ def _parse_uri(self, scheme='mongodb://'): + + return hostname, dbname, options + ++ def _prepare_client_options(self, options): ++ if pymongo.version_tuple >= (3, ): ++ options.pop('auto_start_request', None) ++ + def _open(self, scheme='mongodb://'): + hostname, dbname, options = self._parse_uri(scheme=scheme) + ++ self._prepare_client_options(options) + mongoconn = MongoClient( + host=hostname, ssl=options['ssl'], + auto_start_request=options['auto_start_request'], + diff --git a/dev-python/kombu/files/kombu-NA-tests-fix.patch b/dev-python/kombu/files/kombu-NA-tests-fix.patch new file mode 100644 index 000000000000..a4bcda6e292d --- /dev/null +++ b/dev-python/kombu/files/kombu-NA-tests-fix.patch @@ -0,0 +1,16 @@ +https://github.com/celery/kombu/commit/828ba134105eeb4c6df52cb4441cf90c297b77e3 +Fixes NA bug with amqplib. +diff --git a/kombu/transport/amqplib.py b/kombu/transport/amqplib.py +index feedee7..f57e28c 100644 +--- a/kombu/transport/amqplib.py ++++ b/kombu/transport/amqplib.py +@@ -17,6 +17,9 @@ class SSLError(Exception): # noqa + pass + from struct import unpack + ++class NA(object): ++ pass ++ + try: + from amqplib import client_0_8 as amqp + from amqplib.client_0_8 import transport diff --git a/dev-python/kombu/kombu-2.5.16.ebuild b/dev-python/kombu/kombu-2.5.16.ebuild new file mode 100644 index 000000000000..eb01f2cc0561 --- /dev/null +++ b/dev-python/kombu/kombu-2.5.16.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3} ) + +inherit distutils-r1 + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="amqplib doc examples test" + +RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/py-amqp-1.3.0[${PYTHON_USEDEP}] + <dev-python/py-amqp-2.0[${PYTHON_USEDEP}] + amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/beanstalkc[$(python_gen_usedep python2_7)] + dev-python/couchdb-python[$(python_gen_usedep python2_7)] + >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_compile_all() { + if use doc; then + emake -C docs html || die "kombu docs failed installation" + fi +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/.build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/kombu/kombu-3.0.23.ebuild b/dev-python/kombu/kombu-3.0.23.ebuild new file mode 100644 index 000000000000..b086686f3a73 --- /dev/null +++ b/dev-python/kombu/kombu-3.0.23.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="amqplib doc examples msgpack sqs test" + +PY27_GEN_USEDEP=$(python_gen_usedep python2_7) +RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}] + <dev-python/py-amqp-2.0[${PYTHON_USEDEP}] + dev-python/pyro:4[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4}) + amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] ) + sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] ) + msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.7[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose-cover3[${PYTHON_USEDEP}] + >=dev-python/mock-0.7.0[${PY27_GEN_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/redis-py-2.8.0[${PYTHON_USEDEP}] + >=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/beanstalkc[${PY27_GEN_USEDEP}] + dev-python/couchdb-python[${PY27_GEN_USEDEP}] + >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )" + +# pyyaml is an optional package for tests, so also kazoo and sqlalchemy. +# Refrain for now, no established demand for it form users + +# Req'd for test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +PY27_REQUSE="$(python_gen_useflags 'python2.7')" +REQUIRED_USE="sqs? ( ${PY27_REQUSE} ) + doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable + +PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch ) + +python_prepare_all() { + https://github.com/celery/kombu/issues/246 + sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py + distutils-r1_python_prepare_all +} + +python_compile_all() { + # Doc build must be done by py2.7 + # Doc build misses and skips only content re librabbitmq which is not in portage + if use doc; then + emake -C docs html || die "kombu docs failed installation" + fi +} + +python_test() { + export DJANGO_SETTINGS_MODULE="django.conf" + if python_is_python3; then + 2to3 --no-diffs -w build/lib/kombu/transport/ + nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}" + else + nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}" + # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6. + # https://github.com/celery/kombu/issues/411 + if [[ "${EPYTHON}" == python2.7 ]]; then + pushd funtests > /dev/null + esetup.py test + popd > /dev/null + fi + fi +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/.build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/kombu/kombu-3.0.24.ebuild b/dev-python/kombu/kombu-3.0.24.ebuild new file mode 100644 index 000000000000..16063e821d81 --- /dev/null +++ b/dev-python/kombu/kombu-3.0.24.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="amqplib doc examples msgpack sqs test" + +PY27_GEN_USEDEP=$(python_gen_usedep python2_7) +PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy) +RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}] + <dev-python/py-amqp-2.0[${PYTHON_USEDEP}] + dev-python/pyro:4[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4}) + amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] ) + sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] ) + msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.7[${PYTHON_USEDEP}] + test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose-cover3[${PYTHON_USEDEP}] + >=dev-python/coverage-3.0[${PYTHON_USEDEP}] + >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/redis-py-2.8.0[${PYTHON_USEDEP}] + >=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/beanstalkc[${PY27_GEN_USEDEP}] + dev-python/couchdb-python[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )" + +# kazoo and sqlalchemy are optional packages for tests. +# Refrain for now, no established demand for it from users + +# Req'd for test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +PY27_REQUSE="$(python_gen_useflags 'python2.7')" +REQUIRED_USE="sqs? ( ${PY27_REQUSE} ) + doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable + +PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch ) + +python_prepare_all() { + https://github.com/celery/kombu/issues/246 + sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py + distutils-r1_python_prepare_all +} + +python_compile_all() { + # Doc build must be done by py2.7 + # Doc build misses and skips only content re librabbitmq which is not in portage + if use doc; then + emake -C docs html || die "kombu docs failed installation" + fi +} + +python_test() { + export DJANGO_SETTINGS_MODULE="django.conf" + if python_is_python3; then + 2to3 --no-diffs -w build/lib/kombu/transport/ + nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}" + else + nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}" + # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6. + # https://github.com/celery/kombu/issues/411 + if [[ "${EPYTHON}" == python2.7 ]]; then + pushd funtests > /dev/null + esetup.py test + popd > /dev/null + fi + fi +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/.build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/kombu/kombu-3.0.26.ebuild b/dev-python/kombu/kombu-3.0.26.ebuild new file mode 100644 index 000000000000..0cf37f183a70 --- /dev/null +++ b/dev-python/kombu/kombu-3.0.26.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="amqplib doc examples msgpack sqs test" + +# couchdb backend support possible via dev-python/couchdb-python +# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc +PY27_GEN_USEDEP=$(python_gen_usedep python2_7) +PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy) +RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + >=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}] + <dev-python/py-amqp-2.0[${PYTHON_USEDEP}] + dev-python/pyro:4[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4}) + amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] ) + sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] ) + msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )" +# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2 +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.7[${PYTHON_USEDEP}] + test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose-cover3[${PYTHON_USEDEP}] + >=dev-python/coverage-3.0[${PYTHON_USEDEP}] + >=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}] + >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/beanstalkc[${PY27_GEN_USEDEP}] + dev-python/couchdb-python[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )" + +# kazoo and sqlalchemy are optional packages for tests. +# Refrain for now, no established demand for it from users + +# Req'd for test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +PY27_REQUSE="$(python_gen_useflags 'python2.7')" +REQUIRED_USE="sqs? ( ${PY27_REQUSE} ) + doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only + +PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch \ + "${FILESDIR}"/${P}-pymongo-test-fix.patch ) + +python_prepare_all() { + https://github.com/celery/kombu/issues/246 + sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py + distutils-r1_python_prepare_all +} + +python_compile_all() { + # Doc build must be done by py2.7 + # Doc build misses and skips only content re librabbitmq which is not in portage + if use doc; then + emake -C docs html || die "kombu docs failed installation" + fi +} + +python_test() { + export DJANGO_SETTINGS_MODULE="django.conf" + # https://github.com/celery/kombu/issues/474 + # tests need </pymongo-3.0; known to cause some breakage + if python_is_python3; then + 2to3 --no-diffs -w build/lib/kombu/transport/ + nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}" + else + nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}" + # funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6. + # https://github.com/celery/kombu/issues/411 + # Fix to https://github.com/celery/kombu/issues/474 breaks the + # funtests under >=dev-python/pymongo-3.0.2 +# if [[ "${EPYTHON}" == python2.7 ]]; then +# pushd funtests > /dev/null +# esetup.py test +# popd > /dev/null +# fi + fi +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/.build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/kombu/metadata.xml b/dev-python/kombu/metadata.xml new file mode 100644 index 000000000000..d9cbb330499e --- /dev/null +++ b/dev-python/kombu/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="pypi">kombu</remote-id> + <remote-id type="github">celery/kombu</remote-id> + </upstream> + <use> + <flag name="amqplib">Enable amqplib support</flag> + <flag name="sqs">Enables Amazon SQS transport module for Kombu</flag> + <flag name="msgpack">Enables MessagePack (de)serializer for Python</flag> + </use> +</pkgmetadata> |