diff options
Diffstat (limited to 'dev-python/pygit2')
| -rw-r--r-- | dev-python/pygit2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pygit2/pygit2-1.19.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pygit2/pygit2-1.19.3.ebuild | 47 |
3 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index ef87c6a29170..c68b58a69a05 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1 +1,2 @@ DIST pygit2-1.19.2.tar.gz 803448 BLAKE2B ec15daaca0b7a01ffd53bbaac64d20aa5e06073974770b27f33772e63b3f03375fcdfa8784933930e55881a79e2fbe2e92c86b658d1d927a4e39c7d33f547f2e SHA512 e40699d38709fd24c3ca8e9e224e17af45aa0dd2c8149b5e766164b28dd93c1b0603ad4dc358e80a8ea223a60030fa8552f6b6fb28e0320fc040abee30dace7a +DIST pygit2-1.19.3.tar.gz 810489 BLAKE2B 51921590e53d5146fd7bbdf62e426aa88158e82d10ac83cb6666b03169889a8f7990a2fc6d79d6337f5fc98c4b33ec771b5edee0d46937133bbeeecfc46feea3 SHA512 6089eeb3a2af2c9ec9f09815cc3bcc7e0c41acbc8cec68d09f50de803ef526b7ea321858934b89e8d34d1c4974e2456596ebd26a179be6023616c5abbde7fe58 diff --git a/dev-python/pygit2/pygit2-1.19.2.ebuild b/dev-python/pygit2/pygit2-1.19.2.ebuild index a83f5ac90f7e..007b9fe02a3b 100644 --- a/dev-python/pygit2/pygit2-1.19.2.ebuild +++ b/dev-python/pygit2/pygit2-1.19.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2-with-linking-exception" SLOT="0" -KEYWORDS="amd64 ~loong ~riscv x86" +KEYWORDS="amd64 ~arm64 ~loong ~riscv x86" DEPEND=" <dev-libs/libgit2-1.10:= diff --git a/dev-python/pygit2/pygit2-1.19.3.ebuild b/dev-python/pygit2/pygit2-1.19.3.ebuild new file mode 100644 index 000000000000..fe0d4c3ae938 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.19.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 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_{13..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 ~arm64 ~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 +} |
