summaryrefslogtreecommitdiff
path: root/dev-python/dissononce
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/dissononce')
-rw-r--r--dev-python/dissononce/dissononce-0.34.3-r1.ebuild (renamed from dev-python/dissononce/dissononce-0.34.3.ebuild)16
1 files changed, 3 insertions, 13 deletions
diff --git a/dev-python/dissononce/dissononce-0.34.3.ebuild b/dev-python/dissononce/dissononce-0.34.3-r1.ebuild
index 3df651aa70e6..40e73b1dacfc 100644
--- a/dev-python/dissononce/dissononce-0.34.3.ebuild
+++ b/dev-python/dissononce/dissononce-0.34.3-r1.ebuild
@@ -3,6 +3,7 @@
EAPI=7
+DISTUTILS_USE_SETUPTOOLS="bdepend"
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
inherit distutils-r1
@@ -16,27 +17,16 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
-# Currently no tests are available,
-# they will be added in future by upstream.
-RESTRICT="test"
-
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/transitions[${PYTHON_USEDEP}]
"
-DEPEND="
- ${RDEPEND}
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
-
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-fix-test-requirements.patch" )
-python_test() {
- esetup.py test
-}
+distutils_enable_tests pytest
src_install() {
distutils-r1_src_install