* [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/
@ 2015-11-26 22:35 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2015-11-26 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 8c8cc1f2a2b4d2ba0a97feaf9d032e85e41f4f76
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 21:44:54 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 22:33:32 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8cc1f2
distutils-r1.eclass: Use default_src_prepare to apply patches in EAPI 6
eclass/distutils-r1.eclass | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 256c893..f9cff5c 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -312,9 +312,12 @@ _distutils-r1_disable_ez_setup() {
distutils-r1_python_prepare_all() {
debug-print-function ${FUNCNAME} "${@}"
- [[ ${PATCHES} ]] && epatch "${PATCHES[@]}"
-
- epatch_user
+ if [[ ${EAPI} != [45] ]]; then
+ default
+ else
+ [[ ${PATCHES} ]] && epatch "${PATCHES[@]}"
+ epatch_user
+ fi
# by default, use in-source build if python_prepare() is used
if [[ ! ${DISTUTILS_IN_SOURCE_BUILD+1} ]]; then
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-26 22:35 99% [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox