diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 17:43:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 17:43:46 +0100 |
commit | b43fb9ec552fc1a84599161478d77c6716dd9e0a (patch) | |
tree | 46c69cb0cebbe89f4a2a649dda79dba26803adea /dev-python/kombu/kombu-5.3.0_beta3.ebuild | |
parent | 128025db16ea525715d1f5170c635c4f42ce4881 (diff) |
gentoo auto-resync : 13:04:2023 - 17:43:46
Diffstat (limited to 'dev-python/kombu/kombu-5.3.0_beta3.ebuild')
-rw-r--r-- | dev-python/kombu/kombu-5.3.0_beta3.ebuild | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/dev-python/kombu/kombu-5.3.0_beta3.ebuild b/dev-python/kombu/kombu-5.3.0_beta3.ebuild new file mode 100644 index 000000000000..e6b664fac46d --- /dev/null +++ b/dev-python/kombu/kombu-5.3.0_beta3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE=" + https://github.com/celery/kombu/ + https://pypi.org/project/kombu/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/py-amqp-5.1.1[${PYTHON_USEDEP}] + <dev-python/py-amqp-6.0.0[${PYTHON_USEDEP}] + dev-python/vine[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + >=dev-python/boto3-1.22.2[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.1.1[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=dev-python/redis-4.2.2[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_celery + +EPYTEST_IGNORE=( + # Unpackaged azure-servicebus + t/unit/transport/test_azureservicebus.py + # Unpackaged librabbitmq + t/unit/transport/test_librabbitmq.py + # Unpackaged python-consul + t/unit/transport/test_consul.py + # AttributeError: test_Etcd instance has no attribute 'patch' + t/unit/transport/test_etcd.py +) + +python_test() { + local EPYTEST_DESELECT=( + # TODO + t/unit/transport/test_redis.py::test_Channel::test_connparams_health_check_interval_supported + ) + local EPYTEST_IGNORE=( + # obsolete Pyro4 + t/unit/transport/test_pyro.py + # unpackaged azure + t/unit/transport/test_azurestoragequeues.py + ) + + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Amazon SQS backend" "dev-python/boto3 dev-python/pycurl" + optfeature "Etcd backend" dev-python/python-etcd + optfeature "MongoDB backend" dev-python/pymongo + optfeature "Redis backend" dev-python/redis + optfeature "sqlalchemy backend" dev-python/sqlalchemy + optfeature "yaml backend" dev-python/pyyaml + optfeature "MessagePack (de)serializer for Python" dev-python/msgpack + optfeature "brotli compression" "app-arch/brotli[python]" + optfeature "zstd compression" dev-python/zstandard +} |