diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-13 04:04:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-13 04:04:07 +0100 |
commit | 7b5306e0d287565138e8b051e32f57e6af6ae0ed (patch) | |
tree | 7e232eacc1f02fc6abb1c416458b5a564d0e295f /dev-python/pygit2 | |
parent | 3980ecf15e6202ac2f2015045b549600e709b721 (diff) |
gentoo auto-resync : 13:10:2024 - 04:04:06
Diffstat (limited to 'dev-python/pygit2')
-rw-r--r-- | dev-python/pygit2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygit2/pygit2-1.16.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 3b32d8bdbdba..76c8b0a0572c 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,3 +1,5 @@ DIST pygit2-1.15.1.tar.gz 768818 BLAKE2B ca418afc24a680cbfddee00ec9b6c8f4987ad65abd3d61b56cfc1682ce97a3685654f7663857a2a996c2c4f393ef2addfd336c5f5f548f3a1860056ba998bb40 SHA512 4795dbc7b05000955fea86e1b51209a77dfaf99ea806aa8a2be538aed8094638def3e15b0507c61ab57cad2b8e5faee7f1c90ce5c2b20094f972638e7c9bd20f +DIST pygit2-1.16.0.tar.gz 768597 BLAKE2B 30e8df4c3f992e075117bdcda3d84e2ed0618dd8556ae8574f6238992cacff69ec3c7c22a6ab85f7857156fbb4b3e6e75bc899e71ea59efcb1f8dee61687355f SHA512 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278 EBUILD pygit2-1.15.1.ebuild 831 BLAKE2B f21714e69afa6a811a1ff2fd834444fd7183a34b78a8492b17b94abde5c275f9eb26dd8764571d8992ac3cb6734b708ece96f6d34cf2407de9d4eda653404925 SHA512 2710380f031d4e362fd4c733fe52baedd5d63e890529516bce78988810dc640865582419018a623326b80b9798c6fbba5cc4fee7df1efa4fed8f52295d15ddf3 +EBUILD pygit2-1.16.0.ebuild 833 BLAKE2B b0cadecbc1fcded73a8a2bf7e0a186911bcfba2cc69607bd0e897538af7f803733680ab121faf49a100a0aa543d8254f75f8ecc5790dc3894b5178e0232f6cfb SHA512 fdb23ad9f771488841f3ae789e85d5dfc0a6375500552a40fe8d1d9780b30bbaf62a8ce8b1d6314a1c318e68a8f7a54d19aaa5076716b3386d2b7274f2d6a8ab MISC metadata.xml 490 BLAKE2B a53da88b5fe40a56d831bb5589d03d247ca1d1d843bde9a1fe6999563a42c076a9f6462b6947ae217086e5edde35a4788f4552636871891f9820534a6f0bade6 SHA512 57cb7356bbb0a22fce2d7ecd8ab346ef5c8155d0941d6a15bf2e98364e755d6e5e5d6aacf24017b4b827b983032e4d46f2363483ac66d6e3882c8be12e60fb39 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.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() { + 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 +} |