1 |
mgorny 12/10/30 17:22:33 |
2 |
|
3 |
Modified: ChangeLog python-distutils-ng.eclass |
4 |
Log: |
5 |
Fix Prefix support, wrt bug #423323. |
6 |
|
7 |
Revision Changes Path |
8 |
1.485 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.485&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.485&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.484&r2=1.485 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.484 |
18 |
retrieving revision 1.485 |
19 |
diff -u -r1.484 -r1.485 |
20 |
--- ChangeLog 29 Oct 2012 13:34:02 -0000 1.484 |
21 |
+++ ChangeLog 30 Oct 2012 17:22:33 -0000 1.485 |
22 |
@@ -1,6 +1,9 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.484 2012/10/29 13:34:02 mgorny Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.485 2012/10/30 17:22:33 mgorny Exp $ |
27 |
+ |
28 |
+ 30 Oct 2012; Michał Górny <mgorny@g.o> python-distutils-ng.eclass: |
29 |
+ Fix Prefix support, wrt bug #423323. |
30 |
|
31 |
29 Oct 2012; Michał Górny <mgorny@g.o> distutils-r1.eclass: |
32 |
Support and use out-of-source builds by default. |
33 |
|
34 |
|
35 |
|
36 |
1.29 eclass/python-distutils-ng.eclass |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-distutils-ng.eclass?rev=1.29&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-distutils-ng.eclass?rev=1.29&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-distutils-ng.eclass?r1=1.28&r2=1.29 |
41 |
|
42 |
Index: python-distutils-ng.eclass |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v |
45 |
retrieving revision 1.28 |
46 |
retrieving revision 1.29 |
47 |
diff -u -r1.28 -r1.29 |
48 |
--- python-distutils-ng.eclass 27 Sep 2012 16:35:41 -0000 1.28 |
49 |
+++ python-distutils-ng.eclass 30 Oct 2012 17:22:33 -0000 1.29 |
50 |
@@ -1,6 +1,6 @@ |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.28 2012/09/27 16:35:41 axs Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.29 2012/10/30 17:22:33 mgorny Exp $ |
55 |
|
56 |
# @ECLASS: python-distutils-ng |
57 |
# @MAINTAINER: |
58 |
@@ -98,9 +98,9 @@ |
59 |
local impl="${1/_/.}" |
60 |
case "${impl}" in |
61 |
python?.?|jython?.?) |
62 |
- echo "/usr/bin/${impl}" ;; |
63 |
+ echo "${EPREFIX}/usr/bin/${impl}" ;; |
64 |
pypy?.?) |
65 |
- echo "/usr/bin/pypy-c${impl: -3}" ;; |
66 |
+ echo "${EPREFIX}/usr/bin/pypy-c${impl: -3}" ;; |
67 |
*) |
68 |
die "Unsupported implementation: ${1}" ;; |
69 |
esac |
70 |
@@ -400,7 +400,7 @@ |
71 |
fi |
72 |
|
73 |
if [[ -z "${PYTHON_DISABLE_SCRIPT_REDOS}" ]]; then |
74 |
- for script_file in $(find "${D}"{,usr/}{,s}bin/ -type f -executable 2> /dev/null); do |
75 |
+ for script_file in $(find "${ED}"{,usr/}{,s}bin/ -type f -executable 2> /dev/null); do |
76 |
python-distutils-ng_redoscript "/${script_file#${D}}" |
77 |
done |
78 |
fi |