dev-python/python_jwt: custom test runner

Closes: https://bugs.gentoo.org/836148
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-26 09:57:42 +01:00
parent a2bdf82d3b
commit 5e4f88c4d7

View File

@@ -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
}