summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-04 19:48:03 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-09 09:43:52 +0100
commit1f2b04df57902db5f38d248a0601236492681b99 (patch)
tree0729ea310ef6db9f96e81753adf578e1b7c4b5b3 /eclass/python-single-r1.eclass
parentpython-utils-r1.eclass: Remove python_is_python3 (diff)
downloadgentoo-1f2b04df57902db5f38d248a0601236492681b99.tar.gz
gentoo-1f2b04df57902db5f38d248a0601236492681b99.tar.bz2
gentoo-1f2b04df57902db5f38d248a0601236492681b99.zip
python-single-r1.eclass: Remove PYTHON_MULTI_USEDEP
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r--eclass/python-single-r1.eclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index 73afcdc3ed6c..0e9a16a47d0e 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.eclass
@@ -341,14 +341,7 @@ python_gen_cond_dep() {
local single_usedep="python_single_target_${impl}(-)"
local multi_usedep="python_targets_${impl}(-)"
- if [[ ${EAPI} != [67] ]]; then
- if [[ ${dep} == *\$\{PYTHON_MULTI_USEDEP\}* ]]; then
- die "Replace PYTHON_MULTI_USEDEP with PYTHON_USEDEP in EAPI ${EAPI}"
- fi
- fi
-
local subdep=${dep//\$\{PYTHON_SINGLE_USEDEP\}/${single_usedep}}
- subdep=${subdep//\$\{PYTHON_MULTI_USEDEP\}/${multi_usedep}}
matches+=( "python_single_target_${impl}? (
${subdep//\$\{PYTHON_USEDEP\}/${multi_usedep}} )" )
fi