Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/kombu/
Date: Wed, 02 Dec 2020 08:58:20
Message-Id: 1606899432.98ef38c3da0261412085ef5e04c9a73282d9813b.mgorny@gentoo
1 commit: 98ef38c3da0261412085ef5e04c9a73282d9813b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 2 08:55:27 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 2 08:57:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ef38c3
7
8 dev-python/kombu: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/kombu/Manifest | 1 -
13 dev-python/kombu/kombu-4.6.8.ebuild | 80 -------------------------------------
14 2 files changed, 81 deletions(-)
15
16 diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
17 index 251e157b5b8..b767a8f4c93 100644
18 --- a/dev-python/kombu/Manifest
19 +++ b/dev-python/kombu/Manifest
20 @@ -1,2 +1 @@
21 -DIST kombu-4.6.8.tar.gz 406196 BLAKE2B 43ddb45e7e6a5bc1aff55867a816ebf7a1afed68bd41d9d74b6179a45d951ac4a4f0f687bbaebd23cf81b67fe2b81d47498b3e25eead0822e16d9acbb436338a SHA512 65b4ebb283ae380388de5d9f8fdc1ec0f41a9910744906b23eb150bc62ecb55ae6d65bb96ad31d8a033f26c2a8dc386939fced393866b6467e77a9760dfa17cc
22 DIST kombu-5.0.1.tar.gz 404428 BLAKE2B 89d4c2daf70c3dcd0a990c8f045074780f2d4f13f39899c0ab3b73b473948469746cf8872aaa8565f5c4b071bf18ff510cd565e8f9b6a3735a0bf1d0af55e9b6 SHA512 aa5d35b7753f5ec8d95512c322fabf0163628b9afbd228faa2be910a1cd4ea3236a7e43485e17650e1aa9aebae59a91a2b0bdc1950e4e4c622b499a4ae29ea0e
23
24 diff --git a/dev-python/kombu/kombu-4.6.8.ebuild b/dev-python/kombu/kombu-4.6.8.ebuild
25 deleted file mode 100644
26 index 3fb47be86b1..00000000000
27 --- a/dev-python/kombu/kombu-4.6.8.ebuild
28 +++ /dev/null
29 @@ -1,80 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -PYTHON_COMPAT=( python3_{6,7} )
35 -
36 -inherit distutils-r1
37 -
38 -DESCRIPTION="AMQP Messaging Framework for Python"
39 -HOMEPAGE="https://pypi.org/project/kombu/ https://github.com/celery/kombu"
40 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="amd64 ~arm64 x86"
45 -IUSE="doc examples mongodb msgpack redis sqs test yaml"
46 -RESTRICT="!test? ( test )"
47 -
48 -# zookeeper backend support possible via dev-python/kazoo
49 -RDEPEND="
50 - >=dev-python/importlib_metadata-0.18[${PYTHON_USEDEP}]
51 - >=dev-python/py-amqp-2.5.2[${PYTHON_USEDEP}]
52 - <dev-python/py-amqp-2.6[${PYTHON_USEDEP}]
53 - >=dev-python/pyro-4.76:4[${PYTHON_USEDEP}]
54 - sqs? ( >=dev-python/boto3-1.4.4[${PYTHON_USEDEP}] )
55 - msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )
56 - mongodb? ( >=dev-python/pymongo-3.3.0[${PYTHON_USEDEP}] )
57 - redis? ( >=dev-python/redis-py-3.3.11[${PYTHON_USEDEP}] )
58 - yaml? ( >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )"
59 -# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
60 -DEPEND="${RDEPEND}
61 - >=dev-python/setuptools-20.6.7[${PYTHON_USEDEP}]
62 - test? (
63 - >=dev-python/case-1.5.2[${PYTHON_USEDEP}]
64 - dev-python/pytest[${PYTHON_USEDEP}]
65 - dev-python/pytz[${PYTHON_USEDEP}]
66 - dev-python/unittest2[${PYTHON_USEDEP}] )
67 - doc? (
68 - dev-python/sphinx[${PYTHON_USEDEP}]
69 - >=dev-python/sphinx_celery-1.1[${PYTHON_USEDEP}] )"
70 -
71 -# kazoo is optional for tests.
72 -# Refrain for now, no established demand for it from users
73 -
74 -# Req'd for test phase
75 -DISTUTILS_IN_SOURCE_BUILD=1
76 -
77 -PATCHES=(
78 -)
79 -
80 -python_prepare_all() {
81 - # AttributeError: test_Etcd instance has no attribute 'patch'
82 - rm t/unit/transport/test_etcd.py || die
83 - # allow use of new (renamed) msgpack
84 - sed -i '/msgpack/d' requirements/extras/msgpack.txt || die
85 - # pytest-sugar is not packaged
86 - sed -i '/pytest-sugar/d' requirements/test.txt || die
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_compile_all() {
91 - # Doc build misses and skips only content re librabbitmq which is not in portage
92 - if use doc; then
93 - emake -C docs html
94 - fi
95 -}
96 -
97 -python_test() {
98 - esetup.py test
99 -}
100 -
101 -python_install_all() {
102 - if use examples; then
103 - docompress -x "/usr/share/doc/${PF}/examples"
104 - docinto examples
105 - dodoc -r examples/.
106 - fi
107 - use doc && local HTML_DOCS=( docs/_build/html/. )
108 - distutils-r1_python_install_all
109 -}