Gentoo Archives: gentoo-commits

From: Krzysztof Pawlik <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/nelchael:master commit in: eclass/
Date: Wed, 29 Feb 2012 17:38:56
Message-Id: 1330536710.c716cba7f7b7f0165d075452a2e4a24f7b8239d0.nelchael@gentoo
commit:     c716cba7f7b7f0165d075452a2e4a24f7b8239d0
Author:     Krzysztof Pawlik <none <AT> none>
AuthorDate: Wed Feb 29 17:31:50 2012 +0000
Commit:     Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org>
CommitDate: Wed Feb 29 17:31:50 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=c716cba7

Remove src_unpack() - it does not do more than default one.

---
 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; }