mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/setuptools_scm: Disarm test_pip_download
Closes: https://bugs.gentoo.org/658280
This commit is contained in:
@@ -22,6 +22,13 @@ DEPEND="
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# network access
|
||||
sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
py.test -v -v -x -k testing/test_basic_api.py || die "tests failed under ${EPYTHON}"
|
||||
|
||||
Reference in New Issue
Block a user