Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 23 Jun 2021 21:44:39
Message-Id: 1624484665.b570503e02159f2eb857874eadcff75427a0b2d5.mgorny@gentoo
1 commit: b570503e02159f2eb857874eadcff75427a0b2d5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 20 09:30:09 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 23 21:44:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b570503e
7
8 distutils-r1.eclass: Ban dift --via-home in EAPI 8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/distutils-r1.eclass | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
16 index 1446d2cda74..e74a6800717 100644
17 --- a/eclass/distutils-r1.eclass
18 +++ b/eclass/distutils-r1.eclass
19 @@ -532,6 +532,7 @@ distutils_install_for_testing() {
20 local install_method=root
21 case ${1} in
22 --via-home)
23 + [[ ${EAPI} == [67] ]] || die "${*} is banned in EAPI ${EAPI}"
24 install_method=home
25 shift
26 ;;