diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-13 08:07:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-13 09:20:00 +0100 |
commit | ea403455230255bc2a25cd652d6590df88ecc4b1 (patch) | |
tree | 1eca9d9fb64061d545c32f2e2bc49f48bb8ab8b0 /dev-python/kombu | |
parent | dev-python/dask: Bump to 2024.1.0 (diff) | |
download | gentoo-ea403455230255bc2a25cd652d6590df88ecc4b1.tar.gz gentoo-ea403455230255bc2a25cd652d6590df88ecc4b1.tar.bz2 gentoo-ea403455230255bc2a25cd652d6590df88ecc4b1.zip |
dev-python/kombu: Bump to 5.3.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/kombu')
-rw-r--r-- | dev-python/kombu/Manifest | 1 | ||||
-rw-r--r-- | dev-python/kombu/kombu-5.3.5.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index 589712e43e8f..be0070d17112 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1 +1,2 @@ DIST kombu-5.3.4.tar.gz 437599 BLAKE2B 111f6e36fe7fd0715fd843f234c99144713ed73ad18d4100f1beedf7277ec4690788b115000c722bdd75081bffab0938879e799e2e5356f3a5b58c897222433b SHA512 5f0823a1295c4035076654723beb26c90cfd4708dcc72d09c4b72b4c84c295817e1bc95c6799557a0654b9cbae0f8ea421c340d5b914a5f75aa71de07f5388b4 +DIST kombu-5.3.5.tar.gz 438460 BLAKE2B c59c8b8213f5dc2726a281176f2a034a3ab175523c8aca95ea3f5b502b70de74668ca88925b78800968001573d2e0fffb16aed470880ec5fc5f47e2857170f07 SHA512 58b75b5f62cf116ca68d296c9379c10b1e3c3cb115dffd35416f87ecd4783e5230fe280f7b67f4853798056c39a46a6deefdf058ed4fe3eaa7716fa053874b47 diff --git a/dev-python/kombu/kombu-5.3.5.ebuild b/dev-python/kombu/kombu-5.3.5.ebuild new file mode 100644 index 000000000000..1dc983b25728 --- /dev/null +++ b/dev-python/kombu/kombu-5.3.5.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 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/amqp-5.1.1[${PYTHON_USEDEP}] + <dev-python/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 + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + 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 +} |