diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-11 05:34:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-11 05:34:35 +0000 |
commit | e644f875e1d27155e8829b8f7385a8b2d790bcce (patch) | |
tree | 34f399ec8067712dc6b5416ac39685d1999649c7 /dev-python/pygit2 | |
parent | 0771aa27d30f102abe2c5733a138ffe570da4d15 (diff) |
gentoo auto-resync : 11:02:2024 - 05:34:35
Diffstat (limited to 'dev-python/pygit2')
-rw-r--r-- | dev-python/pygit2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygit2/pygit2-1.14.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index d0bee578b6ef..f6849c809999 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,5 +1,7 @@ DIST pygit2-1.13.3.tar.gz 752098 BLAKE2B 474c7e4cf92ec81c128fec1ff6222aa524a8dbf291c7ad350a1f150536442a518dbcf6c5ed2af2902265bcb04f34effb258c30e983bf52d1a93d477da4fce00c SHA512 def3d7b4df43ef231c488720a47cef91ad1e9a0568745869cec63f8a2ccfa7ad0be4c40b1cab973ef34e493d9451b33071aa64dc7fb8a8013fcdd1c6f6a45ef1 DIST pygit2-1.14.0.tar.gz 765357 BLAKE2B fd36958cd64808d478e1c3bd6e6fc7714749c2b73cbf59f71c63ce3e37168df7196be143b0d8fbd724a7b090a06572cd0df111eea87becf9186be2ec4165104d SHA512 117858589c7cda9fe3c7d085c3577b5dfe1792335d58420349060ba45722adc59a479091e0c00e95298cdf705af9905236b3f54ccd75f82ca4704d4580e723be +DIST pygit2-1.14.1.tar.gz 765621 BLAKE2B 7761851052c5dc03f82db987166012eb2a3445d62b209bc1734e240a619d7c5e4449c1772b250dd3ba8e1605b7c94edb4d8b7ad50c92bd85833e4688ed1e92ef SHA512 0718d7f480d40a5c435c725fbfec728ebdbb70d700607662308458dd125796fce9ddcf40afa6841ddc9cb7b19a5966fb3b5c8e4a52281a7eb354381ce62b5534 EBUILD pygit2-1.13.3.ebuild 804 BLAKE2B 750002253c04cae4f4402ea9bb5374f45be208110584253b13102b920ecf594066b9a1d078b115d16ef7eb3b6360787d74b20e58c00746f571167de623e9125c SHA512 53c780ed42693a8966a58bef31683d6bacf347b52d462b75628c85ae57390fab57a461555414443adeb8a136a4e80a43db770197fe166fdcf8b5c19fe40c516c EBUILD pygit2-1.14.0.ebuild 806 BLAKE2B 12ecc52e93ac2ee4d6b33a4663650ddb5f05b7d0f102d75fd4b79ba37f02d7c2bf112648d60ea0c4abfde59bfc050f3b847bceaabc8104108ab167483c516141 SHA512 ecb7c8974dd7a24036d4f6f7b42209d4ae78eb9f3ec4ee3997eba941f960764548396444854966b6866f03fee0ca071c5d4fcc7e270705c5295368c855c3ec15 +EBUILD pygit2-1.14.1.ebuild 806 BLAKE2B 12ecc52e93ac2ee4d6b33a4663650ddb5f05b7d0f102d75fd4b79ba37f02d7c2bf112648d60ea0c4abfde59bfc050f3b847bceaabc8104108ab167483c516141 SHA512 ecb7c8974dd7a24036d4f6f7b42209d4ae78eb9f3ec4ee3997eba941f960764548396444854966b6866f03fee0ca071c5d4fcc7e270705c5295368c855c3ec15 MISC metadata.xml 490 BLAKE2B a53da88b5fe40a56d831bb5589d03d247ca1d1d843bde9a1fe6999563a42c076a9f6462b6947ae217086e5edde35a4788f4552636871891f9820534a6f0bade6 SHA512 57cb7356bbb0a22fce2d7ecd8ab346ef5c8155d0941d6a15bf2e98364e755d6e5e5d6aacf24017b4b827b983032e4d46f2363483ac66d6e3882c8be12e60fb39 diff --git a/dev-python/pygit2/pygit2-1.14.1.ebuild b/dev-python/pygit2/pygit2-1.14.1.ebuild new file mode 100644 index 000000000000..f0d810482556 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.14.1.ebuild @@ -0,0 +1,45 @@ +# 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..12} ) + +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.7*:= +" +BDEPEND=" + >=dev-python/cffi-1.16.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 +} |