1 |
commit: cf546f97e6b434b2809231589cc5cb96d8f0cc1a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 11 06:28:57 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 11 06:51:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf546f97 |
7 |
|
8 |
dev-python/setuptools_scm: Disarm test_pip_download |
9 |
|
10 |
Closes: https://bugs.gentoo.org/658280 |
11 |
|
12 |
dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild | 7 +++++++ |
13 |
1 file changed, 7 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild |
16 |
index 0367b5e4f01..a8abcb4338f 100644 |
17 |
--- a/dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild |
18 |
+++ b/dev-python/setuptools_scm/setuptools_scm-2.1.0.ebuild |
19 |
@@ -22,6 +22,13 @@ DEPEND=" |
20 |
mercurial? ( dev-vcs/mercurial ) |
21 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
22 |
|
23 |
+python_prepare_all() { |
24 |
+ # network access |
25 |
+ sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die |
26 |
+ |
27 |
+ distutils-r1_python_prepare_all |
28 |
+} |
29 |
+ |
30 |
python_test() { |
31 |
distutils_install_for_testing |
32 |
py.test -v -v -x -k testing/test_basic_api.py || die "tests failed under ${EPYTHON}" |