1 |
commit: 48dc77094748cea9a1d0f3efb1bf5bebf735e22e |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 30 17:33:09 2021 +0000 |
4 |
Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com> |
5 |
CommitDate: Wed Jun 30 21:27:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48dc7709 |
7 |
|
8 |
dev-python/pip-api: add 0.0.20, drop 0.0.14 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/pip-api/Manifest | 2 +- |
13 |
.../pip-api/{pip-api-0.0.14.ebuild => pip-api-0.0.20.ebuild} | 10 ++-------- |
14 |
2 files changed, 3 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pip-api/Manifest b/dev-python/pip-api/Manifest |
17 |
index e42fe1f30..032d2721b 100644 |
18 |
--- a/dev-python/pip-api/Manifest |
19 |
+++ b/dev-python/pip-api/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST pip-api-0.0.14.tar.gz 112646 BLAKE2B 8bfe738b6c1aee91d407b568c7cc335271f1b739e6db49374248342a4325853dea6650c32384bf89afd95b20f09d361b5edb3b0ecae100fdc3a6855ba010ec24 SHA512 d3802b8728b814dae9551cc12612eb10a8de061cd64ac40647513d083c45f4bee218b1d2ba772c4c4df05275c4dc8e935e8e69c2e2cf8c6420e6c1158c768c78 |
22 |
+DIST pip-api-0.0.20.tar.gz 111267 BLAKE2B 9cbb1087f93008ca94d35c5e83d9e159a460a8eae26261c3efc2eeded9b68d627045b1506c5b4c868a8782ad7e0b535a120ad9e2c56df8d6d3b81f51f273deb8 SHA512 c447d986ef4003221d3ed5b020bfe0f8330d969c9bda0af2eab2665712dbed5b3e2e5d05ca2d47ed6d217d180d4231afea46627886968803620cffa5e0979ca4 |
23 |
|
24 |
diff --git a/dev-python/pip-api/pip-api-0.0.14.ebuild b/dev-python/pip-api/pip-api-0.0.20.ebuild |
25 |
similarity index 57% |
26 |
rename from dev-python/pip-api/pip-api-0.0.14.ebuild |
27 |
rename to dev-python/pip-api/pip-api-0.0.20.ebuild |
28 |
index 347170ee5..e0b8e1f8a 100644 |
29 |
--- a/dev-python/pip-api/pip-api-0.0.14.ebuild |
30 |
+++ b/dev-python/pip-api/pip-api-0.0.20.ebuild |
31 |
@@ -10,7 +10,7 @@ inherit distutils-r1 |
32 |
|
33 |
DESCRIPTION="An unofficial, importable pip API" |
34 |
HOMEPAGE="https://github.com/di/pip-api" |
35 |
-SRC_URI="https://github.com/di/pip-api/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
37 |
|
38 |
LICENSE="Apache-2.0" |
39 |
SLOT="0" |
40 |
@@ -27,11 +27,5 @@ DEPEND=" |
41 |
distutils_enable_tests pytest |
42 |
|
43 |
python_test() { |
44 |
- #https://github.com/di/pip-api/issues/81 |
45 |
- epytest -vv \ |
46 |
- --deselect tests/test_installed_distributions.py::test_installed_distributions \ |
47 |
- --deselect tests/test_tests.py::test_isolation[True] \ |
48 |
- --deselect tests/test_tests.py::test_isolation[False] \ |
49 |
- --deselect tests/test_tests.py::test_all_the_right_pips \ |
50 |
- || die |
51 |
+ epytest -vv --deselect tests/test_installed_distributions.py::test_installed_distributions_legacy_version || die |
52 |
} |