From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82009158088 for ; Fri, 24 Oct 2025 02:34:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6D2733415D9 for ; Fri, 24 Oct 2025 02:34:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6029811057D; Fri, 24 Oct 2025 02:34:16 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5812C110578 for ; Fri, 24 Oct 2025 02:34:16 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8D96341021 for ; Fri, 24 Oct 2025 02:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58CCE2830 for ; Fri, 24 Oct 2025 02:34:13 +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: <1761273241.0d07e28f8d6dd8b7038ad26f42081213bd64ea89.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygit2/Manifest dev-python/pygit2/pygit2-1.19.0.ebuild X-VCS-Directories: dev-python/pygit2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0d07e28f8d6dd8b7038ad26f42081213bd64ea89 X-VCS-Branch: master Date: Fri, 24 Oct 2025 02:34:13 +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: ec652fea-bf3c-4c4a-b2f2-b88737aa6c93 X-Archives-Hash: 4ccf375d2cb72e6b6e5ba982204baf97 commit: 0d07e28f8d6dd8b7038ad26f42081213bd64ea89 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 24 02:26:38 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 24 02:34:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d07e28f dev-python/pygit2: Bump to 1.19.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pygit2/Manifest | 1 + dev-python/pygit2/pygit2-1.19.0.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index d79c966249ca..c613ba17e4cb 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1 +1,2 @@ DIST pygit2-1.18.2.tar.gz 797200 BLAKE2B d65bc1d4a2bfbca43764f6fcf9bb050caf28c9455cb70b880036d9ac2b7271df5578549aaaeaa318f8eaf0316eb842d77512b2c1c2108250288c9e481b0f4c03 SHA512 81b0a2fbf57d1a9bb6eb8c29a7cb614a2d3e097518b2ea4510e2e59c2354510906d5063f2b94635a69e20a95473b1139146e29b9f21fcfd2f96ab0afa32ac7fe +DIST pygit2-1.19.0.tar.gz 799757 BLAKE2B 023769d53ac786fca5f4642541ef231d4f7e4d9fcd874f0d8bade10986f4402fcfa146fb9fb8c175ee40e3e58f0026fd91d0bf1d6dd16a6baa4ffc2fcc2e86d7 SHA512 04253abdf01a45cd1641d74ef48df8fc26239a57a2784b550cc2ce4665d9b1866718b9e6f8ee7bba41003c7f048e4bd1c340b9bd9047b9931244b0f496317876 diff --git a/dev-python/pygit2/pygit2-1.19.0.ebuild b/dev-python/pygit2/pygit2-1.19.0.ebuild new file mode 100644 index 000000000000..b69afac3b4fd --- /dev/null +++ b/dev-python/pygit2/pygit2-1.19.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} python3_14t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for libgit2" +HOMEPAGE=" + https://github.com/libgit2/pygit2/ + https://pypi.org/project/pygit2/ +" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~loong ~riscv ~x86" + +DEPEND=" + =dev-libs/libgit2-1.9.0:= +" +BDEPEND=" + >=dev-python/cffi-2.0.0:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${BDEPEND} +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unconditionally prevent it from using network + sed -i -e '/has_network/s:True:False:' test/utils.py || die +} + +src_test() { + rm -r pygit2 || die + distutils-r1_src_test +}