commit:     45641c5eb02ee5d4993be652871d6e908a336988
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Mon Mar  6 21:56:17 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 02:01:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45641c5e

dev-python/pygobject: Version bump to 3.43.1

Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29969
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-python/pygobject/Manifest                |  1 +
 dev-python/pygobject/pygobject-3.43.1.ebuild | 74 ++++++++++++++++++++++++++++
 profiles/package.mask                        |  1 +
 3 files changed, 76 insertions(+)

diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest
index feaa06b9d9c3..64b1d99664d3 100644
--- a/dev-python/pygobject/Manifest
+++ b/dev-python/pygobject/Manifest
@@ -1 +1,2 @@
 DIST pygobject-3.42.2.tar.xz 558724 BLAKE2B 
3e98cf52e818eff42beb8b6120ee8eb4cbe3a6f49670d355e1081b71d411bc93fc701cc37108a321cfcc19698c39b8b61cce5a9369d871da58fd2a2c0455fb96
 SHA512 
eb604f839e0702e8aeff0f19665e44c05c56cae02ce892e9ab8a95ddb0d5d0216182d0c9a0059fc8e05990c0d5707f2f7456d8924bbfb95ce1d9a42908ac0119
+DIST pygobject-3.43.1.tar.xz 559504 BLAKE2B 
d8424b34a7945d2ef98bcaff009e5a5555281c187cb8d28cffdcddbec5b16b20619cbb64c3e1ccf23128c4ff4f8187151ca75044977ffb563506085816d886f4
 SHA512 
e12e53368a94f49daacf24519d9bd65ca11481d6a3059635bebaec43a84d2620fb619c2eac36f7f6b0202a6268b1990f9452355e13b114a4988de18fe30ce66e

diff --git a/dev-python/pygobject/pygobject-3.43.1.ebuild 
b/dev-python/pygobject/pygobject-3.43.1.ebuild
new file mode 100644
index 000000000000..4973eef2ad38
--- /dev/null
+++ b/dev-python/pygobject/pygobject-3.43.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit gnome.org meson virtualx xdg distutils-r1
+
+DESCRIPTION="Python bindings for GObject Introspection"
+HOMEPAGE="https://pygobject.readthedocs.io/";
+
+LICENSE="LGPL-2.1+"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cairo examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.56:2
+       >=dev-libs/gobject-introspection-1.56:=
+       dev-libs/libffi:=
+       cairo? (
+               >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}]
+               x11-libs/cairo[glib]
+       )
+"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=app-accessibility/at-spi2-core-2.46.0[introspection]
+               dev-python/pytest[${PYTHON_USEDEP}]
+               x11-libs/gdk-pixbuf:2[introspection,jpeg]
+               x11-libs/gtk+:3[introspection]
+               x11-libs/pango[introspection]
+       )
+"
+BDEPEND="virtual/pkgconfig"
+
+python_configure() {
+       local emesonargs=(
+               $(meson_feature cairo pycairo)
+               $(meson_use test tests)
+               -Dpython="${EPYTHON}"
+       )
+       meson_src_configure
+}
+
+python_compile() {
+       meson_src_compile
+}
+
+src_test() {
+       virtx distutils-r1_src_test
+}
+
+python_test() {
+       local -x GIO_USE_VFS="local" # prevents odd issues with deleting 
${T}/.gvfs
+       local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related 
failures in chroots, bug #449484
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
+       meson_src_test --timeout-multiplier 3 || die "test failed for 
${EPYTHON}"
+}
+
+python_install() {
+       meson_src_install
+       python_optimize
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+       use examples && dodoc -r examples
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index b0c0c2e2ac7c..ff5a99bc346e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -36,6 +36,7 @@
 # Guillermo Joandet <[email protected]> (2023-03-11)
 # In preparation for GNOME 44
 >=dev-libs/gjs-1.75
+>=dev-python/pygobject-3.43
 >=gnome-base/gnome-session-44_rc
 >=gnome-base/gnome-settings-daemon-44_rc
 >=gnome-base/gnome-shell-44_rc

Reply via email to