dev-python/pip-api: add 0.0.20, drop 0.0.14

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-30 19:33:09 +02:00
parent e9bb0b6024
commit 48dc770947
2 changed files with 3 additions and 9 deletions

View File

@@ -1 +1 @@
DIST pip-api-0.0.14.tar.gz 112646 BLAKE2B 8bfe738b6c1aee91d407b568c7cc335271f1b739e6db49374248342a4325853dea6650c32384bf89afd95b20f09d361b5edb3b0ecae100fdc3a6855ba010ec24 SHA512 d3802b8728b814dae9551cc12612eb10a8de061cd64ac40647513d083c45f4bee218b1d2ba772c4c4df05275c4dc8e935e8e69c2e2cf8c6420e6c1158c768c78
DIST pip-api-0.0.20.tar.gz 111267 BLAKE2B 9cbb1087f93008ca94d35c5e83d9e159a460a8eae26261c3efc2eeded9b68d627045b1506c5b4c868a8782ad7e0b535a120ad9e2c56df8d6d3b81f51f273deb8 SHA512 c447d986ef4003221d3ed5b020bfe0f8330d969c9bda0af2eab2665712dbed5b3e2e5d05ca2d47ed6d217d180d4231afea46627886968803620cffa5e0979ca4

View File

@@ -10,7 +10,7 @@ inherit distutils-r1
DESCRIPTION="An unofficial, importable pip API"
HOMEPAGE="https://github.com/di/pip-api"
SRC_URI="https://github.com/di/pip-api/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
@@ -27,11 +27,5 @@ DEPEND="
distutils_enable_tests pytest
python_test() {
#https://github.com/di/pip-api/issues/81
epytest -vv \
--deselect tests/test_installed_distributions.py::test_installed_distributions \
--deselect tests/test_tests.py::test_isolation[True] \
--deselect tests/test_tests.py::test_isolation[False] \
--deselect tests/test_tests.py::test_all_the_right_pips \
|| die
epytest -vv --deselect tests/test_installed_distributions.py::test_installed_distributions_legacy_version || die
}