projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9cbcae
)
distutils-r1.eclass: Use default_src_prepare to apply patches in EAPI 6
author
Michał Górny
<mgorny@gentoo.org>
Wed, 18 Nov 2015 21:44:54 +0000
(22:44 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 28 Nov 2015 19:09:06 +0000
(20:09 +0100)
eclass/distutils-r1.eclass
patch
|
blob
|
history
diff --git
a/eclass/distutils-r1.eclass
b/eclass/distutils-r1.eclass
index 256c893f3b170c29479c086a57272572ca9ba534..f9cff5cc35e57930d9a3e799bb167a33d15d1b42 100644
(file)
--- 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