Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/
Date: Mon, 04 May 2020 09:37:15
Message-Id: 1588585011.20541dcf1beba9c5fb334149c5150a62fad34a7f.mgorny@gentoo
1 commit: 20541dcf1beba9c5fb334149c5150a62fad34a7f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 09:29:16 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 09:36:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20541dcf
7
8 dev-python/pygit2: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygit2/Manifest | 1 -
13 dev-python/pygit2/pygit2-1.2.0.ebuild | 43 -----------------------------------
14 2 files changed, 44 deletions(-)
15
16 diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest
17 index 4d51e643171..63b1e409518 100644
18 --- a/dev-python/pygit2/Manifest
19 +++ b/dev-python/pygit2/Manifest
20 @@ -1,3 +1,2 @@
21 DIST pygit2-1.0.3.tar.gz 501720 BLAKE2B ddfe228bb50df08c1b5e880f58be6b0ae111a10235b695ce93ef04b685507bda90cdccdacefd5400807cd19bc9c63b49061c2da73c89641fe9641c52a4ed16ab SHA512 debf4018e6daa938f44cf22f2acec1f850156e30ac44052e2edb8257f86a60453428356851cc495ae234df9cdbee922a6a7ad7886c9a6e3746b7315c71f0a3df
22 -DIST pygit2-1.2.0.tar.gz 232458 BLAKE2B ce3bc95e107a572709e14e87f6bc31f6b991da5e541d65e551243a5aefd0a853818aeedeafcd6a6607e32d225f0331bca07015d54d538b0f3d9157255630e0be SHA512 44ed29f8d10f4f784e6192b79f6a3924d64b22297cf335e9d005be578c3e0c77999855db802f71d2fcb5c053593ea2e9711e2cd191b3e185ec01c0d49e2ae1c6
23 DIST pygit2-1.2.1.tar.gz 235852 BLAKE2B 997c54359c87bdbb5338d6524ca119a058a2dfa9ec5079abfeac5e3f1312e7fe0b6a532cf3dcea6a2b317124337746b9e4fbaa71585bc88a8afa37f8b74a7f97 SHA512 2491892e50d9298d68c2f90b3c4b23c87e51995ccc29e285eb2f868f5e34d2568d5f554818203bf2c735179aeb197e3b7aba1be88e72a6526812e3ee2e0b4348
24
25 diff --git a/dev-python/pygit2/pygit2-1.2.0.ebuild b/dev-python/pygit2/pygit2-1.2.0.ebuild
26 deleted file mode 100644
27 index b9452ff5064..00000000000
28 --- a/dev-python/pygit2/pygit2-1.2.0.ebuild
29 +++ /dev/null
30 @@ -1,43 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -PYTHON_COMPAT=( python3_{6,7,8} )
36 -
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="Python bindings for libgit2"
40 -HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/"
41 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2-with-linking-exception"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="test"
47 -RESTRICT="!test? ( test )"
48 -
49 -RDEPEND="
50 - =dev-libs/libgit2-1.0*
51 - dev-python/cached-property[${PYTHON_USEDEP}]
52 - >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}]
53 -"
54 -DEPEND="${RDEPEND}
55 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
56 -
57 -src_prepare() {
58 - distutils-r1_src_prepare
59 -
60 - # unconditionally prevent it from using network
61 - sed -i -e '/def no_network/a \
62 - return True' test/utils.py || die
63 -
64 - # we need to move them away to prevent pytest from forcing '..'
65 - # for imports
66 - mkdir hack || die
67 - mv test hack/ || die
68 - ln -s hack/test test || die
69 -}
70 -
71 -python_test() {
72 - pytest -vv hack/test || die
73 -}