1 |
commit: c962b489c7351b0c2b63ffee3a06127e844cb0dd |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 22 07:41:57 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 22 08:09:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c962b489 |
7 |
|
8 |
dev-python/py-amqp: enable py3.10 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/py-amqp/py-amqp-5.0.6.ebuild | 13 ++++++------- |
13 |
1 file changed, 6 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/py-amqp/py-amqp-5.0.6.ebuild b/dev-python/py-amqp/py-amqp-5.0.6.ebuild |
16 |
index 7d0dab21687..82ee3c01e5e 100644 |
17 |
--- a/dev-python/py-amqp/py-amqp-5.0.6.ebuild |
18 |
+++ b/dev-python/py-amqp/py-amqp-5.0.6.ebuild |
19 |
@@ -2,16 +2,15 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
|
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
inherit distutils-r1 |
27 |
|
28 |
-MY_PN="amqp" |
29 |
-MY_P="${MY_PN}-${PV}" |
30 |
+MY_P="amqp-${PV}" |
31 |
|
32 |
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" |
33 |
HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" |
34 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
35 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" |
36 |
S="${WORKDIR}/${MY_P}" |
37 |
|
38 |
LICENSE="BSD" |
39 |
@@ -31,10 +30,10 @@ BDEPEND=" |
40 |
distutils_enable_sphinx docs dev-python/sphinx_celery |
41 |
distutils_enable_tests pytest |
42 |
|
43 |
-python_test() { |
44 |
+EPYTEST_IGNORE=( |
45 |
# rmq tests require a rabbitmq instance |
46 |
- epytest --ignore t/integration/test_rmq.py |
47 |
-} |
48 |
+ t/integration/test_rmq.py |
49 |
+) |
50 |
|
51 |
python_install_all() { |
52 |
if use extras; then |