public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/kombu/
Date: Sun, 22 Aug 2021 07:05:05 +0000 (UTC)	[thread overview]
Message-ID: <1629615588.fd644f5d0dfeb2f72852a0bc1ba39d22fc8b7a94.arthurzam@gentoo> (raw)

commit:     fd644f5d0dfeb2f72852a0bc1ba39d22fc8b7a94
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 22 06:47:32 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 22 06:59:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd644f5d

dev-python/kombu: add 5.1.0, major cleanup

- enable py3.9
- Move from USE flags to optfeature and test dep
- use distutils_enable_sphinx
- use distutils_enable_tests
- disable problematic tests depending on unpackaged modules
- add more optional backends

Closes: https://bugs.gentoo.org/800659
Closes: https://bugs.gentoo.org/805197
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/kombu/Manifest           |  1 +
 dev-python/kombu/kombu-5.1.0.ebuild | 77 +++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
index b767a8f4c93..d69a3bfeb53 100644
--- a/dev-python/kombu/Manifest
+++ b/dev-python/kombu/Manifest
@@ -1 +1,2 @@
 DIST kombu-5.0.1.tar.gz 404428 BLAKE2B 89d4c2daf70c3dcd0a990c8f045074780f2d4f13f39899c0ab3b73b473948469746cf8872aaa8565f5c4b071bf18ff510cd565e8f9b6a3735a0bf1d0af55e9b6 SHA512 aa5d35b7753f5ec8d95512c322fabf0163628b9afbd228faa2be910a1cd4ea3236a7e43485e17650e1aa9aebae59a91a2b0bdc1950e4e4c622b499a4ae29ea0e
+DIST kombu-5.1.0.tar.gz 416353 BLAKE2B 2c26aac0a8eda62475e2a9a859b2548046dfce0699a8dafce3cc6471ee3b82f82882a53903a86f69cf16f948e4d0e66f379479f7f1f46aca2bcbdd031ba87811 SHA512 62ef16e8e3fb592882b8060f29b95e7224ba635132ed688eece0c2d254e7f7fb525c778cac23f15495464c6dbcf84d7a1372fde6f55fcfe66677cf43d3e9d4de

diff --git a/dev-python/kombu/kombu-5.1.0.ebuild b/dev-python/kombu/kombu-5.1.0.ebuild
new file mode 100644
index 00000000000..5d90881cb0c
--- /dev/null
+++ b/dev-python/kombu/kombu-5.1.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="AMQP Messaging Framework for Python"
+HOMEPAGE="https://pypi.org/project/kombu/ https://github.com/celery/kombu"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+	>=dev-python/py-amqp-5.0.6[${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.4.4[${PYTHON_USEDEP}]
+		>=dev-python/case-1.5.2[${PYTHON_USEDEP}]
+		dev-python/kazoo[${PYTHON_USEDEP}]
+		>=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}]
+		dev-python/pycurl[${PYTHON_USEDEP}]
+		>=dev-python/pymongo-3.3.0[${PYTHON_USEDEP}]
+		dev-python/pyro:4[${PYTHON_USEDEP}]
+		dev-python/pytz[${PYTHON_USEDEP}]
+		>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
+		>=dev-python/redis-py-3.3.11[${PYTHON_USEDEP}]
+		dev-python/sqlalchemy[${PYTHON_USEDEP}]
+		dev-python/zstandard[${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_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 "Pyro 4 backend" dev-python/pyro:4
+	optfeature "Redis backend" dev-python/redis-py
+	optfeature "sqlalchemy backend" dev-python/sqlalchemy
+	optfeature "yaml backend" dev-python/pyyaml
+	optfeature "Zookeeper backend" dev-python/kazoo
+	optfeature "MessagePack (de)serializer for Python" dev-python/msgpack
+	optfeature "brotli compression" "app-arch/brotli[python]"
+	optfeature "zstd compression" dev-python/zstandard
+}


             reply	other threads:[~2021-08-22  7:05 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22  7:05 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30  3:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/kombu/ Michał Górny
2024-10-15  7:00 Michał Górny
2024-10-15  7:00 Michał Górny
2024-09-20  5:12 Michał Górny
2024-09-20  5:12 Michał Górny
2024-09-11 18:39 Michał Górny
2024-08-07 14:10 Michał Górny
2024-06-20 15:20 Michał Górny
2024-06-20 15:20 Michał Górny
2024-04-14 15:28 Michał Górny
2024-04-12  3:35 Michał Górny
2024-04-12  3:35 Michał Górny
2024-03-28  5:55 Michał Górny
2024-01-13  8:20 Michał Górny
2023-12-30 18:30 Michał Górny
2023-11-17  7:57 Michał Górny
2023-11-13 18:49 Michał Górny
2023-11-06  6:22 Michał Górny
2023-08-31 13:22 Michał Górny
2023-07-24 11:32 Michał Górny
2023-06-16  4:05 Michał Górny
2023-06-16  4:05 Michał Górny
2023-06-04  5:44 Michał Górny
2023-04-13 15:30 Michał Górny
2023-04-13 15:20 Michał Górny
2023-02-21  7:41 Michał Górny
2023-01-10 14:42 Michał Górny
2022-10-23 18:57 Arthur Zamarin
2022-10-17  5:28 Michał Górny
2022-10-08  9:38 Michał Górny
2022-10-08  9:36 Michał Górny
2022-05-16 13:20 Michał Górny
2022-03-15 22:17 Michał Górny
2022-01-13  1:04 Louis Sautier
2021-12-29  6:10 Arthur Zamarin
2021-11-14  8:46 Michał Górny
2021-11-08  8:31 Michał Górny
2021-11-02 22:59 Michał Górny
2021-09-11 16:28 Michał Górny
2021-07-05 13:25 Michał Górny
2020-12-02  8:58 Michał Górny
2020-12-02  8:32 Mikle Kolyada
2020-11-25 10:11 Michał Górny
2020-10-17 21:53 Matthew Thode
2020-05-30 17:52 Matthew Thode
2020-05-16 21:21 Matthew Thode
2020-03-27 21:06 Michał Górny
2020-02-02 15:34 Michał Górny
2019-11-19 18:36 Matthew Thode
2019-10-31 21:29 Matthew Thode
2019-06-30 21:57 Zac Medico
2019-05-11 18:17 Matthew Thode
2019-04-09  7:05 Matthew Thode
2018-09-28 20:33 Matt Thode
2018-09-04  2:04 Matt Thode
2018-09-01  5:30 Matt Thode
2018-03-09 17:59 Matt Thode
2018-02-13 20:21 Matt Thode
2017-08-27  8:21 Matt Thode
2017-08-27  4:26 Matt Thode
2017-02-12 15:44 Agostino Sarubbo
2017-02-04 15:21 Agostino Sarubbo
2017-01-20  9:43 Zac Medico
2016-10-29 23:15 Mike Gilbert
2016-10-29 23:15 Mike Gilbert
2016-10-12 21:39 Zac Medico
2016-08-06 16:51 Michał Górny
2016-03-25  4:37 Matt Thode
2016-03-19 13:36 Manuel Rüger
2016-02-28  6:43 Matt Thode
2016-01-10  8:23 Justin Lecher
2015-12-17 16:28 Justin Lecher
2015-12-11  6:34 Ian Delaney
2015-12-11  6:34 Ian Delaney
2015-12-09 19:07 Michał Górny
2015-12-07  9:11 Justin Lecher
2015-10-27  9:04 Justin Lecher
2015-10-19 16:29 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629615588.fd644f5d0dfeb2f72852a0bc1ba39d22fc8b7a94.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox