summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-23 15:28:04 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-23 15:41:09 +0200
commitdf24bfcdae199a2fd8b3944754693137c0eb8b5e (patch)
treefc616829b7cee265045e26b579fcc88ba1e766c8 /dev-python/txAMQP
parentdev-python/jsonpatch: Enable py3.10 (diff)
downloadgentoo-df24bfcdae199a2fd8b3944754693137c0eb8b5e.tar.gz
gentoo-df24bfcdae199a2fd8b3944754693137c0eb8b5e.tar.bz2
gentoo-df24bfcdae199a2fd8b3944754693137c0eb8b5e.zip
dev-python/txAMQP: Enable py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/txAMQP')
-rw-r--r--dev-python/txAMQP/txAMQP-0.8.2.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/txAMQP/txAMQP-0.8.2.ebuild b/dev-python/txAMQP/txAMQP-0.8.2.ebuild
index a68485a6339a..31f1d27c9d08 100644
--- a/dev-python/txAMQP/txAMQP-0.8.2.ebuild
+++ b/dev-python/txAMQP/txAMQP-0.8.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE="xml(+)"
inherit distutils-r1
@@ -14,6 +14,7 @@ HOMEPAGE="https://github.com/txamqp/txamqp"
# pypi tarball misses doc files
# https://github.com/txamqp/txamqp/pull/10
SRC_URI="https://github.com/txamqp/txamqp/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~x64-solaris"
@@ -24,14 +25,12 @@ RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
test? (
${RDEPEND}
net-misc/rabbitmq-server
)"
-S=${WORKDIR}/${MY_P}
-
# Tests connect to the system rabbitmq server
# TODO: figure out how to start an isolated instance
RESTRICT="test"