diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
commit | 77b275a53383b07b154caa09feb6f4961b206638 (patch) | |
tree | bf2b88f1f848dfe69541c3d78aaa35ef22560107 /dev-python/pygit2 | |
parent | 9d4810f84de876ec9d0ae03d0d44224500b41188 (diff) |
gentoo auto-resync : 20:05:2024 - 00:02:15
Diffstat (limited to 'dev-python/pygit2')
-rw-r--r-- | dev-python/pygit2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygit2/pygit2-1.15.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 7088f4a8e789..ca4549c416ca 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,3 +1,5 @@ DIST pygit2-1.14.1.tar.gz 765621 BLAKE2B 7761851052c5dc03f82db987166012eb2a3445d62b209bc1734e240a619d7c5e4449c1772b250dd3ba8e1605b7c94edb4d8b7ad50c92bd85833e4688ed1e92ef SHA512 0718d7f480d40a5c435c725fbfec728ebdbb70d700607662308458dd125796fce9ddcf40afa6841ddc9cb7b19a5966fb3b5c8e4a52281a7eb354381ce62b5534 +DIST pygit2-1.15.0.tar.gz 766816 BLAKE2B bc0f97cbcdb1c445bb00706ade517f4c36cf9d869f87ca919df8116fb3a4e9f29a1c43a637ae53b7e6ccfad028e0df48fad85ee1a0f334438c3fa2916247fbda SHA512 33a5805046f5f18de2ec212145f4adf26b28afb11b669e3cb4d1dc29362ea6627fde605b654d11a80d91589e3000784dfe1c79522bd8c6f1b27974b13a15ef07 EBUILD pygit2-1.14.1.ebuild 804 BLAKE2B 5411d69eee2a4291c3e3198f8c4efd706eb813b719d763079063a83b3c98d69845734928865a91631e6d523c95ecdb3a1d905dfcd4067495a5f9942a42fd8736 SHA512 fecd0e04dc9f181cbfbfcbd1020cad91cff84c4f13c29dec1ee605233859bae2d910a5122f021a12609aae068d542ef8b94a9d8e9e60973b2df5fce8ef272931 +EBUILD pygit2-1.15.0.ebuild 806 BLAKE2B d20a978d82a41b75246a6420b9b572a5f929e35f60ad26a9eaa10d805c4e5b4ae6878962ee366f90f97d0467a615b0e41b01a052bc4930bb2b492bc5f514d923 SHA512 e11ee16aa0ed1cb84c5aa435aea12f68f91489aa6d0cba5bc44d291c35ef690654c33ce5a1e684bc2560f7a4f0ec3bcc4add907e39963c922b4118a410f9ed64 MISC metadata.xml 490 BLAKE2B a53da88b5fe40a56d831bb5589d03d247ca1d1d843bde9a1fe6999563a42c076a9f6462b6947ae217086e5edde35a4788f4552636871891f9820534a6f0bade6 SHA512 57cb7356bbb0a22fce2d7ecd8ab346ef5c8155d0941d6a15bf2e98364e755d6e5e5d6aacf24017b4b827b983032e4d46f2363483ac66d6e3882c8be12e60fb39 diff --git a/dev-python/pygit2/pygit2-1.15.0.ebuild b/dev-python/pygit2/pygit2-1.15.0.ebuild new file mode 100644 index 000000000000..ee3f91cf63dc --- /dev/null +++ b/dev-python/pygit2/pygit2-1.15.0.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..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.8*:= +" +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 +} |