diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-16 13:26:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-16 13:26:16 +0200 |
commit | 97cbfd95965229479d58c1b19557189bb93fdf9d (patch) | |
tree | 90ff3b18a8c3e62e08656e4447a2d790e936f8e0 /metadata | |
parent | app-emulation/xen: move patches from FILESDIR to xen-gentoo-patches (diff) | |
download | gentoo-97cbfd95965229479d58c1b19557189bb93fdf9d.tar.gz gentoo-97cbfd95965229479d58c1b19557189bb93fdf9d.tar.bz2 gentoo-97cbfd95965229479d58c1b19557189bb93fdf9d.zip |
install-qa-check.d: Enable 60python-pyc in EAPI 8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/install-qa-check.d/60python-pyc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60python-pyc b/metadata/install-qa-check.d/60python-pyc index fee033042a3a..47e9a3eea908 100644 --- a/metadata/install-qa-check.d/60python-pyc +++ b/metadata/install-qa-check.d/60python-pyc @@ -4,7 +4,9 @@ # QA check: ensure that Python modules are compiled after installing # Maintainer: Python project <python@gentoo.org> -if [[ ${EAPI} == [6-7] ]]; then +# EAPI guard to prevent errors from trying to import python-utils-r1 +# in unsupported EAPIs. Please keep the list in sync with the eclass! +if [[ ${EAPI} == [6-8] ]]; then inherit python-utils-r1 python_pyc_check() { |