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/py-amqp/
Date: Sat, 11 Sep 2021 16:28:17
Message-Id: 1631377672.4e612f6beb5ab8c37e94129692486d7c3ddc5958.mgorny@gentoo
1 commit: 4e612f6beb5ab8c37e94129692486d7c3ddc5958
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 11 16:24:24 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 16:27:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e612f6b
7
8 dev-python/py-amqp: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/py-amqp/Manifest | 1 -
13 dev-python/py-amqp/py-amqp-2.6.1.ebuild | 67 ---------------------------------
14 2 files changed, 68 deletions(-)
15
16 diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest
17 index 8ba7a442e11..9c1aaa0f6cc 100644
18 --- a/dev-python/py-amqp/Manifest
19 +++ b/dev-python/py-amqp/Manifest
20 @@ -1,2 +1 @@
21 -DIST amqp-2.6.1.tar.gz 119956 BLAKE2B a575637ca3d39ef8577035ae156f09b87dfb053757cb78b058fcb4f23759707084297e12941c766783e99898c486ea8eca968842464223ea46f42a4e4495c0a4 SHA512 e2c628cfe8075a3014a9fe991ae3e6f49198db2ecd46dd48f980730da692e4d25d9f055b1ccd4743917fc38a8afa69a5902a64275f8f45ef68113c6756f3a17b
22 DIST amqp-5.0.6.tar.gz 126856 BLAKE2B 3eae4d0f97477dc7b72eba65ee95ab74afa051bf2d745f86944c4236b4a90ff6c2a38f18a5bdc8441215f4607ed4e8eb867144695619eb08e0f1065e7a624415 SHA512 bf15fad413bedb2f57dfaa03986f4abfc8fb169d5e324d5741b94a1e3776f2590e7686774c69dfdda848b484dbc1e6d0fa78a4a3125cf08ab20eaf7192885252
23
24 diff --git a/dev-python/py-amqp/py-amqp-2.6.1.ebuild b/dev-python/py-amqp/py-amqp-2.6.1.ebuild
25 deleted file mode 100644
26 index 1a2d585c4ba..00000000000
27 --- a/dev-python/py-amqp/py-amqp-2.6.1.ebuild
28 +++ /dev/null
29 @@ -1,67 +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_{7,8} )
35 -DISTUTILS_USE_SETUPTOOLS=bdepend
36 -
37 -inherit distutils-r1
38 -
39 -MY_PN="amqp"
40 -MY_P="${MY_PN}-${PV}"
41 -
42 -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
43 -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/"
44 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
45 -
46 -S="${WORKDIR}/${MY_P}"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm64 x86"
51 -IUSE="doc extras test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND=""
55 -DEPEND="
56 - >=dev-python/vine-1.1.3[${PYTHON_USEDEP}]
57 - doc? (
58 - dev-python/sphinx[${PYTHON_USEDEP}]
59 - dev-python/sphinx_celery[${PYTHON_USEDEP}]
60 - )
61 - test? (
62 - >=dev-python/case-1.3.1[${PYTHON_USEDEP}]
63 - >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
64 - <=dev-python/pytest-5.3.5[${PYTHON_USEDEP}]
65 - dev-python/pytest-cov[${PYTHON_USEDEP}]
66 - dev-python/pytest-mock[${PYTHON_USEDEP}]
67 - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}]
68 - )
69 -"
70 -
71 -python_prepare_all() {
72 - # pytest-sugar is not packaged
73 - sed -e '/pytest-sugar/d' -i requirements/test.txt || die
74 -
75 - # requires a rabbitmq instance
76 - rm t/integration/test_rmq.py || die
77 -
78 - distutils-r1_python_prepare_all
79 -}
80 -
81 -python_compile_all() {
82 - use doc && emake -C docs html
83 -}
84 -
85 -python_test() {
86 - esetup.py test
87 -}
88 -
89 -python_install_all() {
90 - use doc && local HTML_DOCS=( docs/_build/html/. )
91 - if use extras; then
92 - insinto /usr/share/${PF}/extras
93 - doins -r extra
94 - fi
95 - distutils-r1_python_install_all
96 -}