dev-python/pygit2: Bump to 1.17.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-09 06:04:30 +01:00
parent a2247364e7
commit 1f008cb4bb
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pygit2-1.16.0.tar.gz 768597 BLAKE2B 30e8df4c3f992e075117bdcda3d84e2ed0618dd8556ae8574f6238992cacff69ec3c7c22a6ab85f7857156fbb4b3e6e75bc899e71ea59efcb1f8dee61687355f SHA512 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278
DIST pygit2-1.17.0.tar.gz 769002 BLAKE2B d42b2509e341dd8e58e1d8b57d8b38a8d2e35323fa6714bbce97f4d685e68932ea010d3dade00504bbf29b9fecd8ffbcc5f53111398c03a6f2992570bf170db1 SHA512 f0f70c5ca0903c0c51ee431a8c4cded44ad3c5272b81df5b7c3b61c5fd0dd5279ed64e27132c051a6a02c8087d6914d8ffb2a2d24c1d14d1e0dde1ba2a3d428b

View File

@@ -0,0 +1,46 @@
# 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_{10..13} )
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-1.17.0:=[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
${BDEPEND}
"
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
}