1 |
pacho 11/04/03 17:41:00 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: pygtk-2.24.0-r1.ebuild |
5 |
Removed: pygtk-2.24.0.ebuild |
6 |
Log: |
7 |
Always enable glade support as talked on IRC since most pygtk apps won't ever be ported away from glade. |
8 |
|
9 |
(Portage version: 2.1.9.45/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.6 dev-python/pygtk/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/metadata.xml?rev=1.6&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/metadata.xml?rev=1.6&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/metadata.xml?r1=1.5&r2=1.6 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/metadata.xml,v |
21 |
retrieving revision 1.5 |
22 |
retrieving revision 1.6 |
23 |
diff -u -r1.5 -r1.6 |
24 |
--- metadata.xml 2 Apr 2011 17:47:17 -0000 1.5 |
25 |
+++ metadata.xml 3 Apr 2011 17:40:59 -0000 1.6 |
26 |
@@ -3,10 +3,6 @@ |
27 |
<pkgmetadata> |
28 |
<herd>gnome</herd> |
29 |
<herd>python</herd> |
30 |
-<use> |
31 |
- <flag name='glade'>Enable <pkg>gnome-base/libglade</pkg> bindings |
32 |
- compilation</flag> |
33 |
-</use> |
34 |
<longdescription> |
35 |
PyGTK provides a convenient wrapper for the GTK+ library for use in |
36 |
Python programs, taking care of many of the boring details such as |
37 |
|
38 |
|
39 |
|
40 |
1.256 dev-python/pygtk/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.256&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.256&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.255&r2=1.256 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
49 |
retrieving revision 1.255 |
50 |
retrieving revision 1.256 |
51 |
diff -u -r1.255 -r1.256 |
52 |
--- ChangeLog 2 Apr 2011 17:47:17 -0000 1.255 |
53 |
+++ ChangeLog 3 Apr 2011 17:40:59 -0000 1.256 |
54 |
@@ -1,6 +1,13 @@ |
55 |
# ChangeLog for dev-python/pygtk |
56 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.255 2011/04/02 17:47:17 pacho Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.256 2011/04/03 17:40:59 pacho Exp $ |
59 |
+ |
60 |
+*pygtk-2.24.0-r1 (03 Apr 2011) |
61 |
+ |
62 |
+ 03 Apr 2011; Pacho Ramos <pacho@g.o> -pygtk-2.24.0.ebuild, |
63 |
+ +pygtk-2.24.0-r1.ebuild: |
64 |
+ Always enable glade support as talked on IRC since most pygtk apps won't ever |
65 |
+ be ported away from glade. |
66 |
|
67 |
*pygtk-2.24.0 (02 Apr 2011) |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
1.1 dev-python/pygtk/pygtk-2.24.0-r1.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: pygtk-2.24.0-r1.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2011 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild,v 1.1 2011/04/03 17:40:59 pacho Exp $ |
82 |
|
83 |
EAPI="3" |
84 |
GCONF_DEBUG="no" |
85 |
PYTHON_DEPEND="2:2.6" |
86 |
SUPPORT_PYTHON_ABIS="1" |
87 |
# dev-python/pycairo does not support Python 2.4 / 2.5. |
88 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" |
89 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
90 |
|
91 |
inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx |
92 |
|
93 |
DESCRIPTION="GTK+2 bindings for Python" |
94 |
HOMEPAGE="http://www.pygtk.org/" |
95 |
|
96 |
LICENSE="LGPL-2.1" |
97 |
SLOT="2" |
98 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
99 |
IUSE="doc examples test" |
100 |
|
101 |
RDEPEND=">=dev-libs/glib-2.8:2 |
102 |
>=x11-libs/pango-1.16 |
103 |
>=dev-libs/atk-1.12 |
104 |
>=x11-libs/gtk+-2.24:2 |
105 |
>=dev-python/pycairo-1.0.2 |
106 |
>=dev-python/pygobject-2.21.3:2 |
107 |
dev-python/numpy |
108 |
>=gnome-base/libglade-2.5:2.0 |
109 |
" |
110 |
DEPEND="${RDEPEND} |
111 |
doc? ( |
112 |
dev-libs/libxslt |
113 |
>=app-text/docbook-xsl-stylesheets-1.70.1 ) |
114 |
>=dev-util/pkgconfig-0.9" |
115 |
|
116 |
src_prepare() { |
117 |
# Fix declaration of codegen in .pc |
118 |
epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" |
119 |
|
120 |
# Disable pyc compiling |
121 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
122 |
ln -s $(type -P true) "${S}"/py-compile |
123 |
|
124 |
AT_M4DIR="m4" eautoreconf |
125 |
|
126 |
python_copy_sources |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
use hppa && append-flags -ffunction-sections |
131 |
python_src_configure \ |
132 |
$(use_enable doc docs) \ |
133 |
--with-glade \ |
134 |
--enable-thread |
135 |
} |
136 |
|
137 |
src_test() { |
138 |
unset DBUS_SESSION_BUS_ADDRESS |
139 |
|
140 |
testing() { |
141 |
cd tests |
142 |
export XDG_CONFIG_HOME="${T}/$(PYTHON --ABI)" |
143 |
Xemake check-local |
144 |
} |
145 |
python_execute_function -s testing |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
python_src_install |
150 |
python_clean_installation_image |
151 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO || die |
152 |
|
153 |
if use examples; then |
154 |
rm examples/Makefile* |
155 |
insinto /usr/share/doc/${PF} |
156 |
doins -r examples || die |
157 |
fi |
158 |
} |
159 |
|
160 |
pkg_postinst() { |
161 |
python_mod_optimize gtk-2.0 |
162 |
|
163 |
create_symlinks() { |
164 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
165 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
166 |
} |
167 |
python_execute_function create_symlinks |
168 |
} |
169 |
|
170 |
pkg_postrm() { |
171 |
python_mod_cleanup gtk-2.0 |
172 |
|
173 |
create_symlinks() { |
174 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
175 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
176 |
} |
177 |
python_execute_function create_symlinks |
178 |
} |