summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-22 10:41:57 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-22 11:09:10 +0300
commitc962b489c7351b0c2b63ffee3a06127e844cb0dd (patch)
tree3521a0937f50018662af6d03baa82fb76cd90edb /dev-python/py-amqp
parentnet-misc/miniupnpd: Bump to 2.2.3 (diff)
downloadgentoo-c962b489c7351b0c2b63ffee3a06127e844cb0dd.tar.gz
gentoo-c962b489c7351b0c2b63ffee3a06127e844cb0dd.tar.bz2
gentoo-c962b489c7351b0c2b63ffee3a06127e844cb0dd.zip
dev-python/py-amqp: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/py-amqp')
-rw-r--r--dev-python/py-amqp/py-amqp-5.0.6.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/dev-python/py-amqp/py-amqp-5.0.6.ebuild b/dev-python/py-amqp/py-amqp-5.0.6.ebuild
index 7d0dab216872..82ee3c01e5e4 100644
--- a/dev-python/py-amqp/py-amqp-5.0.6.ebuild
+++ b/dev-python/py-amqp/py-amqp-5.0.6.ebuild
@@ -2,16 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
-MY_PN="amqp"
-MY_P="${MY_PN}-${PV}"
+MY_P="amqp-${PV}"
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
@@ -31,10 +30,10 @@ BDEPEND="
distutils_enable_sphinx docs dev-python/sphinx_celery
distutils_enable_tests pytest
-python_test() {
+EPYTEST_IGNORE=(
# rmq tests require a rabbitmq instance
- epytest --ignore t/integration/test_rmq.py
-}
+ t/integration/test_rmq.py
+)
python_install_all() {
if use extras; then