summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <none@none>2012-02-29 18:31:50 +0100
committerKrzysztof Pawlik <none@none>2012-02-29 18:31:50 +0100
commitc716cba7f7b7f0165d075452a2e4a24f7b8239d0 (patch)
tree37ec1b7ffb26e165fae145b015e2d911196b420e
parentChange USE_PYTHON to PYTHON_COMPAT. (diff)
downloadnelchael-c716cba7f7b7f0165d075452a2e4a24f7b8239d0.tar.gz
nelchael-c716cba7f7b7f0165d075452a2e4a24f7b8239d0.tar.bz2
nelchael-c716cba7f7b7f0165d075452a2e4a24f7b8239d0.zip
Remove src_unpack() - it does not do more than default one.
-rw-r--r--eclass/python-distutils-ng.eclass15
1 files changed, 1 insertions, 14 deletions
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index 98e5721..0b9f005 100644
--- a/eclass/python-distutils-ng.eclass
+++ b/eclass/python-distutils-ng.eclass
@@ -39,7 +39,7 @@ fi
# Set the value to "yes" to skip compilation and/or optimization of Python
# modules.
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install
+EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
case "${EAPI}" in
0|1|2|3)
@@ -261,19 +261,6 @@ python-distutils-ng_newscript() {
dosym "${destination_file}-${default_impl}" "/usr/bin/${destination_file}"
}
-# Phase function: src_unpack
-python-distutils-ng_src_unpack() {
- [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
-
- if type python_unpack &> /dev/null; then
- # This should not run anything specific to any single Python
- # implementation, keep it generic:
- python_unpack_all
- else
- [[ -n ${A} ]] && unpack ${A}
- fi
-}
-
# Phase function: src_prepare
python-distutils-ng_src_prepare() {
[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }