diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:05 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:05 +0100 |
commit | d58e66fb6099252d90e7a0798a2766a9d1b555f9 (patch) | |
tree | c1e54b3f7e972b109ca02f19726671041c79a8ce /eclass/scons-utils.eclass | |
parent | postgres-multi.eclass: drop EAPI 5, 6 support (diff) | |
download | gentoo-d58e66fb6099252d90e7a0798a2766a9d1b555f9.tar.gz gentoo-d58e66fb6099252d90e7a0798a2766a9d1b555f9.tar.bz2 gentoo-d58e66fb6099252d90e7a0798a2766a9d1b555f9.zip |
python-any-r1.eclass: drop EAPI 6 support
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/scons-utils.eclass')
-rw-r--r-- | eclass/scons-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index acb51300f348..9fc048cadcd5 100644 --- a/eclass/scons-utils.eclass +++ b/eclass/scons-utils.eclass @@ -95,7 +95,7 @@ inherit multiprocessing SCONS_DEPEND=">=dev-util/scons-${SCONS_MIN_VERSION}" -if [[ ${_PYTHON_ANY_R1} ]]; then +if [[ ${_PYTHON_ANY_R1_ECLASS} ]]; then # when using python-any-r1, use any-of dep API BDEPEND="$(python_gen_any_dep "${SCONS_DEPEND}[\${PYTHON_USEDEP}]")" @@ -137,7 +137,7 @@ escons() { if [[ ! ${EPYTHON} ]]; then eerror "EPYTHON is unset while calling escons. This most likely means that" eerror "the ebuild did not call the appropriate eclass function before calling scons." - if [[ ${_PYTHON_ANY_R1} ]]; then + if [[ ${_PYTHON_ANY_R1_ECLASS} ]]; then eerror "Please ensure that python-any-r1_pkg_setup is called in pkg_setup()." elif [[ ${_PYTHON_SINGLE_R1} ]]; then eerror "Please ensure that python-single-r1_pkg_setup is called in pkg_setup()." |