1 |
commit: b37d174f57489d85dc1cbb543647a85de4f18646 |
2 |
Author: Marcin Wozniak <kaczor982 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 4 14:07:51 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 02:54:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37d174f |
7 |
|
8 |
dev-python/pygobject: Version bump to 3.34.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/703002 |
11 |
Closes: https://bugs.gentoo.org/704196 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14238 |
13 |
Signed-off-by: Marcin Wozniak <y0rune <AT> aol.com> |
14 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
15 |
|
16 |
dev-python/pygobject/Manifest | 1 + |
17 |
dev-python/pygobject/pygobject-3.34.0.ebuild | 75 ++++++++++++++++++++++++++++ |
18 |
2 files changed, 76 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest |
21 |
index 072d5513355..353a2297b08 100644 |
22 |
--- a/dev-python/pygobject/Manifest |
23 |
+++ b/dev-python/pygobject/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST pygobject-2.28.6.tar.xz 747248 BLAKE2B 5f92794034b2d0559a623db4a7d273a7dc3f099cae87ede91b17e81acac085a9298c6b81b45b4b8540b6a75ced97e474a993437dbfcfc2133d3321d6a979b541 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c |
26 |
DIST pygobject-3.32.1.tar.xz 551708 BLAKE2B ba7c34e4747d6a11424a23195f71877ecbd69b463b3c8aae7634a320cc8ec723e24301c0674b9ffbfdcb6d798fddddb5b772a723afc7ac28c23461e84cf7485a SHA512 5b325d0caf4f34f783fc2c664a795809f048eb1639d2f2e375fc147c852d6e29a8ab119438cac76786fb20220c72d5859cc06d6f70c29f976f6a5914e0169915 |
27 |
+DIST pygobject-3.34.0.tar.xz 552268 BLAKE2B a9cbeb644e0aa1b23067b591fe5c6299741395656631d39782a8c183a5d3a8e5e7f1a81acdefee186b7cc2bc34dda9271468b1828d5b9613ddc1256e24f1ecb8 SHA512 782195d22e564b88dea8d43469f0111f398b44b51a63df2fe7d07650af94d5cd037f322a5d7e405338823be3419fcdbf0113fe50b220ab1cfd07d4d01dbc4766 |
28 |
|
29 |
diff --git a/dev-python/pygobject/pygobject-3.34.0.ebuild b/dev-python/pygobject/pygobject-3.34.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..95582be28f2 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/pygobject/pygobject-3.34.0.ebuild |
34 |
@@ -0,0 +1,75 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) |
41 |
+ |
42 |
+inherit gnome.org meson python-r1 virtualx xdg |
43 |
+ |
44 |
+DESCRIPTION="Python bindings for GObject Introspection" |
45 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/pygobject https://wiki.gnome.org/Projects/PyGObject https://pygobject.readthedocs.io/" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1+" |
48 |
+SLOT="3" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="+cairo examples test" |
51 |
+ |
52 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
+ |
54 |
+RDEPEND="${PYTHON_DEPS} |
55 |
+ >=dev-libs/glib-2.48:2 |
56 |
+ >=dev-libs/gobject-introspection-1.54:= |
57 |
+ virtual/libffi:= |
58 |
+ cairo? ( |
59 |
+ >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] |
60 |
+ x11-libs/cairo[glib] ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ test? ( |
64 |
+ dev-libs/atk[introspection] |
65 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
66 |
+ x11-libs/gdk-pixbuf:2[introspection,jpeg] |
67 |
+ x11-libs/gtk+:3[introspection] |
68 |
+ x11-libs/pango[introspection] ) |
69 |
+" |
70 |
+BDEPEND=" |
71 |
+ virtual/pkgconfig |
72 |
+" |
73 |
+ |
74 |
+RESTRICT="!test? ( test )" |
75 |
+ |
76 |
+src_configure() { |
77 |
+ configuring() { |
78 |
+ meson_src_configure \ |
79 |
+ $(meson_use cairo pycairo) \ |
80 |
+ $(meson_use test tests) \ |
81 |
+ -Dpython="${EPYTHON}" |
82 |
+ } |
83 |
+ |
84 |
+ python_foreach_impl configuring |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ python_foreach_impl meson_src_compile |
89 |
+} |
90 |
+ |
91 |
+src_test() { |
92 |
+ local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs |
93 |
+ local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 |
94 |
+ |
95 |
+ testing() { |
96 |
+ local -x XDG_CACHE_HOME="${T}/${EPYTHON}" |
97 |
+ meson_src_test || die "test failed for ${EPYTHON}" |
98 |
+ } |
99 |
+ virtx python_foreach_impl testing |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ installing() { |
104 |
+ meson_src_install |
105 |
+ python_optimize |
106 |
+ } |
107 |
+ python_foreach_impl installing |
108 |
+ use examples && dodoc -r examples |
109 |
+} |