diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-06-07 14:34:59 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-06-07 14:34:59 +0200 |
commit | 172f0fbbf621687622ffa0f67a55817470779495 (patch) | |
tree | b0b392b0c2dbcd1e35328b8a65be25c75262abd4 /eclass/python-utils-r1.eclass | |
parent | toolchain.eclass: update Darwin hacks for GCC-12 (diff) | |
download | prefix-172f0fbbf621687622ffa0f67a55817470779495.tar.gz prefix-172f0fbbf621687622ffa0f67a55817470779495.tar.bz2 prefix-172f0fbbf621687622ffa0f67a55817470779495.zip |
eclass: sync with gx86
Closes: https://bugs.gentoo.org/850406
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 48b6ea484b..b9102cd320 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -352,18 +352,6 @@ _python_export() { fi debug-print "${FUNCNAME}: PYTHON = ${PYTHON}" ;; - PYTHON_EPREFIX) - export PYTHON_EPREFIX=${EPREFIX} - if [[ " python jython pypy pypy3 " != *" ${PN} "* ]] \ - && [[ ! -x ${EPREFIX}/usr/bin/${impl} ]] \ - && { has prefix-stack ${USE} || has stacked-prefix ${FEATURES} ;} ; then - # Need to look in build prefix - if [[ -x ${BROOT-${PORTAGE_OVERRIDE_EPREFIX}}/usr/bin/${impl} ]]; then - PYTHON_EPREFIX=${BROOT-${PORTAGE_OVERRIDE_EPREFIX}} - fi - fi - debug-print "${FUNCNAME}: PYTHON_EPREFIX = ${PYTHON_EPREFIX}" - ;; PYTHON_SITEDIR) [[ -n ${PYTHON} ]] || die "PYTHON needs to be set for ${var} to be exported, or requested before it" PYTHON_SITEDIR=$( @@ -1327,6 +1315,9 @@ epytest() { -p no:flake8 -p no:flakes -p no:pylint + # sterilize pytest-markdown as it runs code snippets from all + # *.md files found without any warning + -p no:markdown ) local x for x in "${EPYTEST_DESELECT[@]}"; do |