1 |
commit: f8ece2ff005101e6a573f90a451e8eeefec6f05d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 10:39:28 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 26 10:39:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8ece2ff |
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.4.0.ebuild | 40 ----------------------------------- |
14 |
2 files changed, 41 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest |
17 |
index 8b7501760c7..604910fac8b 100644 |
18 |
--- a/dev-python/pygit2/Manifest |
19 |
+++ b/dev-python/pygit2/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pygit2-1.4.0.tar.gz 244586 BLAKE2B aa4c04ff22df31270a03107498abe095e99e196711a1939fe6f15d4cae18e94d72f1964850437c5e82d897ca74e951a5b877fb41154f3790c9fb6c926c6cfe0b SHA512 b6b9d5028fd63593e6ecd869735132edeeb55c1fd97664be5d0d5dac0c25f844ce0d981782fad7f47e54555ab1f7fa5e87d1ad8a76340d81e1f908ad4ea1e35a |
22 |
DIST pygit2-1.5.0.tar.gz 255958 BLAKE2B 696a4c39920e7f66962b69d2a838c55bfb6f96e7e5ee56a39aaa732926accc3bb6331042382fd22f377959cbc129be0320d94765d13db95fdb7c7f87a14f7608 SHA512 3f915c855ad08641391565906023d231550a38d4e7f8938fad4634a30e2ee1c81e2a0d3289052426e21d2c14814300a0f789eaaa9f3e62c3ece73cf53803bb80 |
23 |
|
24 |
diff --git a/dev-python/pygit2/pygit2-1.4.0.ebuild b/dev-python/pygit2/pygit2-1.4.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 39ad7a4b395..00000000000 |
27 |
--- a/dev-python/pygit2/pygit2-1.4.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,40 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python3_{7..9} ) |
35 |
- |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="Python bindings for libgit2" |
39 |
-HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="GPL-2-with-linking-exception" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 x86" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- =dev-libs/libgit2-1.1* |
48 |
- dev-python/cached-property[${PYTHON_USEDEP}] |
49 |
- >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] |
50 |
-" |
51 |
- |
52 |
-distutils_enable_tests pytest |
53 |
- |
54 |
-src_prepare() { |
55 |
- distutils-r1_src_prepare |
56 |
- |
57 |
- # unconditionally prevent it from using network |
58 |
- sed -i -e '/has_network/s:True:False:' test/utils.py || die |
59 |
- |
60 |
- # we need to move them away to prevent pytest from forcing '..' |
61 |
- # for imports |
62 |
- mkdir hack || die |
63 |
- mv test hack/ || die |
64 |
- ln -s hack/test test || die |
65 |
-} |
66 |
- |
67 |
-python_test() { |
68 |
- pytest -vv hack/test || die |
69 |
-} |