summaryrefslogtreecommitdiff
path: root/dev-python/pygit2
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-24 04:06:50 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-24 04:34:00 +0200
commitd0ac686e5aeb996734e182f1f914065fca9f90ce (patch)
tree09f1c9260016e06bf71bfe2bb80f80a40540903e /dev-python/pygit2
parent1dfd7d556c9317fde626f1cf7d567d389969deab (diff)
downloadgentoo-d0ac686e5aeb996734e182f1f914065fca9f90ce.tar.gz
gentoo-d0ac686e5aeb996734e182f1f914065fca9f90ce.tar.bz2
gentoo-d0ac686e5aeb996734e182f1f914065fca9f90ce.zip
dev-python/pygit2: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygit2')
-rw-r--r--dev-python/pygit2/Manifest3
-rw-r--r--dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch37
-rw-r--r--dev-python/pygit2/pygit2-1.16.0.ebuild52
-rw-r--r--dev-python/pygit2/pygit2-1.18.0.ebuild46
-rw-r--r--dev-python/pygit2/pygit2-1.18.1.ebuild47
5 files changed, 0 insertions, 185 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest
index 8eda6daebb04..d79c966249ca 100644
--- a/dev-python/pygit2/Manifest
+++ b/dev-python/pygit2/Manifest
@@ -1,4 +1 @@
-DIST pygit2-1.16.0.tar.gz 768597 BLAKE2B 30e8df4c3f992e075117bdcda3d84e2ed0618dd8556ae8574f6238992cacff69ec3c7c22a6ab85f7857156fbb4b3e6e75bc899e71ea59efcb1f8dee61687355f SHA512 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278
-DIST pygit2-1.18.0.tar.gz 773270 BLAKE2B 3ca510c7e83f78ba37c62fa02562c93665d7393c69668d03f35b1952e9b0c32b94c4c642ec60d7320087f3703bfee31bd48718431e209dd1038501ef0ea654fd SHA512 d082322b38c0d609f9603f838a8909626d2f59cde1f7aafcd80107233fbed2741cfd480c0d305a540cdf890bed4a47d4122b015f906e4a0ed891f66ab64e3408
-DIST pygit2-1.18.1.tar.gz 781426 BLAKE2B 705b4397f6d8e2d1e46f06dcc5eb31e9e53acbf2eaeeffde954559b6d3216c6f2c76473653e3733b565330ba701524ba97cc58b3a7312a6fb6b03badabdc464b SHA512 57a13e0dc4c09754d61c2bff462f4a413c84292cc88bfa811da4243b0bcff8e5eed0dc9ccb399cc3dac8c366462c5ade64fd89573a13c250dfece47432c688e1
DIST pygit2-1.18.2.tar.gz 797200 BLAKE2B d65bc1d4a2bfbca43764f6fcf9bb050caf28c9455cb70b880036d9ac2b7271df5578549aaaeaa318f8eaf0316eb842d77512b2c1c2108250288c9e481b0f4c03 SHA512 81b0a2fbf57d1a9bb6eb8c29a7cb614a2d3e097518b2ea4510e2e59c2354510906d5063f2b94635a69e20a95473b1139146e29b9f21fcfd2f96ab0afa32ac7fe
diff --git a/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch b/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch
deleted file mode 100644
index 5bcd93320585..000000000000
--- a/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From eba710e45bb40e18641c6531394bb46631e7f295 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu>
-Date: Tue, 5 Nov 2024 12:26:44 +0100
-Subject: [PATCH] fix: use correct type of the ninth parameter of
- git_commit_create()
-
-It should be `const git_commit **`, not `git_commit **`.
-
-Breaks the build with GCC-14.
----
- src/repository.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/repository.c b/src/repository.c
-index d1d42ecf..3b5d57a1 100644
---- a/src/repository.c
-+++ b/src/repository.c
-@@ -1065,7 +1065,8 @@ Repository_create_commit(Repository *self, PyObject *args)
-
- err = git_commit_create(&oid, self->repo, update_ref,
- py_author->signature, py_committer->signature,
-- encoding, message, tree, parent_count, parents);
-+ encoding, message, tree, parent_count,
-+ (const git_commit **)parents);
- if (err < 0) {
- Error_set(err);
- goto out;
-@@ -1147,7 +1148,8 @@ Repository_create_commit_string(Repository *self, PyObject *args)
-
- err = git_commit_create_buffer(&buf, self->repo,
- py_author->signature, py_committer->signature,
-- encoding, message, tree, parent_count, parents);
-+ encoding, message, tree, parent_count,
-+ (const git_commit **)parents);
- if (err < 0) {
- Error_set(err);
- goto out;
diff --git a/dev-python/pygit2/pygit2-1.16.0.ebuild b/dev-python/pygit2/pygit2-1.16.0.ebuild
deleted file mode 100644
index aeb7d90c56b9..000000000000
--- a/dev-python/pygit2/pygit2-1.16.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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:=
- >=dev-libs/libgit2-1.8.1:=
-"
-BDEPEND="
- >=dev-python/cffi-1.17.0:=[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- ${BDEPEND}
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- local PATCHES=(
- # https://bugs.gentoo.org/942207
- # https://github.com/libgit2/pygit2/commit/eba710e45bb40e18641c6531394bb46631e7f295
- "${FILESDIR}/${P}-gcc-14.patch"
- )
-
- 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
-}
diff --git a/dev-python/pygit2/pygit2-1.18.0.ebuild b/dev-python/pygit2/pygit2-1.18.0.ebuild
deleted file mode 100644
index f0e976303bf6..000000000000
--- a/dev-python/pygit2/pygit2-1.18.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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} )
-
-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
-}
diff --git a/dev-python/pygit2/pygit2-1.18.1.ebuild b/dev-python/pygit2/pygit2-1.18.1.ebuild
deleted file mode 100644
index b4b942396145..000000000000
--- a/dev-python/pygit2/pygit2-1.18.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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} )
-
-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}
-"
-
-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
-}