From fbda87924e6faa7a1919f1a2b4182490bde5ec5c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 3 Sep 2021 20:56:28 +0100 Subject: gentoo resync : 03.09.2021 --- dev-python/pygit2/Manifest | 2 +- dev-python/pygit2/pygit2-1.6.1-r1.ebuild | 41 ++++++++++++++++++++++++++++++++ dev-python/pygit2/pygit2-1.6.1.ebuild | 40 ------------------------------- 3 files changed, 42 insertions(+), 41 deletions(-) create mode 100644 dev-python/pygit2/pygit2-1.6.1-r1.ebuild delete mode 100644 dev-python/pygit2/pygit2-1.6.1.ebuild (limited to 'dev-python/pygit2') diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 38b87e406824..9e37961ab525 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,3 +1,3 @@ DIST pygit2-1.6.1.tar.gz 258338 BLAKE2B dc223e2a5231728c42ca7e0581483731fbab6ee090cf4aeeb27f186973b3c753fdf54c89679a88b97d834d717135f9b8f9a2adf492ed8572affa938c79d0f905 SHA512 67a78313493ba096cbae6805bda861495f33644fd180b5fb1cd99dcd226ef5a09ee85bd27d04d0697ef15503a4e902aa1384980870551f430fd9560ac949fe2f -EBUILD pygit2-1.6.1.ebuild 923 BLAKE2B 8e2927d2c74fd1f1217fd1aee7c553fa624f744f1958bcb7e715ef8994d73b6e2334ccba47a9d302979951a9d5568b0e9399160bc3bfd5f663866f176fac1e01 SHA512 98a6eed6802b240f748fcb636497bc14b38f4b14b27ff1553d9d23df031406f0e12b7034a8d9f4a03303671c8310c14c8d6c342f847d98a039c2a0a70080c7ac +EBUILD pygit2-1.6.1-r1.ebuild 945 BLAKE2B 79cfd82aaf7395b5adddd3b4a791f6c848221a2948d02fc75d239d77f5aa4e456a3163b5682db51ab2f8181cfc5aaec1f29c999fcec83ac26bdf77e674761160 SHA512 b0ebb0bd047fd0b1d2b58f970ed7cec2d63ec86c1b01e2461fd14fb85edc29824372b92cae3a0fdd52c22aef30d4b2ca03d401749a9ed500e543df606133a3cc MISC metadata.xml 489 BLAKE2B 3733ff314640ab2cbfa07e0ea67041ddb3635b51d339070abe97c95b5b358851b412cca5d8996dc1f25abb986a03095f19e8a50cbaeab7eb156c6b9107108cf6 SHA512 d20b7ebbdb3ea2ec72c3c5ded9874b7506b3ddabb43dbf329891478fcf5d7c4b9487ab0675d735733f463dd897dd5cdcc28080ad597f4f838bbcaa565c26915e diff --git a/dev-python/pygit2/pygit2-1.6.1-r1.ebuild b/dev-python/pygit2/pygit2-1.6.1-r1.ebuild new file mode 100644 index 000000000000..635638363d17 --- /dev/null +++ b/dev-python/pygit2/pygit2-1.6.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for libgit2" +HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + =dev-libs/libgit2-1.1*:= + dev-python/cached-property[${PYTHON_USEDEP}] + >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +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 + + # we need to move them away to prevent pytest from forcing '..' + # for imports + mkdir hack || die + mv test hack/ || die + ln -s hack/test test || die +} + +python_test() { + pytest -vv hack/test || die +} diff --git a/dev-python/pygit2/pygit2-1.6.1.ebuild b/dev-python/pygit2/pygit2-1.6.1.ebuild deleted file mode 100644 index 69a3e8d9cbe4..000000000000 --- a/dev-python/pygit2/pygit2-1.6.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for libgit2" -HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - =dev-libs/libgit2-1.1* - dev-python/cached-property[${PYTHON_USEDEP}] - >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] -" - -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 - - # we need to move them away to prevent pytest from forcing '..' - # for imports - mkdir hack || die - mv test hack/ || die - ln -s hack/test test || die -} - -python_test() { - pytest -vv hack/test || die -} -- cgit v1.2.3