1 |
arfrever 10/12/27 22:30:03 |
2 |
|
3 |
Modified: ChangeLog newt-0.52.12.ebuild |
4 |
newt-0.52.10-r1.ebuild |
5 |
Log: |
6 |
Use Python 2, use python_mod_optimize() and python_mod_cleanup() (bug #312197). |
7 |
|
8 |
(Portage version: 2.2.0_alpha10_p10/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.66 dev-libs/newt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.66&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.66&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.65&r2=1.66 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v |
20 |
retrieving revision 1.65 |
21 |
retrieving revision 1.66 |
22 |
diff -u -r1.65 -r1.66 |
23 |
--- ChangeLog 30 Aug 2010 23:51:20 -0000 1.65 |
24 |
+++ ChangeLog 27 Dec 2010 22:30:03 -0000 1.66 |
25 |
@@ -1,6 +1,10 @@ |
26 |
# ChangeLog for dev-libs/newt |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.65 2010/08/30 23:51:20 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.66 2010/12/27 22:30:03 arfrever Exp $ |
30 |
+ |
31 |
+ 27 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
32 |
+ newt-0.52.10-r1.ebuild, newt-0.52.12.ebuild: |
33 |
+ Use Python 2, use python_mod_optimize() and python_mod_cleanup() (bug #312197). |
34 |
|
35 |
*newt-0.52.12 (30 Aug 2010) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 dev-libs/newt/newt-0.52.12.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: newt-0.52.12.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- newt-0.52.12.ebuild 30 Aug 2010 23:48:52 -0000 1.1 |
53 |
+++ newt-0.52.12.ebuild 27 Dec 2010 22:30:03 -0000 1.2 |
54 |
@@ -1,8 +1,9 @@ |
55 |
# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.1 2010/08/30 23:48:52 jer Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.2 2010/12/27 22:30:03 arfrever Exp $ |
59 |
|
60 |
-EAPI="2" |
61 |
+EAPI="3" |
62 |
+PYTHON_DEPEND="2" |
63 |
|
64 |
inherit eutils multilib python |
65 |
|
66 |
@@ -17,7 +18,6 @@ |
67 |
|
68 |
RDEPEND="=sys-libs/slang-2* |
69 |
>=dev-libs/popt-1.6 |
70 |
- dev-lang/python |
71 |
elibc_uclibc? ( sys-libs/ncurses ) |
72 |
gpm? ( sys-libs/gpm ) |
73 |
tcl? ( =dev-lang/tcl-8.5* ) |
74 |
@@ -25,6 +25,11 @@ |
75 |
|
76 |
DEPEND="${RDEPEND}" |
77 |
|
78 |
+pkg_setup() { |
79 |
+ python_set_active_version 2 |
80 |
+ python_pkg_setup |
81 |
+} |
82 |
+ |
83 |
src_prepare() { |
84 |
# bug 73850 |
85 |
if use elibc_uclibc; then |
86 |
@@ -45,7 +50,7 @@ |
87 |
econf \ |
88 |
$(use_with gpm gpm-support) \ |
89 |
$(use_with tcl) \ |
90 |
- $(use_enable nls) || die "econf failed" |
91 |
+ $(use_enable nls) |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
@@ -60,3 +65,11 @@ |
96 |
dodoc peanuts.py popcorn.py tutorial.sgml |
97 |
doman whiptail.1 |
98 |
} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ python_mod_optimize snack.py |
102 |
+} |
103 |
+ |
104 |
+pkg_postrm() { |
105 |
+ python_mod_cleanup snack.py |
106 |
+} |
107 |
|
108 |
|
109 |
|
110 |
1.9 dev-libs/newt/newt-0.52.10-r1.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.9&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?rev=1.9&content-type=text/plain |
114 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild?r1=1.8&r2=1.9 |
115 |
|
116 |
Index: newt-0.52.10-r1.ebuild |
117 |
=================================================================== |
118 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v |
119 |
retrieving revision 1.8 |
120 |
retrieving revision 1.9 |
121 |
diff -u -r1.8 -r1.9 |
122 |
--- newt-0.52.10-r1.ebuild 2 Jun 2010 20:29:39 -0000 1.8 |
123 |
+++ newt-0.52.10-r1.ebuild 27 Dec 2010 22:30:03 -0000 1.9 |
124 |
@@ -1,6 +1,9 @@ |
125 |
# Copyright 1999-2010 Gentoo Foundation |
126 |
# Distributed under the terms of the GNU General Public License v2 |
127 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v 1.8 2010/06/02 20:29:39 arfrever Exp $ |
128 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10-r1.ebuild,v 1.9 2010/12/27 22:30:03 arfrever Exp $ |
129 |
+ |
130 |
+EAPI="3" |
131 |
+PYTHON_DEPEND="2" |
132 |
|
133 |
inherit python toolchain-funcs eutils rpm |
134 |
|
135 |
@@ -15,7 +18,6 @@ |
136 |
|
137 |
RDEPEND="=sys-libs/slang-2* |
138 |
>=dev-libs/popt-1.6 |
139 |
- dev-lang/python |
140 |
elibc_uclibc? ( sys-libs/ncurses ) |
141 |
gpm? ( sys-libs/gpm ) |
142 |
tcl? ( =dev-lang/tcl-8.5* ) |
143 |
@@ -23,6 +25,11 @@ |
144 |
|
145 |
DEPEND="${RDEPEND}" |
146 |
|
147 |
+pkg_setup() { |
148 |
+ python_set_active_version 2 |
149 |
+ python_pkg_setup |
150 |
+} |
151 |
+ |
152 |
src_unpack() { |
153 |
unpack ${A} |
154 |
#rpm_src_unpack |
155 |
@@ -70,3 +77,11 @@ |
156 |
dodoc peanuts.py popcorn.py tutorial.sgml |
157 |
doman whiptail.1 |
158 |
} |
159 |
+ |
160 |
+pkg_postinst() { |
161 |
+ python_mod_optimize snack.py |
162 |
+} |
163 |
+ |
164 |
+pkg_postrm() { |
165 |
+ python_mod_cleanup snack.py |
166 |
+} |