1 |
commit: 2ff041118ecf3dde4740add8bae094cd25bce4ee |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 03:05:30 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 03:05:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff04111 |
7 |
|
8 |
dev-python/pygobject: Version bump to 3.40.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-python/pygobject/Manifest | 1 + |
13 |
dev-python/pygobject/pygobject-3.40.1.ebuild | 76 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest |
17 |
index 6bceccc01f3..c6edc69e84e 100644 |
18 |
--- a/dev-python/pygobject/Manifest |
19 |
+++ b/dev-python/pygobject/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pygobject-3.38.0.tar.xz 553892 BLAKE2B d6add416c3f87ee9d5a56f30dbcaa599682ec5932b204f7c743d50475503ea2705e7943e6a93610d6f1c9d322723d1df6ea0f19c1cf245b2ca7d49395ca36170 SHA512 d63313dea2c143cf8c08a4678f1aa8e5908d503ad29c596eeb9fa1070e1231de57cf934c33031f9c4920b85e391f3b4143b46491ffd16e04e8d48871cb05e5df |
22 |
DIST pygobject-3.40.0.tar.xz 555920 BLAKE2B e7b3fa926066ddc6992c3087a582e25207ffb34f5c847be705953d8498f307661822462ceaa6362d120e96556a50882ed78540fce5cd2e97f0a4fd11232fe01c SHA512 c0c617e5678f942db33bdff6e149e438bd7d5f4e0a4e0a112476515d1face1c6e992457f998a5077a08bdacc1bda24711b29a4312bd3ee825b526d54a7ca3db7 |
23 |
+DIST pygobject-3.40.1.tar.xz 556104 BLAKE2B e6a092bee68121d9ef82f41f21c9811f384b8578c48de445f707f1b0de124cf38d899d34b8f4269a154ebd4e323afdfa7afef5c0c5cc5dc451b2cd68b30da04b SHA512 a8350f43ea99c93aa66a23102d4ee2ca3c7f8ec2c8bcf5cd142dd097b4fb38167f1713efff3584aa323c34656c911fb940e462c83c02b107e4aad93d005022f7 |
24 |
|
25 |
diff --git a/dev-python/pygobject/pygobject-3.40.1.ebuild b/dev-python/pygobject/pygobject-3.40.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8e08699fd4c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pygobject/pygobject-3.40.1.ebuild |
30 |
@@ -0,0 +1,76 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+inherit gnome.org meson python-r1 virtualx xdg |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for GObject Introspection" |
41 |
+HOMEPAGE="https://pygobject.readthedocs.io/" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1+" |
44 |
+SLOT="3" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="+cairo examples test" |
47 |
+ |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+ |
50 |
+RDEPEND="${PYTHON_DEPS} |
51 |
+ >=dev-libs/glib-2.56:2 |
52 |
+ >=dev-libs/gobject-introspection-1.56:= |
53 |
+ dev-libs/libffi:= |
54 |
+ cairo? ( |
55 |
+ >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] |
56 |
+ x11-libs/cairo[glib] ) |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ test? ( |
60 |
+ dev-libs/atk[introspection] |
61 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
62 |
+ x11-libs/gdk-pixbuf:2[introspection,jpeg] |
63 |
+ x11-libs/gtk+:3[introspection] |
64 |
+ x11-libs/pango[introspection] |
65 |
+ ) |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ virtual/pkgconfig |
69 |
+" |
70 |
+ |
71 |
+RESTRICT="!test? ( test )" |
72 |
+ |
73 |
+src_configure() { |
74 |
+ configuring() { |
75 |
+ meson_src_configure \ |
76 |
+ $(meson_feature cairo pycairo) \ |
77 |
+ $(meson_use test tests) \ |
78 |
+ -Dpython="${EPYTHON}" |
79 |
+ } |
80 |
+ |
81 |
+ python_foreach_impl configuring |
82 |
+} |
83 |
+ |
84 |
+src_compile() { |
85 |
+ python_foreach_impl meson_src_compile |
86 |
+} |
87 |
+ |
88 |
+src_test() { |
89 |
+ local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs |
90 |
+ local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 |
91 |
+ |
92 |
+ testing() { |
93 |
+ local -x XDG_CACHE_HOME="${T}/${EPYTHON}" |
94 |
+ meson_src_test || die "test failed for ${EPYTHON}" |
95 |
+ } |
96 |
+ virtx python_foreach_impl testing |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ installing() { |
101 |
+ meson_src_install |
102 |
+ python_optimize |
103 |
+ } |
104 |
+ python_foreach_impl installing |
105 |
+ use examples && dodoc -r examples |
106 |
+} |