summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-17 17:45:23 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-17 18:43:30 +0100
commitd36c1431aa9f4ce15848ea3d8ca5b772ea28d45a (patch)
treefbb8c06f6136ce309920b012a1e6ccc20ef38de9 /dev-python/greenstalk
parentdev-python/github3: Port up to py3.9 (diff)
downloadgentoo-d36c1431aa9f4ce15848ea3d8ca5b772ea28d45a.tar.gz
gentoo-d36c1431aa9f4ce15848ea3d8ca5b772ea28d45a.tar.bz2
gentoo-d36c1431aa9f4ce15848ea3d8ca5b772ea28d45a.zip
dev-python/greenstalk: Port up to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/greenstalk')
-rw-r--r--dev-python/greenstalk/greenstalk-1.0.1.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-python/greenstalk/greenstalk-1.0.1.ebuild b/dev-python/greenstalk/greenstalk-1.0.1.ebuild
index 8c32194fcabd..411e09a24d64 100644
--- a/dev-python/greenstalk/greenstalk-1.0.1.ebuild
+++ b/dev-python/greenstalk/greenstalk-1.0.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
DESCRIPTION="A Python 3 client for the beanstalkd work queue"
@@ -13,20 +13,15 @@ SRC_URI="https://github.com/mayhewj/greenstalk/archive/v${PV}.tar.gz -> ${P}.tar
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND="
+BDEPEND="
test? (
app-misc/beanstalkd
- dev-python/pytest[${PYTHON_USEDEP}]
)
"
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
+distutils_enable_tests pytest
python_test() {
- pytest -v tests.py || die
+ pytest -vv tests.py || die
}