From 1f008cb4bbfdd0a809076bb9995ef6d202b65337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 9 Jan 2025 06:04:30 +0100 Subject: dev-python/pygit2: Bump to 1.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pygit2/Manifest | 1 + dev-python/pygit2/pygit2-1.17.0.ebuild | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/pygit2/pygit2-1.17.0.ebuild (limited to 'dev-python/pygit2') diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index f11a79adf00b..bfa77ee10b8d 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -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 diff --git a/dev-python/pygit2/pygit2-1.17.0.ebuild b/dev-python/pygit2/pygit2-1.17.0.ebuild new file mode 100644 index 000000000000..a31d43cb304f --- /dev/null +++ b/dev-python/pygit2/pygit2-1.17.0.ebuild @@ -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.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 +} -- cgit v1.2.3