1 |
commit: 2e4beca59ccb101db4aac170a922c4d9d0239a78 |
2 |
Author: Krzysztof Pawlik <none <AT> none> |
3 |
AuthorDate: Sat Mar 3 10:03:30 2012 +0000 |
4 |
Commit: Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 10:03:30 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=2e4beca5 |
7 |
|
8 |
Rename PACKAGE_SPECIFIC_S. |
9 |
|
10 |
--- |
11 |
eclass/python-distutils-ng.eclass | 8 ++++---- |
12 |
1 files changed, 4 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass |
15 |
index a001aa6..ca6eaa8 100644 |
16 |
--- a/eclass/python-distutils-ng.eclass |
17 |
+++ b/eclass/python-distutils-ng.eclass |
18 |
@@ -118,7 +118,7 @@ for impl in ${PYTHON_COMPAT}; do |
19 |
fi |
20 |
done |
21 |
|
22 |
-PACKAGE_SPECIFIC_S="${S#${WORKDIR}/}" |
23 |
+_PACKAGE_SPECIFIC_S="${S#${WORKDIR}/}" |
24 |
|
25 |
# @FUNCTION: _python-distutils-ng_run_for_impl |
26 |
# @USAGE: implementation command_to_run |
27 |
@@ -130,7 +130,7 @@ _python-distutils-ng_run_for_impl() { |
28 |
local impl="${1}" |
29 |
local command="${2}" |
30 |
|
31 |
- S="${WORKDIR}/impl_${impl}/${PACKAGE_SPECIFIC_S}" |
32 |
+ S="${WORKDIR}/impl_${impl}/${_PACKAGE_SPECIFIC_S}" |
33 |
PYTHON="$(_python-distutils-ng_get_binary_for_implementation "${impl}")" |
34 |
EPYTHON="${impl/_/.}" |
35 |
|
36 |
@@ -307,7 +307,7 @@ python-distutils-ng_src_prepare() { |
37 |
|
38 |
einfo "Creating copy for ${impl} in ${WORKDIR}/impl_${impl}" |
39 |
mkdir -p "${WORKDIR}/impl_${impl}" || die |
40 |
- cp -pr "${S}" "${WORKDIR}/impl_${impl}/${PACKAGE_SPECIFIC_S}" || die |
41 |
+ cp -pr "${S}" "${WORKDIR}/impl_${impl}/${_PACKAGE_SPECIFIC_S}" || die |
42 |
done |
43 |
|
44 |
# Run python_prepare for each implementation: |
45 |
@@ -357,7 +357,7 @@ python-distutils-ng_src_install() { |
46 |
_python-distutils-ng_default_distutils_install |
47 |
fi |
48 |
|
49 |
- S="${WORKDIR}/${PACKAGE_SPECIFIC_S}" |
50 |
+ S="${WORKDIR}/${_PACKAGE_SPECIFIC_S}" |
51 |
if type python_install_all &> /dev/null; then |
52 |
einfo "Running python_install_all in ${S} for all" |
53 |
python_install_all |