commit:     e4c7afacb859a364c63492de0a44644bdf864705
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 13 15:10:01 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 15:20:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c7afac

dev-python/kombu: Bump to 5.3.0_beta3

Closes: https://bugs.gentoo.org/896794
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/kombu/Manifest                 |  1 +
 dev-python/kombu/kombu-5.3.0_beta3.ebuild | 93 +++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
index ac09c93dc8b9..7f6c66b735ee 100644
--- a/dev-python/kombu/Manifest
+++ b/dev-python/kombu/Manifest
@@ -1 +1,2 @@
 DIST kombu-5.3.0b2.tar.gz 434341 BLAKE2B 
6d5188f7682ccf2daa6ca4ed0fec7988cd4781954be0fdc847c18e47d5c425a657c3df0f5bda7999c764de293626e119a4645e92ff7bf23328f4fcb9d6f4cd4a
 SHA512 
3000577cc3b2acfb378396640245f2bdf4c9e5e1d45252a27e4e168e22ff4070f480ad1fd70059b24cd710c452924bff1716f69bedcf020446f428f0967de832
+DIST kombu-5.3.0b3.tar.gz 436058 BLAKE2B 
d8470eea43a1d5f862d93e3b3608a3240b25cad6ccb342318a7bebda17e6ce818dce2889cb7af22fd77d2f6e69d1fdfa6926c77ba715c76dd40e973f3d9920dc
 SHA512 
c330e1dd334810ed5fdeea234c49606aa8e43f84006703ff26d900f40ec7ce4920418bef3fd43abc8c792fb750499031191394475c45bfac50f7d29a6e30f5f8

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
+}

Reply via email to