1 |
commit: 37668a8e48c239cfb8951876504410f3eca6dd20 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 18 20:21:35 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 18 20:21:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=37668a8e |
7 |
|
8 |
dev-python/pygobject: remove, 3.28.3 available in ::gentoo |
9 |
|
10 |
Main tree version removes some by now unnecessary test workarounds |
11 |
(cairo.SubpixelOrder stuff seems solved, compat gtk stuff moved to |
12 |
a separate file than we still sed and I don't get test failures), |
13 |
which however might have been still relevant in the overlay 3.26 |
14 |
version. |
15 |
Also updates comment about gnome-common to autoconf-archive, as that's |
16 |
what it needs now for eautoreconf. However 3.30 and git master use |
17 |
meson. Relatedly, the 9999 is thus useless here now (still autotools), |
18 |
so remove that too. |
19 |
|
20 |
.../files/pygobject-3.16.1-unittest.patch | 15 --- |
21 |
dev-python/pygobject/metadata.xml | 12 --- |
22 |
dev-python/pygobject/pygobject-3.26.1.ebuild | 107 --------------------- |
23 |
dev-python/pygobject/pygobject-9999.ebuild | 105 -------------------- |
24 |
4 files changed, 239 deletions(-) |
25 |
|
26 |
diff --git a/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch b/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch |
27 |
deleted file mode 100644 |
28 |
index 5ee15b1d..00000000 |
29 |
--- a/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch |
30 |
+++ /dev/null |
31 |
@@ -1,15 +0,0 @@ |
32 |
-Comment out unittest that ought to work but for some reason does not want to. |
33 |
- |
34 |
---- a/tests/test_glib.py 2015-05-10 14:01:45.873164005 +0200 |
35 |
-+++ b/tests/test_glib.py 2015-03-05 09:32:55.000000000 +0100 |
36 |
-@@ -38,8 +38,8 @@ |
37 |
- def test_xdg_dirs(self): |
38 |
- d = GLib.get_user_data_dir() |
39 |
- self.assertTrue('/' in d, d) |
40 |
-- d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC) |
41 |
-- self.assertTrue('/' in d, d) |
42 |
-+ #d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC) |
43 |
-+ #self.assertTrue('/' in d, d) |
44 |
- with warnings.catch_warnings(): |
45 |
- warnings.simplefilter('ignore', PyGIDeprecationWarning) |
46 |
- |
47 |
|
48 |
diff --git a/dev-python/pygobject/metadata.xml b/dev-python/pygobject/metadata.xml |
49 |
deleted file mode 100644 |
50 |
index 08a5bd43..00000000 |
51 |
--- a/dev-python/pygobject/metadata.xml |
52 |
+++ /dev/null |
53 |
@@ -1,12 +0,0 @@ |
54 |
-<?xml version="1.0" encoding="UTF-8"?> |
55 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
56 |
-<pkgmetadata> |
57 |
- <maintainer type="project"> |
58 |
- <email>gnome@g.o</email> |
59 |
- <name>Gentoo GNOME Desktop</name> |
60 |
- </maintainer> |
61 |
-<maintainer type="project"> |
62 |
- <email>python@g.o</email> |
63 |
- <name>Python</name> |
64 |
- </maintainer> |
65 |
-</pkgmetadata> |
66 |
|
67 |
diff --git a/dev-python/pygobject/pygobject-3.26.1.ebuild b/dev-python/pygobject/pygobject-3.26.1.ebuild |
68 |
deleted file mode 100644 |
69 |
index 535769f2..00000000 |
70 |
--- a/dev-python/pygobject/pygobject-3.26.1.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,107 +0,0 @@ |
73 |
-# Copyright 1999-2018 Gentoo Foundation |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
- |
76 |
-EAPI=6 |
77 |
-GNOME2_LA_PUNT="yes" |
78 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
79 |
- |
80 |
-inherit eutils gnome2 python-r1 virtualx |
81 |
- |
82 |
-DESCRIPTION="GLib's GObject library bindings for Python" |
83 |
-HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" |
84 |
- |
85 |
-LICENSE="LGPL-2.1+" |
86 |
-SLOT="3" |
87 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
88 |
-IUSE="+cairo examples test" |
89 |
- |
90 |
-REQUIRED_USE=" |
91 |
- ${PYTHON_REQUIRED_USE} |
92 |
- test? ( cairo ) |
93 |
-" |
94 |
- |
95 |
-COMMON_DEPEND="${PYTHON_DEPS} |
96 |
- >=dev-libs/glib-2.38:2 |
97 |
- >=dev-libs/gobject-introspection-1.46.0:= |
98 |
- virtual/libffi:= |
99 |
- cairo? ( |
100 |
- >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] |
101 |
- x11-libs/cairo ) |
102 |
-" |
103 |
-DEPEND="${COMMON_DEPEND} |
104 |
- virtual/pkgconfig |
105 |
- cairo? ( x11-libs/cairo[glib] ) |
106 |
- test? ( |
107 |
- dev-libs/atk[introspection] |
108 |
- media-fonts/font-cursor-misc |
109 |
- media-fonts/font-misc-misc |
110 |
- x11-libs/cairo[glib] |
111 |
- x11-libs/gdk-pixbuf:2[introspection,jpeg] |
112 |
- x11-libs/gtk+:3[introspection] |
113 |
- x11-libs/pango[introspection] |
114 |
- python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) |
115 |
-" |
116 |
-# gnome-base/gnome-common required by eautoreconf |
117 |
- |
118 |
-# We now disable introspection support in slot 2 per upstream recommendation |
119 |
-# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however, |
120 |
-# older versions of slot 2 installed their own site-packages/gi, and |
121 |
-# slot 3 will collide with them. |
122 |
-RDEPEND="${COMMON_DEPEND} |
123 |
- !<dev-python/pygtk-2.13 |
124 |
- !<dev-python/pygobject-2.28.6-r50:2[introspection] |
125 |
-" |
126 |
- |
127 |
-src_prepare() { |
128 |
- # Test fail with xvfb but not X |
129 |
- sed -e 's/^.*TEST_NAMES=compat_test_pygtk .*;/echo "Test disabled";/' \ |
130 |
- -i tests/Makefile.{am,in} || die |
131 |
- |
132 |
- # FAIL: test_cairo_font_options (test_cairo.TestPango) |
133 |
- # AssertionError: <type 'cairo.SubpixelOrder'> != <type 'int'> |
134 |
- sed -e 's/^.*type(font_opts.get_subpixel_order()), int.*/#/' \ |
135 |
- -i tests/test_cairo.py || die |
136 |
- |
137 |
- gnome2_src_prepare |
138 |
- python_copy_sources |
139 |
-} |
140 |
- |
141 |
-src_configure() { |
142 |
- # Hard-enable libffi support since both gobject-introspection and |
143 |
- # glib-2.29.x rdepend on it anyway |
144 |
- # docs disabled by upstream default since they are very out of date |
145 |
- configuring() { |
146 |
- gnome2_src_configure \ |
147 |
- $(use_enable cairo) |
148 |
- |
149 |
- # Pyflakes tests work only in python2, bug #516744 |
150 |
- if use test && [[ ${EPYTHON} != python2.7 ]]; then |
151 |
- sed -e 's/if type pyflakes/if false/' \ |
152 |
- -i Makefile || die "sed failed" |
153 |
- fi |
154 |
- } |
155 |
- |
156 |
- python_foreach_impl run_in_build_dir configuring |
157 |
-} |
158 |
- |
159 |
-src_compile() { |
160 |
- python_foreach_impl run_in_build_dir gnome2_src_compile |
161 |
-} |
162 |
- |
163 |
-src_test() { |
164 |
- local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs |
165 |
- local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 |
166 |
- local -x SKIP_PEP8="yes" |
167 |
- |
168 |
- testing() { |
169 |
- local -x XDG_CACHE_HOME="${T}/${EPYTHON}" |
170 |
- emake -C "${BUILD_DIR}" check |
171 |
- } |
172 |
- virtx python_foreach_impl testing |
173 |
-} |
174 |
- |
175 |
-src_install() { |
176 |
- python_foreach_impl run_in_build_dir gnome2_src_install |
177 |
- |
178 |
- dodoc -r examples |
179 |
-} |
180 |
|
181 |
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild |
182 |
deleted file mode 100644 |
183 |
index 1faffe2b..00000000 |
184 |
--- a/dev-python/pygobject/pygobject-9999.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,105 +0,0 @@ |
187 |
-# Copyright 1999-2018 Gentoo Foundation |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
- |
190 |
-EAPI=6 |
191 |
-GNOME2_LA_PUNT="yes" |
192 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
193 |
- |
194 |
-inherit eutils gnome2 python-r1 virtualx |
195 |
-if [[ ${PV} = 9999 ]]; then |
196 |
- inherit gnome2-live |
197 |
-fi |
198 |
- |
199 |
-DESCRIPTION="GLib's GObject library bindings for Python" |
200 |
-HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" |
201 |
- |
202 |
-LICENSE="LGPL-2.1+" |
203 |
-SLOT="3" |
204 |
-if [[ ${PV} = 9999 ]]; then |
205 |
- KEYWORDS="" |
206 |
-else |
207 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
208 |
-fi |
209 |
-IUSE="+cairo examples test" |
210 |
- |
211 |
-REQUIRED_USE=" |
212 |
- ${PYTHON_REQUIRED_USE} |
213 |
- test? ( cairo ) |
214 |
-" |
215 |
- |
216 |
-COMMON_DEPEND="${PYTHON_DEPS} |
217 |
- >=dev-libs/glib-2.38:2 |
218 |
- >=dev-libs/gobject-introspection-1.46.0:= |
219 |
- virtual/libffi:= |
220 |
- cairo? ( |
221 |
- >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] |
222 |
- x11-libs/cairo ) |
223 |
-" |
224 |
-DEPEND="${COMMON_DEPEND} |
225 |
- virtual/pkgconfig |
226 |
- cairo? ( x11-libs/cairo[glib] ) |
227 |
- test? ( |
228 |
- dev-libs/atk[introspection] |
229 |
- media-fonts/font-cursor-misc |
230 |
- media-fonts/font-misc-misc |
231 |
- x11-libs/cairo[glib] |
232 |
- x11-libs/gdk-pixbuf:2[introspection,jpeg] |
233 |
- x11-libs/gtk+:3[introspection] |
234 |
- x11-libs/pango[introspection] |
235 |
- python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) |
236 |
-" |
237 |
-# gnome-base/gnome-common required by eautoreconf |
238 |
- |
239 |
-# We now disable introspection support in slot 2 per upstream recommendation |
240 |
-# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however, |
241 |
-# older versions of slot 2 installed their own site-packages/gi, and |
242 |
-# slot 3 will collide with them. |
243 |
-RDEPEND="${COMMON_DEPEND} |
244 |
- !<dev-python/pygtk-2.13 |
245 |
- !<dev-python/pygobject-2.28.6-r50:2[introspection] |
246 |
-" |
247 |
- |
248 |
-src_prepare() { |
249 |
- gnome2_src_prepare |
250 |
- python_copy_sources |
251 |
-} |
252 |
- |
253 |
-src_configure() { |
254 |
- # Hard-enable libffi support since both gobject-introspection and |
255 |
- # glib-2.29.x rdepend on it anyway |
256 |
- # docs disabled by upstream default since they are very out of date |
257 |
- configuring() { |
258 |
- gnome2_src_configure \ |
259 |
- $(use_enable cairo) |
260 |
- |
261 |
- # Pyflakes tests work only in python2, bug #516744 |
262 |
- if use test && [[ ${EPYTHON} != python2.7 ]]; then |
263 |
- sed -e 's/if type pyflakes/if false/' \ |
264 |
- -i Makefile || die "sed failed" |
265 |
- fi |
266 |
- } |
267 |
- |
268 |
- python_foreach_impl run_in_build_dir configuring |
269 |
-} |
270 |
- |
271 |
-src_compile() { |
272 |
- python_foreach_impl run_in_build_dir gnome2_src_compile |
273 |
-} |
274 |
- |
275 |
-src_test() { |
276 |
- local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs |
277 |
- local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 |
278 |
- local -x SKIP_PEP8="yes" |
279 |
- |
280 |
- testing() { |
281 |
- local -x XDG_CACHE_HOME="${T}/${EPYTHON}" |
282 |
- emake -C "${BUILD_DIR}" check |
283 |
- } |
284 |
- virtx python_foreach_impl testing |
285 |
-} |
286 |
- |
287 |
-src_install() { |
288 |
- python_foreach_impl run_in_build_dir gnome2_src_install |
289 |
- |
290 |
- dodoc -r examples |
291 |
-} |