1 |
arfrever 09/08/29 03:10:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygtk-2.16.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 14166-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.221 dev-python/pygtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.221&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.221&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.220&r2=1.221 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
19 |
retrieving revision 1.220 |
20 |
retrieving revision 1.221 |
21 |
diff -u -r1.220 -r1.221 |
22 |
--- ChangeLog 27 Aug 2009 18:45:47 -0000 1.220 |
23 |
+++ ChangeLog 29 Aug 2009 03:10:28 -0000 1.221 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/pygtk |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.220 2009/08/27 18:45:47 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.221 2009/08/29 03:10:28 arfrever Exp $ |
29 |
+ |
30 |
+*pygtk-2.16.0 (29 Aug 2009) |
31 |
+ |
32 |
+ 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 |
+ +pygtk-2.16.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*pygtk-2.14.1-r2 (27 Aug 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pygtk/pygtk-2.16.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.16.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.16.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pygtk-2.16.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.16.0.ebuild,v 1.1 2009/08/29 03:10:28 arfrever Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
SUPPORT_PYTHON_ABIS="1" |
54 |
|
55 |
inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx |
56 |
|
57 |
DESCRIPTION="GTK+2 bindings for Python" |
58 |
HOMEPAGE="http://www.pygtk.org/" |
59 |
|
60 |
LICENSE="LGPL-2.1" |
61 |
SLOT="2" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="doc examples" |
64 |
|
65 |
RDEPEND=">=dev-libs/glib-2.8.0 |
66 |
>=x11-libs/pango-1.16.0 |
67 |
>=dev-libs/atk-1.12.0 |
68 |
>=x11-libs/gtk+-2.13.6 |
69 |
>=gnome-base/libglade-2.5.0 |
70 |
>=dev-lang/python-2.4.4-r5 |
71 |
>=dev-python/pycairo-1.0.2 |
72 |
>=dev-python/pygobject-2.15.3 |
73 |
dev-python/numpy" |
74 |
|
75 |
DEPEND="${RDEPEND} |
76 |
doc? ( |
77 |
dev-libs/libxslt |
78 |
>=app-text/docbook-xsl-stylesheets-1.70.1 ) |
79 |
>=dev-util/pkgconfig-0.9" |
80 |
|
81 |
RESTRICT_PYTHON_ABIS="3*" |
82 |
|
83 |
src_prepare() { |
84 |
# Fix declaration of codegen in .pc |
85 |
epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" |
86 |
|
87 |
# Disable pyc compiling |
88 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
89 |
ln -s $(type -P true) "${S}"/py-compile |
90 |
|
91 |
AT_M4DIR="m4" eautoreconf |
92 |
|
93 |
python_copy_sources |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
configuration() { |
98 |
use hppa && append-flags -ffunction-sections |
99 |
econf $(use_enable doc docs) --enable-thread |
100 |
} |
101 |
python_execute_function -s configuration |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
python_execute_function -d -s |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
python_execute_function -d -s |
110 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO |
111 |
|
112 |
if use examples; then |
113 |
rm examples/Makefile* |
114 |
insinto /usr/share/doc/${PF} |
115 |
doins -r examples |
116 |
fi |
117 |
} |
118 |
|
119 |
src_test() { |
120 |
unset DBUS_SESSION_BUS_ADDRESS |
121 |
|
122 |
testing() { |
123 |
if has ${PYTHON_ABI} 2.4 2.5; then |
124 |
einfo "Skipping tests with Python ${PYTHON_ABI}. dev-python/pycairo supports only Python >=2.6." |
125 |
return 0 |
126 |
fi |
127 |
|
128 |
cd tests |
129 |
Xemake check-local |
130 |
} |
131 |
python_execute_function -s testing |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
python_need_rebuild |
136 |
python_mod_optimize gtk-2.0 |
137 |
|
138 |
create_symlinks() { |
139 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
140 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
141 |
} |
142 |
python_execute_function create_symlinks |
143 |
} |
144 |
|
145 |
pkg_postrm() { |
146 |
python_mod_cleanup gtk-2.0 |
147 |
|
148 |
create_symlinks() { |
149 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
150 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
151 |
} |
152 |
python_execute_function create_symlinks |
153 |
} |