summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-18 22:50:57 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-28 20:09:06 +0100
commitd9cf3242c00219b20eea18297b76e18334b5d9de (patch)
tree7253651fad1bd81858b1d63e8e34e9cc2f27ba71
parentdistutils-r1.eclass: Use default_src_prepare to apply patches in EAPI 6 (diff)
downloadgentoo-d9cf3242c00219b20eea18297b76e18334b5d9de.tar.gz
gentoo-d9cf3242c00219b20eea18297b76e18334b5d9de.tar.bz2
gentoo-d9cf3242c00219b20eea18297b76e18334b5d9de.zip
distutils-r1.eclass: Ban no-op default phase implementations in EAPI 6
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index f9cff5cc35e5..47b09b0c7edf 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -343,7 +343,7 @@ distutils-r1_python_prepare_all() {
distutils-r1_python_prepare() {
debug-print-function ${FUNCNAME} "${@}"
- :
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
}
# @FUNCTION: distutils-r1_python_configure
@@ -352,7 +352,7 @@ distutils-r1_python_prepare() {
distutils-r1_python_configure() {
debug-print-function ${FUNCNAME} "${@}"
- :
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
}
# @FUNCTION: _distutils-r1_create_setup_cfg