Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Remove QA-warning for DISTUTILS_NO_PARALLEL_BUILD
Date: Sat, 20 May 2017 13:03:44
Message-Id: 20170520130238.27222-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] python-r1.eclass: Remove deprecated python_parallel_foreach_impl by "Michał Górny"
1 The variable was deprecated and the warning put in place in Dec 2014. It
2 is no longer used in any ebuild in ::gentoo.
3 ---
4 eclass/distutils-r1.eclass | 9 ---------
5 1 file changed, 9 deletions(-)
6
7 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
8 index 6078fb6d52b7..e79f86bab12d 100644
9 --- a/eclass/distutils-r1.eclass
10 +++ b/eclass/distutils-r1.eclass
11 @@ -696,15 +696,6 @@ _distutils-r1_run_common_phase() {
12 _distutils-r1_run_foreach_impl() {
13 debug-print-function ${FUNCNAME} "${@}"
14
15 - if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
16 - [[ ${EAPI} == [45] ]] || die "DISTUTILS_NO_PARALLEL_BUILD is banned in EAPI ${EAPI}"
17 -
18 - eqawarn "DISTUTILS_NO_PARALLEL_BUILD is no longer meaningful. Now all builds"
19 - eqawarn "are non-parallel. Please remove it from the ebuild."
20 -
21 - unset DISTUTILS_NO_PARALLEL_BUILD # avoid repeated warnings
22 - fi
23 -
24 # store for restoring after distutils-r1_run_phase.
25 local _DISTUTILS_INITIAL_CWD=${PWD}
26 set -- distutils-r1_run_phase "${@}"
27 --
28 2.13.0