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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08CC81581F3 for ; Wed, 27 Nov 2024 21:10:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18EACE086F; Wed, 27 Nov 2024 21:10:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12F14E0843 for ; Wed, 27 Nov 2024 21:10:44 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DBC23430BD for ; Wed, 27 Nov 2024 21:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67F371CA0 for ; Wed, 27 Nov 2024 21:10:41 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1732741799.e1acce5af190595a09e63b24a7d4a3b476ecde3b.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygobject/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygobject/Manifest dev-python/pygobject/pygobject-3.50.0.ebuild X-VCS-Directories: dev-python/pygobject/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: e1acce5af190595a09e63b24a7d4a3b476ecde3b X-VCS-Branch: master Date: Wed, 27 Nov 2024 21:10:41 +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: 329ce051-de3d-47a5-b0fc-074bde610cc7 X-Archives-Hash: bf6d8348fb09a3140c4859a21a81fb8c commit: e1acce5af190595a09e63b24a7d4a3b476ecde3b Author: Blake Batson gmail com> AuthorDate: Sun Sep 15 21:27:54 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Nov 27 21:09:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1acce5a dev-python/pygobject: add 3.50.0 Signed-off-by: Blake Batson gmail.com> Signed-off-by: Pacho Ramos gentoo.org> dev-python/pygobject/Manifest | 1 + dev-python/pygobject/pygobject-3.50.0.ebuild | 80 ++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index c8b85b769367..6433a5e2908d 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pygobject/pygobject-3.50.0.ebuild b/dev-python/pygobject/pygobject-3.50.0.ebuild new file mode 100644 index 000000000000..7444784cca00 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.50.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{10..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/ +" + +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" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.64:2 + >=dev-libs/gobject-introspection-1.64:= + 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 +}