From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23E0E15806E for ; Sat, 3 Jun 2023 06:48:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABF89E08C3; Sat, 3 Jun 2023 06:48:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 950C6E08C2 for ; Sat, 3 Jun 2023 06:48:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 217E83413C5 for ; Sat, 3 Jun 2023 06:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB0F9A99 for ; Sat, 3 Jun 2023 06:48:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1685774902.67e4b45d75251c0d559167d5dfb2831e2493ba58.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygobject/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygobject/pygobject-3.44.1.ebuild X-VCS-Directories: dev-python/pygobject/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 67e4b45d75251c0d559167d5dfb2831e2493ba58 X-VCS-Branch: master Date: Sat, 3 Jun 2023 06:48:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a73df649-d694-4ec7-9f65-4119e9bb50ea X-Archives-Hash: 9984142a76ab219d68f3f512714ad720 commit: 67e4b45d75251c0d559167d5dfb2831e2493ba58 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 3 06:33:22 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 3 06:48:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e4b45d dev-python/pygobject: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/pygobject/pygobject-3.44.1.ebuild | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-python/pygobject/pygobject-3.44.1.ebuild b/dev-python/pygobject/pygobject-3.44.1.ebuild index 328eb9736f93..231063a2d18f 100644 --- a/dev-python/pygobject/pygobject-3.44.1.ebuild +++ b/dev-python/pygobject/pygobject-3.44.1.ebuild @@ -5,12 +5,15 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit gnome.org meson virtualx xdg distutils-r1 DESCRIPTION="Python bindings for GObject Introspection" -HOMEPAGE="https://pygobject.readthedocs.io/" +HOMEPAGE=" + https://pygobject.readthedocs.io/ + https://gitlab.gnome.org/GNOME/pygobject/ +" LICENSE="LGPL-2.1+" SLOT="3" @@ -41,6 +44,15 @@ BDEPEND=" virtual/pkgconfig " +src_prepare() { + # workaround minor py3.12 test failure + # (I wish we could just use EPYTEST_DESELECT here, sigh) + # https://gitlab.gnome.org/GNOME/pygobject/-/issues/582 + sed -i -e 's@Item 0: @.*@' tests/test_gi.py || die + + distutils-r1_src_prepare +} + python_configure() { local emesonargs=( $(meson_feature cairo pycairo)