dev-python/astroid: disable pytest-runner

Makes build fail under network sandbox.

Closes: https://bugs.gentoo.org/677042
Closes: https://bugs.gentoo.org/672628
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Virgil Dupras
2019-02-01 08:19:49 -05:00
parent 554b317744
commit 76a26b82ac
2 changed files with 13 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.1.0-fix-tests.patch"
"${FILESDIR}/${PN}-2.1.0-no-pytest-runner.patch"
)
python_prepare_all() {

View File

@@ -0,0 +1,12 @@
diff --git a/setup.py b/setup.py
index 2ad90aac..4628a40f 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,6 @@ def install():
install_requires = install_requires,
extras_require=extras_require,
packages=find_packages(exclude=['astroid.tests']) + ['astroid.brain'],
- setup_requires=['pytest-runner'],
test_suite='test',
tests_require=['pytest'],
)