From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 202B6158013 for ; Sat, 12 Oct 2024 04:59:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF609E29EC; Sat, 12 Oct 2024 04:59:45 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 605FEE29EA for ; Sat, 12 Oct 2024 04:59:45 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C87234320E for ; Sat, 12 Oct 2024 04:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E14672468 for ; Sat, 12 Oct 2024 04:59:41 +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: <1728709175.8a3bdb710c70a960e059120af69b29f96a5df0d9.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.16.0.ebuild X-VCS-Directories: dev-python/pygit2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8a3bdb710c70a960e059120af69b29f96a5df0d9 X-VCS-Branch: master Date: Sat, 12 Oct 2024 04:59:41 +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: 4b2a5b6b-4a63-4813-b548-15e099ed1c84 X-Archives-Hash: 419d3b738e422db512882ef53a0121c7 commit: 8a3bdb710c70a960e059120af69b29f96a5df0d9 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 12 04:44:27 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 12 04:59:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3bdb71 dev-python/pygit2: Bump to 1.16.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pygit2/Manifest | 1 + dev-python/pygit2/pygit2-1.16.0.ebuild | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 95626301adb9..452259045799 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1 +1,2 @@ DIST pygit2-1.15.1.tar.gz 768818 BLAKE2B ca418afc24a680cbfddee00ec9b6c8f4987ad65abd3d61b56cfc1682ce97a3685654f7663857a2a996c2c4f393ef2addfd336c5f5f548f3a1860056ba998bb40 SHA512 4795dbc7b05000955fea86e1b51209a77dfaf99ea806aa8a2be538aed8094638def3e15b0507c61ab57cad2b8e5faee7f1c90ce5c2b20094f972638e7c9bd20f +DIST pygit2-1.16.0.tar.gz 768597 BLAKE2B 30e8df4c3f992e075117bdcda3d84e2ed0618dd8556ae8574f6238992cacff69ec3c7c22a6ab85f7857156fbb4b3e6e75bc899e71ea59efcb1f8dee61687355f SHA512 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278 diff --git a/dev-python/pygit2/pygit2-1.16.0.ebuild b/dev-python/pygit2/pygit2-1.16.0.ebuild new file mode 100644 index 000000000000..2cefd0c5b7c2 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.16.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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 ~riscv ~x86" + +DEPEND=" + =dev-libs/libgit2-1.8.1:= +" +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 +}