1 |
leio 07/09/27 18:36:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygtk-2.12.0.ebuild |
5 |
Log: |
6 |
Adding 2.12 series, to go along with gtk+-2.12 for Gnome 2.20 |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.165 dev-python/pygtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.165&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.165&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.164&r2=1.165 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
19 |
retrieving revision 1.164 |
20 |
retrieving revision 1.165 |
21 |
diff -u -r1.164 -r1.165 |
22 |
--- ChangeLog 27 Sep 2007 11:43:07 -0000 1.164 |
23 |
+++ ChangeLog 27 Sep 2007 18:36:28 -0000 1.165 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/pygtk |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.164 2007/09/27 11:43:07 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.165 2007/09/27 18:36:28 leio Exp $ |
29 |
+ |
30 |
+*pygtk-2.12.0 (27 Sep 2007) |
31 |
+ |
32 |
+ 27 Sep 2007; Mart Raudsepp <leio@g.o> +pygtk-2.12.0.ebuild: |
33 |
+ Adding 2.12 series, to go along with gtk+-2.12 for Gnome 2.20 |
34 |
|
35 |
27 Sep 2007; Raúl Porcel <armin76@g.o> pygtk-2.10.6.ebuild: |
36 |
alpha/ia64 stable wrt #193339 |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-python/pygtk/pygtk-2.12.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: pygtk-2.12.0.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.12.0.ebuild,v 1.1 2007/09/27 18:36:28 leio Exp $ |
50 |
|
51 |
NEED_PYTHON=2.3.5 |
52 |
|
53 |
inherit gnome.org python flag-o-matic |
54 |
|
55 |
DESCRIPTION="GTK+2 bindings for Python" |
56 |
HOMEPAGE="http://www.pygtk.org/" |
57 |
|
58 |
DOC_FILE="pygtk2reference-2.9.0.tar.bz2" |
59 |
SRC_URI="${SRC_URI} |
60 |
doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )" |
61 |
|
62 |
LICENSE="LGPL-2.1" |
63 |
SLOT="2" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="doc examples opengl" |
66 |
|
67 |
RDEPEND=">=dev-libs/glib-2.8.0 |
68 |
>=x11-libs/pango-1.16.0 |
69 |
>=dev-libs/atk-1.12.0 |
70 |
>=x11-libs/gtk+-2.11.6 |
71 |
>=gnome-base/libglade-2.5.0 |
72 |
>=dev-lang/python-2.4.4-r5 |
73 |
>=dev-python/pycairo-1.0.2 |
74 |
>=dev-python/pygobject-2.14 |
75 |
!arm? ( dev-python/numeric ) |
76 |
opengl? ( virtual/opengl |
77 |
dev-python/pyopengl |
78 |
>=x11-libs/gtkglarea-1.99 |
79 |
)" |
80 |
|
81 |
DEPEND="${RDEPEND} |
82 |
doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) |
83 |
>=dev-util/pkgconfig-0.9" |
84 |
|
85 |
# Tests fail (missing display) |
86 |
RESTRICT="test" |
87 |
|
88 |
src_unpack() { |
89 |
unpack ${A} |
90 |
use doc || sed -e 's/\(SUBDIRS =.*\) docs$/\1/' -i "${S}"/Makefile.am |
91 |
|
92 |
# disable pyc compiling |
93 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
94 |
ln -s $(type -P true) "${S}"/py-compile |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
use hppa && append-flags -ffunction-sections |
99 |
econf $(use_enable doc docs) --enable-thread || die |
100 |
# possible problems with parallel builds (#45776) |
101 |
emake -j1 || die |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
make DESTDIR="${D}" install || die |
106 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO |
107 |
|
108 |
if use examples; then |
109 |
rm examples/Makefile* |
110 |
insinto /usr/share/doc/${PF} |
111 |
doins -r examples |
112 |
fi |
113 |
|
114 |
if use doc; then |
115 |
insinto /usr/share/gtk-doc/html/pygtk |
116 |
cd "${WORKDIR}"/pygtk2reference |
117 |
doins -r cursors icons images |
118 |
fi |
119 |
} |
120 |
|
121 |
src_test() { |
122 |
cd tests |
123 |
make check-local || die "tests failed" |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
python_version |
128 |
python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 |
129 |
} |
130 |
|
131 |
pkg_postrm() { |
132 |
python_version |
133 |
python_mod_cleanup /usr/share/pygtk/2.0/codegen |
134 |
python_mod_cleanup |
135 |
rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} |
136 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] |
137 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
-- |
143 |
gentoo-commits@g.o mailing list |