1 |
eva 09/10/29 23:03:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygobject-2.20.0.ebuild |
5 |
Removed: pygobject-2.16.0.ebuild pygobject-2.16.1-r1.ebuild |
6 |
pygobject-2.15.4.ebuild pygobject-2.14.2.ebuild |
7 |
pygobject-2.16.1.ebuild pygobject-2.14.0.ebuild |
8 |
Log: |
9 |
New version for GNOME 2.28. Clean up old revision. |
10 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.84 dev-python/pygobject/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.84&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.84&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.83&r2=1.84 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v |
22 |
retrieving revision 1.83 |
23 |
retrieving revision 1.84 |
24 |
diff -u -r1.83 -r1.84 |
25 |
--- ChangeLog 14 Oct 2009 09:56:39 -0000 1.83 |
26 |
+++ ChangeLog 29 Oct 2009 23:03:42 -0000 1.84 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for dev-python/pygobject |
29 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.83 2009/10/14 09:56:39 ssuominen Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.84 2009/10/29 23:03:42 eva Exp $ |
32 |
+ |
33 |
+*pygobject-2.20.0 (29 Oct 2009) |
34 |
+ |
35 |
+ 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> |
36 |
+ -pygobject-2.14.0.ebuild, -pygobject-2.14.2.ebuild, |
37 |
+ -files/pygobject-2.14.2-libffi.patch, -pygobject-2.15.4.ebuild, |
38 |
+ -pygobject-2.16.0.ebuild, -pygobject-2.16.1.ebuild, |
39 |
+ -pygobject-2.16.1-r1.ebuild, +pygobject-2.20.0.ebuild: |
40 |
+ New version for GNOME 2.28. Clean up old revision. |
41 |
|
42 |
14 Oct 2009; Samuli Suominen <ssuominen@g.o> |
43 |
pygobject-2.14.2.ebuild, pygobject-2.15.4.ebuild: |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-python/pygobject/pygobject-2.20.0.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.20.0.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.20.0.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: pygobject-2.20.0.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.20.0.ebuild,v 1.1 2009/10/29 23:03:42 eva Exp $ |
57 |
|
58 |
EAPI="2" |
59 |
SUPPORT_PYTHON_ABIS="1" |
60 |
|
61 |
inherit alternatives autotools gnome2 python virtualx |
62 |
|
63 |
DESCRIPTION="GLib's GObject library bindings for Python" |
64 |
HOMEPAGE="http://www.pygtk.org/" |
65 |
|
66 |
LICENSE="LGPL-2.1" |
67 |
SLOT="2" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
69 |
IUSE="doc examples libffi test" |
70 |
|
71 |
# FIXME: add introspection support |
72 |
RDEPEND=">=dev-lang/python-2.4.4-r5 |
73 |
>=dev-libs/glib-2.16 |
74 |
!<dev-python/pygtk-2.13 |
75 |
libffi? ( virtual/libffi )" |
76 |
DEPEND="${RDEPEND} |
77 |
doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) |
78 |
test? ( media-fonts/font-cursor-misc media-fonts/font-misc-misc ) |
79 |
>=dev-util/pkgconfig-0.12.0" |
80 |
|
81 |
RESTRICT_PYTHON_ABIS="3.*" |
82 |
|
83 |
DOCS="AUTHORS ChangeLog* NEWS README" |
84 |
|
85 |
pkg_setup() { |
86 |
G2CONF="${G2CONF} |
87 |
--disable-dependency-tracking |
88 |
$(use_enable doc docs) |
89 |
$(use_with libffi ffi)" |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
gnome2_src_prepare |
94 |
|
95 |
# Fix FHS compliance, see upstream bug #535524 |
96 |
epatch "${FILESDIR}/${PN}-2.15.4-fix-codegen-location.patch" |
97 |
|
98 |
# Do not build tests if unneeded, bug #226345 |
99 |
epatch "${FILESDIR}/${PN}-2.18.0-make_check.patch" |
100 |
|
101 |
# Support installation for multiple Python versions |
102 |
epatch "${FILESDIR}/${PN}-2.18.0-support_multiple_python_versions.patch" |
103 |
|
104 |
# needed to build on a libtool-1 system, bug #255542 |
105 |
rm m4/lt* m4/libtool.m4 ltmain.sh |
106 |
|
107 |
# disable pyc compiling |
108 |
mv py-compile py-compile.orig |
109 |
ln -s $(type -P true) py-compile |
110 |
|
111 |
eautoreconf |
112 |
|
113 |
python_copy_sources |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
python_execute_function -s gnome2_src_configure |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
python_execute_function -d -s |
122 |
} |
123 |
|
124 |
src_test() { |
125 |
unset DBUS_SESSION_BUS_ADDRESS |
126 |
|
127 |
testing() { |
128 |
if has ${PYTHON_ABI} 2.4 2.5; then |
129 |
einfo "Skipping tests with Python ${PYTHON_ABI}. dev-python/pycairo supports only Python >=2.6." |
130 |
return 0 |
131 |
fi |
132 |
|
133 |
Xemake check |
134 |
} |
135 |
python_execute_function -s testing |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
[[ -z ${ED} ]] && local ED="${D}" |
140 |
installation() { |
141 |
gnome2_src_install |
142 |
mv "${ED}$(python_get_sitedir)/pygtk.py" "${ED}$(python_get_sitedir)/pygtk.py-2.0" |
143 |
mv "${ED}$(python_get_sitedir)/pygtk.pth" "${ED}$(python_get_sitedir)/pygtk.pth-2.0" |
144 |
|
145 |
if [[ ${CHOST} == *-darwin* ]]; then |
146 |
# Python on Darwin uses bundles. |
147 |
mv "${ED}"$(python_get_sitedir)/gtk-2.0/gio/_gio.{so,bundle} || die |
148 |
mv "${ED}"$(python_get_sitedir)/gtk-2.0/gio/unix.{so,bundle} || die |
149 |
mv "${ED}"$(python_get_sitedir)/gtk-2.0/glib/_glib.{so,bundle} || die |
150 |
mv "${ED}"$(python_get_sitedir)/gtk-2.0/gobject/_gobject.{so,bundle} || die |
151 |
fi |
152 |
} |
153 |
python_execute_function -s installation |
154 |
|
155 |
if use examples; then |
156 |
insinto /usr/share/doc/${P} |
157 |
doins -r examples |
158 |
fi |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
python_need_rebuild |
163 |
|
164 |
create_symlinks() { |
165 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
166 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
167 |
} |
168 |
python_execute_function create_symlinks |
169 |
|
170 |
python_mod_optimize gtk-2.0 pygtk.py |
171 |
} |
172 |
|
173 |
pkg_postrm() { |
174 |
python_mod_cleanup |
175 |
|
176 |
create_symlinks() { |
177 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
178 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
179 |
} |
180 |
python_execute_function create_symlinks |
181 |
} |