diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-03 08:57:49 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-03 09:24:00 +0100 |
commit | 8df1b7f188115cc221c934c93fa62624d9bfccfa (patch) | |
tree | 39d46ea7bd520de0ff854b89202c93bb82774d4c /dev-python/pygit2 | |
parent | dev-python/clint: Remove old (diff) | |
download | gentoo-8df1b7f188115cc221c934c93fa62624d9bfccfa.tar.gz gentoo-8df1b7f188115cc221c934c93fa62624d9bfccfa.tar.bz2 gentoo-8df1b7f188115cc221c934c93fa62624d9bfccfa.zip |
dev-python/pygit2: Remove old
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.2.1.ebuild | 43 |
2 files changed, 0 insertions, 44 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 5a058e304a94..e5673ff44ed2 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,2 +1 @@ -DIST pygit2-1.2.1.tar.gz 235852 BLAKE2B 997c54359c87bdbb5338d6524ca119a058a2dfa9ec5079abfeac5e3f1312e7fe0b6a532cf3dcea6a2b317124337746b9e4fbaa71585bc88a8afa37f8b74a7f97 SHA512 2491892e50d9298d68c2f90b3c4b23c87e51995ccc29e285eb2f868f5e34d2568d5f554818203bf2c735179aeb197e3b7aba1be88e72a6526812e3ee2e0b4348 DIST pygit2-1.3.0.tar.gz 243399 BLAKE2B 273d678b1681bbe969282ed10af640a59d99c421d32f6d25cf7374a6b018fb52f92337929a24bd9348085fb4f359561d21b51728ce66d73a5ee7089eef9b7b4c SHA512 297c6aef27019ca540d7ec9c26da7a5e870a7e5c2e06daa1a038023c4ab32c800b2494970e41a3d576e17e1d2c33402c3116389d9e2ebe1c2def0ba529dbde71 diff --git a/dev-python/pygit2/pygit2-1.2.1.ebuild b/dev-python/pygit2/pygit2-1.2.1.ebuild deleted file mode 100644 index 301d38422032..000000000000 --- a/dev-python/pygit2/pygit2-1.2.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) - -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" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - =dev-libs/libgit2-1.0* - dev-python/cached-property[${PYTHON_USEDEP}] - >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -src_prepare() { - distutils-r1_src_prepare - - # unconditionally prevent it from using network - sed -i -e '/def no_network/a \ - return True' 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 -} |