aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-26 09:57:42 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-26 09:57:42 +0100
commit5e4f88c4d75c18ee094dc52b80fd96eaede19c9e (patch)
tree19024eac140adaf729ec280b8f5eeedccea38c71
parentdev-python/fontFeatures: add youseedee dependency (diff)
downloadguru-5e4f88c4d75c18ee094dc52b80fd96eaede19c9e.tar.gz
guru-5e4f88c4d75c18ee094dc52b80fd96eaede19c9e.tar.bz2
guru-5e4f88c4d75c18ee094dc52b80fd96eaede19c9e.zip
dev-python/python_jwt: custom test runner
Closes: https://bugs.gentoo.org/836148 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r--dev-python/python_jwt/python_jwt-3.3.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/python_jwt/python_jwt-3.3.2.ebuild b/dev-python/python_jwt/python_jwt-3.3.2.ebuild
index d9d91aaa4..cb4ecb79a 100644
--- a/dev-python/python_jwt/python_jwt-3.3.2.ebuild
+++ b/dev-python/python_jwt/python_jwt-3.3.2.ebuild
@@ -20,6 +20,7 @@ S="${WORKDIR}/${MYPN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
@@ -31,4 +32,8 @@ BDEPEND="
)
"
-distutils_enable_tests pytest
+RESTRICT="!test? ( test )"
+
+python_test() {
+ "${EPYTHON}" test/run/run_pyvows.py -v test || die
+}