summaryrefslogtreecommitdiff
path: root/dev-python/pygobject
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-09 07:00:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-09 07:00:06 +0000
commitd040dfeee4aeee655599ab9091f1fb756b21c23d (patch)
tree9d41a24bcf6a18d726ce739193e861d42a92e1a5 /dev-python/pygobject
parent653793351c5886fac93c93c99705943c0c46b857 (diff)
downloadbaldeagleos-repo-d040dfeee4aeee655599ab9091f1fb756b21c23d.tar.gz
baldeagleos-repo-d040dfeee4aeee655599ab9091f1fb756b21c23d.tar.xz
baldeagleos-repo-d040dfeee4aeee655599ab9091f1fb756b21c23d.zip
Adding metadata
Diffstat (limited to 'dev-python/pygobject')
-rw-r--r--dev-python/pygobject/Manifest4
-rw-r--r--dev-python/pygobject/files/Skip-test-detecting-cycle-among-base-classes-typeerr.patch21
-rw-r--r--dev-python/pygobject/files/Skip-test-using-dbus-in-sandbox.patch21
-rw-r--r--dev-python/pygobject/pygobject-3.48.2-r1.ebuild5
-rw-r--r--dev-python/pygobject/pygobject-3.50.0.ebuild5
-rw-r--r--dev-python/pygobject/pygobject-3.50.1.ebuild (renamed from dev-python/pygobject/pygobject-3.46.0-r1.ebuild)18
-rw-r--r--dev-python/pygobject/pygobject-3.52.3.ebuild102
7 files changed, 155 insertions, 21 deletions
diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest
index 6433a5e2908d..d865e5cf53a6 100644
--- a/dev-python/pygobject/Manifest
+++ b/dev-python/pygobject/Manifest
@@ -1,3 +1,5 @@
-DIST pygobject-3.46.0.tar.xz 561552 BLAKE2B 6b8c9b4bf6df819c09b7bd2ea6dcb0e7c24ed7f171487b774469bd2c4694df9d4473dbde05273afc7a370f2b1f352d60347aa221bdd674a4aa8a54123d5e54cd SHA512 48293c193ba5aece38d99f45d325d0329ac33e88442bf00848fe818a7c838977b8d2cf50a404c30e8852ccc0b4a44dfda07751d51acc21f740aa2ab6aa3ce661
DIST pygobject-3.48.2.tar.xz 556244 BLAKE2B 6ac7a42752d65668f228aa9823a4e256b030bc84683857e5470bc373eaaf383904d18399379b4a7d0989644e2b0825d63cc8b3f927b97608a209f888bf8cb276 SHA512 11619f73be5894fae82b261779f33390d1aec51b02bcf285c58f3c76ee46dfc1b3f435e4662176fde5ca899aee5afc453f8f0ba28e15e15330a52354cf737d45
DIST pygobject-3.50.0.tar.xz 929848 BLAKE2B 1f3d27f055132e82c7aff2f4aa664d1dec57096027a4ceaf9c7245d0e05627d4ba5a8cb7396d35cec4ccf86db9cfedcf9f18a200252fffd00340888e95909c09 SHA512 59edec92b29f3101e4f1afd83a37f4d490e8d833e0dbba9ae8c30891541767e3738bb748ed939b2baef1041eec88f192188d38a82712f1ebc089005b4d6f03a9
+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.50.1.tar.gz 1081846 BLAKE2B 7c6fd07e913f64d925838efc6fa0603fef2298779bee15c2c2b2325dd39942ac4856e71846077b6c89e2b05508d66ce606430433257bbb9d6388a4613436615f SHA512 5708756cbc8e2b697442953a7f3d391ace98f1b7811cb905b0d80185f020bf32a775d70c49d1620a9733e83a6862314f2a72fa1b77cb26a01e84b3bff72e068e
diff --git a/dev-python/pygobject/files/Skip-test-detecting-cycle-among-base-classes-typeerr.patch b/dev-python/pygobject/files/Skip-test-detecting-cycle-among-base-classes-typeerr.patch
new file mode 100644
index 000000000000..cbadef48300d
--- /dev/null
+++ b/dev-python/pygobject/files/Skip-test-detecting-cycle-among-base-classes-typeerr.patch
@@ -0,0 +1,21 @@
+From 26aa63716d32f90bd67250df4a1234237d18bbad Mon Sep 17 00:00:00 2001
+From: Lukas Schmelting <lschmelting@posteo.com>
+Date: Tue, 27 May 2025 23:47:39 +0200
+Subject: [PATCH 2/2] Skip test detecting cycle among base classes typeerror
+
+Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
+---
+ tests/test_gi.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/test_gi.py b/tests/test_gi.py
+index 9ab4882..8aeb609 100644
+--- a/tests/test_gi.py
++++ b/tests/test_gi.py
+@@ -2860,2 +2860,3 @@ class TestMRO(unittest.TestCase):
+
++ @pytest.mark.skip(reason="TypeError: Cycle among base classes")
+ def test_interface_collision(self):
+--
+2.49.0
+
diff --git a/dev-python/pygobject/files/Skip-test-using-dbus-in-sandbox.patch b/dev-python/pygobject/files/Skip-test-using-dbus-in-sandbox.patch
new file mode 100644
index 000000000000..405b3f6a9acb
--- /dev/null
+++ b/dev-python/pygobject/files/Skip-test-using-dbus-in-sandbox.patch
@@ -0,0 +1,21 @@
+From 5f57664aca65b5bd433b0a016da92bb74ca378d1 Mon Sep 17 00:00:00 2001
+From: Lukas Schmelting <lschmelting@posteo.com>
+Date: Tue, 27 May 2025 23:46:51 +0200
+Subject: [PATCH 1/2] Skip test using dbus in sandbox
+
+Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
+---
+ tests/test_gdbus.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/test_gdbus.py b/tests/test_gdbus.py
+index 8fe3952..d5e9d79 100644
+--- a/tests/test_gdbus.py
++++ b/tests/test_gdbus.py
+@@ -138,2 +138,3 @@ class TestGDBusClient(unittest.TestCase):
+
++ @pytest.mark.skip(reason="Use of dbus in sandbox")
+ def test_python_calls_sync(self):
+--
+2.49.0
+
diff --git a/dev-python/pygobject/pygobject-3.48.2-r1.ebuild b/dev-python/pygobject/pygobject-3.48.2-r1.ebuild
index a193649614df..dc0a2c6df878 100644
--- a/dev-python/pygobject/pygobject-3.48.2-r1.ebuild
+++ b/dev-python/pygobject/pygobject-3.48.2-r1.ebuild
@@ -10,10 +10,7 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} )
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/
-"
+HOMEPAGE="https://pygobject.gnome.org"
LICENSE="LGPL-2.1+"
SLOT="3"
diff --git a/dev-python/pygobject/pygobject-3.50.0.ebuild b/dev-python/pygobject/pygobject-3.50.0.ebuild
index f98d734d6016..530a1abb604f 100644
--- a/dev-python/pygobject/pygobject-3.50.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.50.0.ebuild
@@ -11,10 +11,7 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
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/
-"
+HOMEPAGE="https://pygobject.gnome.org"
LICENSE="LGPL-2.1+"
SLOT="3"
diff --git a/dev-python/pygobject/pygobject-3.46.0-r1.ebuild b/dev-python/pygobject/pygobject-3.50.1.ebuild
index d66c8d445256..66e358a39b84 100644
--- a/dev-python/pygobject/pygobject-3.46.0-r1.ebuild
+++ b/dev-python/pygobject/pygobject-3.50.1.ebuild
@@ -5,20 +5,19 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=no
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+GNOME_TARBALL_SUFFIX="gz"
+# py3.14: https://gitlab.gnome.org/GNOME/pygobject/-/issues/694
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit gnome.org meson virtualx xdg distutils-r1
DESCRIPTION="Python bindings for GObject Introspection"
-HOMEPAGE="
- https://pygobject.readthedocs.io/
- https://gitlab.gnome.org/GNOME/pygobject/
-"
+HOMEPAGE="https://pygobject.gnome.org"
LICENSE="LGPL-2.1+"
SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="+cairo examples test"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+cairo test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -73,8 +72,3 @@ python_install() {
meson_src_install
python_optimize
}
-
-python_install_all() {
- distutils-r1_python_install_all
- use examples && dodoc -r examples
-}
diff --git a/dev-python/pygobject/pygobject-3.52.3.ebuild b/dev-python/pygobject/pygobject-3.52.3.ebuild
new file mode 100644
index 000000000000..01386cbfc209
--- /dev/null
+++ b/dev-python/pygobject/pygobject-3.52.3.ebuild
@@ -0,0 +1,102 @@
+# 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_{9,10,11,12,13} pypy3 )
+
+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/
+"
+COMMIT=0a8b2c56331a31d7f7096faaa1c1c26467b51c15
+SRC_URI+="
+ https://github.com/python/pythoncapi-compat/archive/${COMMIT}.tar.gz -> \
+ ${P}_${COMMIT}_pythoncapi-compat.gh.tar.gz
+"
+LICENSE="LGPL-2.1+"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~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"
+)
+
+src_unpack() {
+ default
+ unpack "${P}_${COMMIT}_pythoncapi-compat.gh.tar.gz"
+}
+
+src_prepare() {
+ default
+ find "${S}/subprojects/pythoncapi-compat" -mindepth 1 ! -name meson.build -exec rm -vrf {} + || die
+ mv -v "${WORKDIR}/pythoncapi-compat-${COMMIT}"/* "${S}/subprojects/pythoncapi-compat" || die
+}
+
+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}"
+
+ if [[ ${EPYTHON} == python3.14* ]] ; then
+ # https://gitlab.gnome.org/GNOME/pygobject/-/issues/694
+ local -x PYTEST_ADDOPTS="-k 'not (ref_count or has_two_refs)'"
+ fi
+
+ meson_src_test --timeout-multiplier 3 || die "test for ${EPYTHON}"
+}
+
+python_install() {
+ meson_src_install
+ python_optimize
+}