commit: 0d07e28f8d6dd8b7038ad26f42081213bd64ea89
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 02:26:38 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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.10:=
+ >=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
+}