diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-01 20:11:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-01 21:35:11 +0100 |
commit | 90eb35f2f68667293289a875f5191766091cbc43 (patch) | |
tree | 8992151d81db4fb08780d04533325687affb6418 /dev-python/pymdown-extensions | |
parent | net-libs/libtelnet: Remove broken live ebuild (diff) | |
download | gentoo-90eb35f2f68667293289a875f5191766091cbc43.tar.gz gentoo-90eb35f2f68667293289a875f5191766091cbc43.tar.bz2 gentoo-90eb35f2f68667293289a875f5191766091cbc43.zip |
dev-python/pymdown-extensions: Enable pypy3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pymdown-extensions')
-rw-r--r-- | dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild index e511be06d01e..b625aeccdfcc 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -30,3 +30,17 @@ BDEPEND=" " distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + 'tests/test_syntax.py::test_extensions[compare54]' + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |