Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygobject/
Date: Mon, 11 Mar 2019 16:16:06
Message-Id: 1552320851.09c01f77571d177340813069569dba80645b6355.leio@gentoo
1 commit: 09c01f77571d177340813069569dba80645b6355
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 14:55:27 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 16:14:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c01f77
7
8 dev-python/pygobject: bump to 3.30.4
9
10 Closes: https://bugs.gentoo.org/676556
11 Package-Manager: Portage-2.3.52, Repoman-2.3.12
12 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
13
14 dev-python/pygobject/Manifest | 1 +
15 dev-python/pygobject/pygobject-3.30.4.ebuild | 72 ++++++++++++++++++++++++++++
16 2 files changed, 73 insertions(+)
17
18 diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest
19 index 842c7784d53..c5894692176 100644
20 --- a/dev-python/pygobject/Manifest
21 +++ b/dev-python/pygobject/Manifest
22 @@ -1,2 +1,3 @@
23 DIST pygobject-2.28.6.tar.xz 747248 BLAKE2B 5f92794034b2d0559a623db4a7d273a7dc3f099cae87ede91b17e81acac085a9298c6b81b45b4b8540b6a75ced97e474a993437dbfcfc2133d3321d6a979b541 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c
24 DIST pygobject-3.28.3.tar.xz 1005368 BLAKE2B 5c24fd25fa20dbdbd3ad18d7e2eafd8f47f5e28903d9f8dab6110f09ccfc13f865149f0d4bd84bc755bc6e4191b903646930e818d85382dfaf4e05f7107b3ecf SHA512 0abda393dd774f9cea04f883eab53f5ebde81d2439ed18cfe08ef39a1996054ab34bf4e770f70116a4485fb4f9970464b9a950ffa4af76cfa21ecc8d4dff968d
25 +DIST pygobject-3.30.4.tar.xz 545424 BLAKE2B f4280c91e1098b6a4ed5eb2b7c756134967a1865655b14f7be37464009ea31fad09de9ad1b3b3e7db475d2f88aaa572df27e21d8d4dbf14463fc0231b11a97f1 SHA512 4540f9db2dedc428ecf403b3bb800c2a2ebcf1c701debfd53e9b88b1081e9c19ee0f48885ac9b3a8cec6b09b572b54f1e7d5a15a15d4459ec1052be566989ffb
26
27 diff --git a/dev-python/pygobject/pygobject-3.30.4.ebuild b/dev-python/pygobject/pygobject-3.30.4.ebuild
28 new file mode 100644
29 index 00000000000..9ce9fd9ddbe
30 --- /dev/null
31 +++ b/dev-python/pygobject/pygobject-3.30.4.ebuild
32 @@ -0,0 +1,72 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
38 +
39 +inherit gnome.org meson python-r1 virtualx xdg
40 +
41 +DESCRIPTION="GLib's GObject library bindings for Python"
42 +HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
43 +
44 +LICENSE="LGPL-2.1+"
45 +SLOT="3"
46 +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"
47 +IUSE="+cairo examples test"
48 +
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +RDEPEND="${PYTHON_DEPS}
52 + >=dev-libs/glib-2.38:2
53 + >=dev-libs/gobject-introspection-1.54:=
54 + virtual/libffi:=
55 + cairo? (
56 + >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
57 + x11-libs/cairo[glib] )
58 +"
59 +DEPEND="${RDEPEND}
60 + virtual/pkgconfig
61 + cairo? ( x11-libs/cairo[glib] )
62 + test? (
63 + dev-libs/atk[introspection]
64 + dev-python/pytest[${PYTHON_USEDEP}]
65 + x11-libs/gdk-pixbuf:2[introspection,jpeg]
66 + x11-libs/gtk+:3[introspection]
67 + x11-libs/pango[introspection] )
68 +"
69 +
70 +RESTRICT="!test? ( test )"
71 +
72 +src_configure() {
73 + configuring() {
74 + meson_src_configure \
75 + $(meson_use cairo pycairo) \
76 + -Dpython="${EPYTHON}"
77 + }
78 +
79 + python_foreach_impl configuring
80 +}
81 +
82 +src_compile() {
83 + python_foreach_impl meson_src_compile
84 +}
85 +
86 +src_test() {
87 + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
88 + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
89 +
90 + testing() {
91 + local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
92 + meson_src_test || die "test failed for ${EPYTHON}"
93 + }
94 + virtx python_foreach_impl testing
95 +}
96 +
97 +src_install() {
98 + installing() {
99 + meson_src_install
100 + python_optimize
101 + }
102 + python_foreach_impl installing
103 + use examples && dodoc -r examples
104 +}