summaryrefslogtreecommitdiff
path: root/dev-python/pymdown-extensions
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-03 09:15:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-03 09:15:22 +0000
commit67e189d2004dc8cbf38078faa7ed4e97053880ef (patch)
treefe9578985514a28a4feab41bbc59cc579b4ce206 /dev-python/pymdown-extensions
parent88f59b55509f0cc5bf860504b6e98737546cd680 (diff)
downloadbaldeagleos-repo-67e189d2004dc8cbf38078faa7ed4e97053880ef.tar.gz
baldeagleos-repo-67e189d2004dc8cbf38078faa7ed4e97053880ef.tar.xz
baldeagleos-repo-67e189d2004dc8cbf38078faa7ed4e97053880ef.zip
Adding metadata
Diffstat (limited to 'dev-python/pymdown-extensions')
-rw-r--r--dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild
index fe0e5f6b113a..a40e9fad2a8a 100644
--- a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild
+++ b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild
@@ -31,16 +31,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
+src_prepare() {
+ # broken on pypy3; unfortunately, the parametrization is based
+ # on indexes and these are pretty random, so we need to remove it
+ # entirely
+ # TODO: restore it when pypy with a fix is in Gentoo
+ # https://github.com/pypy/pypy/issues/4920
+ rm "tests/extensions/superfences/superfences (normal).txt" || die
+ distutils-r1_src_prepare
+}
+python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}