summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-20 11:30:09 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-23 23:44:25 +0200
commitb570503e02159f2eb857874eadcff75427a0b2d5 (patch)
treec9e7164ed48ba04758f1d3106d80fd73054aa6d4 /eclass/distutils-r1.eclass
parentdistutils-r1.eclass: Require >=pyproject2setuppy-15 (diff)
downloadgentoo-b570503e02159f2eb857874eadcff75427a0b2d5.tar.gz
gentoo-b570503e02159f2eb857874eadcff75427a0b2d5.tar.bz2
gentoo-b570503e02159f2eb857874eadcff75427a0b2d5.zip
distutils-r1.eclass: Ban dift --via-home in EAPI 8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 1446d2cda749..e74a68007179 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -532,6 +532,7 @@ distutils_install_for_testing() {
local install_method=root
case ${1} in
--via-home)
+ [[ ${EAPI} == [67] ]] || die "${*} is banned in EAPI ${EAPI}"
install_method=home
shift
;;