diff options
-rw-r--r-- | eclass/python-distutils-ng.eclass | 15 |
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; } |