1 |
commit: c716cba7f7b7f0165d075452a2e4a24f7b8239d0 |
2 |
Author: Krzysztof Pawlik <none <AT> none> |
3 |
AuthorDate: Wed Feb 29 17:31:50 2012 +0000 |
4 |
Commit: Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 29 17:31:50 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=c716cba7 |
7 |
|
8 |
Remove src_unpack() - it does not do more than default one. |
9 |
|
10 |
--- |
11 |
eclass/python-distutils-ng.eclass | 15 +-------------- |
12 |
1 files changed, 1 insertions(+), 14 deletions(-) |
13 |
|
14 |
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass |
15 |
index 98e5721..0b9f005 100644 |
16 |
--- a/eclass/python-distutils-ng.eclass |
17 |
+++ b/eclass/python-distutils-ng.eclass |
18 |
@@ -39,7 +39,7 @@ fi |
19 |
# Set the value to "yes" to skip compilation and/or optimization of Python |
20 |
# modules. |
21 |
|
22 |
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install |
23 |
+EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install |
24 |
|
25 |
case "${EAPI}" in |
26 |
0|1|2|3) |
27 |
@@ -261,19 +261,6 @@ python-distutils-ng_newscript() { |
28 |
dosym "${destination_file}-${default_impl}" "/usr/bin/${destination_file}" |
29 |
} |
30 |
|
31 |
-# Phase function: src_unpack |
32 |
-python-distutils-ng_src_unpack() { |
33 |
- [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; } |
34 |
- |
35 |
- if type python_unpack &> /dev/null; then |
36 |
- # This should not run anything specific to any single Python |
37 |
- # implementation, keep it generic: |
38 |
- python_unpack_all |
39 |
- else |
40 |
- [[ -n ${A} ]] && unpack ${A} |
41 |
- fi |
42 |
-} |
43 |
- |
44 |
# Phase function: src_prepare |
45 |
python-distutils-ng_src_prepare() { |
46 |
[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; } |