commit: 24baedea35d0b82d84a39d61072ecfdc96744796 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 20 04:35:15 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 20 04:35:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24baedea
dev-python/kombu: Bump to 5.5.0_rc3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/kombu/Manifest | 1 + dev-python/kombu/kombu-5.5.0_rc3.ebuild | 96 +++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index 6308df7e0dc1..4253b1c176e6 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1,2 +1,3 @@ DIST kombu-5.4.2.tar.gz 442858 BLAKE2B a613f3a5656c87826345d7e96b4ccf15336afdcd79a77db04140628f8522cb6f348fa31d3ccba66b6d01c423971ae013f157a812e12662bf4639fd4f4dbfc750 SHA512 4224412b8d3ee867af03a1771326681f78d112f31ab7ecd7c0f648bd28e834b296c1b36b7720351ec8e0ba871153caaa6aa06961394c5a9e99cd68291ad20b9b DIST kombu-5.5.0rc2.tar.gz 458112 BLAKE2B 66ad4b8a6230c3fa8b3f85851c767c28e24006f5cb4501e5fc5099b1530db71dfb5eb935ac206665af8d93d46ac3043b1d106bb72a27cc187e76f41b6717f409 SHA512 b0666033a21fab11994508327e727cc3800fb4515844afedb266866cb1805d6692ba1b39daa5d552afbb08ec9f15d1153d3df1a3364bcdd4802849bfb7592bdd +DIST kombu-5.5.0rc3.tar.gz 459611 BLAKE2B c4d54ac68e2e776f0045d839b7a16142a9d2bb0ec24b3d8f26f7297f6d083129683ba879acb894b019a40eb0e41fd5d5cf2ae3bc8400d164d42c1f78b5daed53 SHA512 b91bd5e1409787736817182adfde88a87505616b46560ca769fb1abc210913943666b5588cb888d8990acd82c9315e551ea0d3d6ede7b78a1a02b2d003f9599b diff --git a/dev-python/kombu/kombu-5.5.0_rc3.ebuild b/dev-python/kombu/kombu-5.5.0_rc3.ebuild new file mode 100644 index 000000000000..af319167e953 --- /dev/null +++ b/dev-python/kombu/kombu-5.5.0_rc3.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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/tzdata[${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-freezer[${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 + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps (notably tzdata, sigh) + > requirements/default.txt || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + t/unit/transport/test_redis.py::test_Channel::test_connparams_health_check_interval_supported + t/unit/transport/test_redis.py::test_Channel::test_global_keyprefix_transaction + # bad filename assumption? + t/unit/asynchronous/aws/test_connection.py::test_AsyncHTTPSConnection::test_request_with_cert_path_https + ) + local EPYTEST_IGNORE=( + # obsolete Pyro4 + t/unit/transport/test_pyro.py + # unpackaged azure + t/unit/transport/test_azurestoragequeues.py + # unpackage google-cloud + t/unit/transport/test_gcpubsub.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 +}