dev-python/pygit2: Bump to 1.19.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-10-24 04:26:38 +02:00
parent d0ac686e5a
commit 0d07e28f8d
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 48 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pygit2-1.18.2.tar.gz 797200 BLAKE2B d65bc1d4a2bfbca43764f6fcf9bb050caf28c9455cb70b880036d9ac2b7271df5578549aaaeaa318f8eaf0316eb842d77512b2c1c2108250288c9e481b0f4c03 SHA512 81b0a2fbf57d1a9bb6eb8c29a7cb614a2d3e097518b2ea4510e2e59c2354510906d5063f2b94635a69e20a95473b1139146e29b9f21fcfd2f96ab0afa32ac7fe DIST pygit2-1.18.2.tar.gz 797200 BLAKE2B d65bc1d4a2bfbca43764f6fcf9bb050caf28c9455cb70b880036d9ac2b7271df5578549aaaeaa318f8eaf0316eb842d77512b2c1c2108250288c9e481b0f4c03 SHA512 81b0a2fbf57d1a9bb6eb8c29a7cb614a2d3e097518b2ea4510e2e59c2354510906d5063f2b94635a69e20a95473b1139146e29b9f21fcfd2f96ab0afa32ac7fe
DIST pygit2-1.19.0.tar.gz 799757 BLAKE2B 023769d53ac786fca5f4642541ef231d4f7e4d9fcd874f0d8bade10986f4402fcfa146fb9fb8c175ee40e3e58f0026fd91d0bf1d6dd16a6baa4ffc2fcc2e86d7 SHA512 04253abdf01a45cd1641d74ef48df8fc26239a57a2784b550cc2ce4665d9b1866718b9e6f8ee7bba41003c7f048e4bd1c340b9bd9047b9931244b0f496317876

View File

@ -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
}