dev-python/pygobject: add 3.54.5

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44783
Closes: https://github.com/gentoo/gentoo/pull/44783
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2025-11-26 15:22:57 +02:00 committed by Sam James
parent 4671918e9b
commit 4c091477ce
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 83 additions and 0 deletions

View File

@ -4,3 +4,4 @@ DIST pygobject-3.50.1.tar.gz 1081846 BLAKE2B 7c6fd07e913f64d925838efc6fa0603fef2
DIST pygobject-3.52.3.tar.gz 1235825 BLAKE2B f9d95ff9e12b6d6fb5c36d1528ff4ef45e6799316ac21b0f79364dc438bf4e0e6670489f23e0ca4325fc21d16cc2d96fe6aff61f71b8bfe768df2c487717e6df SHA512 06085df458076120017ace7a029ac6c00757ae1882a2a50041aadd7f4c2a329a0fb4d18dde02a481c1f4d3acecbc9d8f473f4ae23fbbfc4f885f75bbc7847f24
DIST pygobject-3.52.3_0a8b2c56331a31d7f7096faaa1c1c26467b51c15_pythoncapi-compat.gh.tar.gz 50124 BLAKE2B 67bb1e60d10d72b146ae2f8ca0113939916fa67a3c71c3658343ff3742315768471e50c0254a3f9488031297d6697dbb0e8541bfe72e8b0754ede09fb9d65da8 SHA512 3fff69f471e28b47bbb537d31d182180631090c00aaf45931aad128f4cb700cdfd519ce560610b7e57132ad7d172b8f2bc4cd16cf748f218dafdadd15fc48718
DIST pygobject-3.54.3.tar.gz 1272609 BLAKE2B d80dded1d2ac7dbc20dddfe5c05a4f03eb9619a32475725211562a883f6637d90b9be213fa5b49fd214663422584340297c6b8c6655042cb011058dd6d3ec729 SHA512 d3052c99133703560ca70d53461bf6fbdb1397cec179a9ea47fd59fcce595611f33040b974bea95e11affb733be27f2693252d002ec68f08a7ecae3382dac898
DIST pygobject-3.54.5.tar.gz 1274658 BLAKE2B 7541502dd4d0f62680d12ebb00f1039c6b33e9c1996500a3d0e54c6c87d719e99e32469d68cfdb04e8e8eaed70e2461739ea176e7bf98100f2329c7084425b5e SHA512 0036068922de03dfa15335b29eb27a9cfd85310b66eae4eb6cb895c427a9fbf3c65462930e981f03b9394bede6fe97639e0bdbee640373188a9c51ad03b65041

View File

@ -0,0 +1,82 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=no
GNOME_TARBALL_SUFFIX="gz"
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit gnome.org meson virtualx xdg distutils-r1
DESCRIPTION="Python bindings for GObject Introspection"
HOMEPAGE="
https://pygobject.gnome.org/
https://gitlab.gnome.org/GNOME/pygobject/
"
LICENSE="LGPL-2.1+"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE="+cairo test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.80:2
>=dev-libs/gobject-introspection-1.84:=
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
"
PATCHES=(
"${FILESDIR}/Skip-test-using-dbus-in-sandbox.patch"
"${FILESDIR}/Skip-test-detecting-cycle-among-base-classes-typeerr.patch"
)
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 for ${EPYTHON}"
}
python_install() {
meson_src_install
python_optimize
}