commit:     05b039ecd4fa117cce964582eb368062c6d69eb4
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sun Mar 19 18:16:12 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 23:38:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b039ec

dev-python/pygobject: Version bump to 3.44.0

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

 dev-python/pygobject/Manifest                |  1 +
 dev-python/pygobject/pygobject-3.44.0.ebuild | 74 ++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

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

diff --git a/dev-python/pygobject/pygobject-3.44.0.ebuild 
b/dev-python/pygobject/pygobject-3.44.0.ebuild
new file mode 100644
index 000000000000..4973eef2ad38
--- /dev/null
+++ b/dev-python/pygobject/pygobject-3.44.0.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
+}

Reply via email to