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: Sat, 28 Nov 2015 19:10:11
Message-Id: 1448737746.5b5467e4795a1a1d9cc2ed2e83802621caada549.mgorny@gentoo
1 commit: 5b5467e4795a1a1d9cc2ed2e83802621caada549
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 18 21:27:52 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 19:09:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5467e4
7
8 python-r1.eclass: Ban python_export_best in EAPI 6
9
10 eclass/python-r1.eclass | 2 ++
11 1 file changed, 2 insertions(+)
12
13 diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
14 index 1531442..de83bb5 100644
15 --- a/eclass/python-r1.eclass
16 +++ b/eclass/python-r1.eclass
17 @@ -603,6 +603,8 @@ python_setup() {
18 python_export_best() {
19 debug-print-function ${FUNCNAME} "${@}"
20
21 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}"
22 +
23 eqawarn "python_export_best() is deprecated. Please use python_setup instead,"
24 eqawarn "combined with python_export if necessary."