1 |
djc 11/07/04 10:50:28 |
2 |
|
3 |
Modified: python.eclass |
4 |
Log: |
5 |
Print deprecation warnings in deprecated parts of python_mod_optimize() and |
6 |
python_mod_cleanup(). (Patch by Arfrever. Backported from python overlay.) |
7 |
|
8 |
Revision Changes Path |
9 |
1.112 eclass/python.eclass |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python.eclass?rev=1.112&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python.eclass?rev=1.112&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python.eclass?r1=1.111&r2=1.112 |
14 |
|
15 |
Index: python.eclass |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/eclass/python.eclass,v |
18 |
retrieving revision 1.111 |
19 |
retrieving revision 1.112 |
20 |
diff -u -r1.111 -r1.112 |
21 |
--- python.eclass 4 Jul 2011 10:48:01 -0000 1.111 |
22 |
+++ python.eclass 4 Jul 2011 10:50:28 -0000 1.112 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2011 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.111 2011/07/04 10:48:01 djc Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.112 2011/07/04 10:50:28 djc Exp $ |
28 |
|
29 |
# @ECLASS: python.eclass |
30 |
# @MAINTAINER: |
31 |
@@ -2652,12 +2652,12 @@ |
32 |
fi |
33 |
else |
34 |
# Deprecated part of python_mod_optimize() |
35 |
- # ewarn |
36 |
- # ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" |
37 |
- # ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-06-01." |
38 |
- # ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." |
39 |
- # ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." |
40 |
- # ewarn |
41 |
+ ewarn |
42 |
+ ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" |
43 |
+ ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01." |
44 |
+ ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." |
45 |
+ ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." |
46 |
+ ewarn |
47 |
|
48 |
local myroot mydirs=() myfiles=() myopts=() return_code="0" |
49 |
|
50 |
@@ -2816,12 +2816,12 @@ |
51 |
done |
52 |
else |
53 |
# Deprecated part of python_mod_cleanup() |
54 |
- # ewarn |
55 |
- # ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" |
56 |
- # ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-06-01." |
57 |
- # ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." |
58 |
- # ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." |
59 |
- # ewarn |
60 |
+ ewarn |
61 |
+ ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" |
62 |
+ ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01." |
63 |
+ ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." |
64 |
+ ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." |
65 |
+ ewarn |
66 |
|
67 |
search_paths=("${@#/}") |
68 |
search_paths=("${search_paths[@]/#/${root}/}") |