dev-python/distlib: Remove redundant versions

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-07-12 18:41:50 +02:00
parent a53b44d5c4
commit c3ce4fac79
2 changed files with 0 additions and 55 deletions

View File

@@ -1,2 +1 @@
DIST distlib-0.3.0.tar.bz2 848089 BLAKE2B 70f88b570229e2ab4c95bd8da0375aba189f66dec8defcf8eedf1be6924d93bd20b54c68e5fba867a6c68a31d4ef926ee2dc18ccb0391278680f30a62d0cd251 SHA512 01b0e7d59736414a241efdf883e4ee63eafe9614ce3b4147781a5750d25d6383543146c5277e3e0d3e11ce03693afd0331c6e3416776a6f84de7a4d9dadf3de4
DIST distlib-0.3.1.tar.bz2 1068500 BLAKE2B 52135869242f71cc6d6887da6d9e20ffc6b46c84d8146393961062d92d8c0bd68e1309277f64fdec0319ff3c503b1caaba3d5378f5c081dca79573c8d9c2e6f2 SHA512 f259299176c45be7024b80759015a2fad120ffdde55b6abea0f7fb0335cee90809b5daedcb88abdfb68fd496284b2e478df622004b3750327bfc86807581116c

View File

@@ -1,54 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="Low-level components of distutils2/packaging"
HOMEPAGE="https://pypi.org/project/distlib/
https://bitbucket.org/pypa/distlib/"
# pypi has zip only :-(
SRC_URI="
https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
distutils_enable_tests setup.py
src_prepare() {
# this test assumes pristine venv with no system packages
sed -e 's:test_dependency_finder:_&:' \
-i tests/test_locators.py || die
# no clue but it looks horribly fragile
sed -e 's:test_sequencer_basic:_&:' \
-i tests/test_util.py || die
# progress bar test cases, very fragile
sed -e '/ProgressTestCase/s:unittest.TestCase:object:' \
-i tests/test_util.py || die
# TODO: investigate
sed -e 's:test_upload:_&:' \
-i tests/test_index.py || die
# these require Internet
sed -e 's:test_search:_&:' \
-i tests/test_index.py || die
sed -e 's:test_aggregation:_&:' \
-e 's:test_all:_&:' \
-e 's:test_dist_reqts:_&:' \
-e 's:test_json:_&:' \
-e 's:test_prereleases:_&:' \
-e 's:test_scraper:_&:' \
-i tests/test_locators.py || die
sed -e 's:test_package_data:_&:' \
-i tests/test_util.py || die
# doesn't work with our patched pip
sed -e '/PIP_AVAIL/s:True:False:' \
-i tests/test_wheel.py || die
distutils-r1_src_prepare
}