diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-08-17 05:06:13 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-08-17 05:17:19 +0200 |
| commit | 6f34d4e20abc119071e99c3995755ba7694f8b9e (patch) | |
| tree | 4b32c2e0877f3d846612a6c37ada17fa21e6b68f /dev-python/pygit2 | |
| parent | ac6f13b4082e7d5a44f48ce1313bd3bda999e0ef (diff) | |
| download | gentoo-6f34d4e20abc119071e99c3995755ba7694f8b9e.tar.gz gentoo-6f34d4e20abc119071e99c3995755ba7694f8b9e.tar.bz2 gentoo-6f34d4e20abc119071e99c3995755ba7694f8b9e.zip | |
dev-python/pygit2: Bump to 1.18.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygit2')
| -rw-r--r-- | dev-python/pygit2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pygit2/pygit2-1.18.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 37b538a302e0..8eda6daebb04 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,3 +1,4 @@ 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/pygit2-1.18.2.ebuild b/dev-python/pygit2/pygit2-1.18.2.ebuild new file mode 100644 index 000000000000..34a65ac2a6c1 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.18.2.ebuild @@ -0,0 +1,47 @@ +# 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 +} |
