1 |
eva 10/10/29 19:50:01 |
2 |
|
3 |
Modified: ChangeLog gnome-doc-utils-0.20.2.ebuild |
4 |
Log: |
5 |
Enhance multiple python ABI support, bug #312103. |
6 |
|
7 |
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.173 app-text/gnome-doc-utils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?rev=1.173&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?rev=1.173&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?r1=1.172&r2=1.173 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v |
19 |
retrieving revision 1.172 |
20 |
retrieving revision 1.173 |
21 |
diff -u -r1.172 -r1.173 |
22 |
--- ChangeLog 17 Oct 2010 15:33:17 -0000 1.172 |
23 |
+++ ChangeLog 29 Oct 2010 19:50:01 -0000 1.173 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for app-text/gnome-doc-utils |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.172 2010/10/17 15:33:17 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.173 2010/10/29 19:50:01 eva Exp $ |
29 |
+ |
30 |
+ 29 Oct 2010; Gilles Dartiguelongue <eva@g.o> |
31 |
+ gnome-doc-utils-0.20.2.ebuild: |
32 |
+ Enhance multiple python ABI support, bug #312103. |
33 |
|
34 |
17 Oct 2010; Raúl Porcel <armin76@g.o> |
35 |
gnome-doc-utils-0.20.1.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.2 app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: gnome-doc-utils-0.20.2.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- gnome-doc-utils-0.20.2.ebuild 4 Oct 2010 09:19:15 -0000 1.1 |
52 |
+++ gnome-doc-utils-0.20.2.ebuild 29 Oct 2010 19:50:01 -0000 1.2 |
53 |
@@ -1,10 +1,12 @@ |
54 |
# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v 1.1 2010/10/04 09:19:15 eva Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v 1.2 2010/10/29 19:50:01 eva Exp $ |
58 |
|
59 |
EAPI="3" |
60 |
GCONF_DEBUG="no" |
61 |
PYTHON_DEPEND="2:2.4" |
62 |
+SUPPORT_PYTHON_ABIS="1" |
63 |
+RESTRICT_PYTHON_ABIS="3.*" |
64 |
|
65 |
inherit gnome2 python |
66 |
|
67 |
@@ -37,7 +39,7 @@ |
68 |
|
69 |
pkg_setup() { |
70 |
G2CONF="${G2CONF} --disable-scrollkeeper" |
71 |
- python_set_active_version 2 |
72 |
+ python_pkg_setup |
73 |
} |
74 |
|
75 |
src_prepare() { |
76 |
@@ -46,10 +48,35 @@ |
77 |
# disable pyc compiling |
78 |
mv py-compile py-compile.orig |
79 |
ln -s $(type -P true) py-compile |
80 |
+ |
81 |
+ python_copy_sources |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ python_execute_function -s gnome2_src_configure |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ python_execute_function -d -s |
90 |
+} |
91 |
+ |
92 |
+src_test() { |
93 |
+ python_execute_function -d -s |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ installation() { |
98 |
+ gnome2_src_install |
99 |
+ python_convert_shebangs $(python_get_version) "${D}"usr/bin/xml2po |
100 |
+ mv "${D}"usr/bin/xml2po "${D}"usr/bin/xml2po-$(python_get_version) |
101 |
+ } |
102 |
+ python_execute_function -s installation |
103 |
+ python_clean_installation_image |
104 |
+ |
105 |
+ python_generate_wrapper_scripts -E -f "${D}"usr/bin/xml2po |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
- python_need_rebuild |
110 |
python_mod_optimize xml2po |
111 |
gnome2_pkg_postinst |
112 |
} |