commit:     76a26b82ace3351e51ad18e4fcab2d5a96f516a0
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  1 13:19:49 2019 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Fri Feb  1 13:19:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a26b82

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 <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/astroid/astroid-2.1.0.ebuild                      |  1 +
 .../astroid/files/astroid-2.1.0-no-pytest-runner.patch       | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/dev-python/astroid/astroid-2.1.0.ebuild 
b/dev-python/astroid/astroid-2.1.0.ebuild
index b23580f1816..5f03bf78ac6 100644
--- a/dev-python/astroid/astroid-2.1.0.ebuild
+++ b/dev-python/astroid/astroid-2.1.0.ebuild
@@ -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() {

diff --git a/dev-python/astroid/files/astroid-2.1.0-no-pytest-runner.patch 
b/dev-python/astroid/files/astroid-2.1.0-no-pytest-runner.patch
new file mode 100644
index 00000000000..94eda172545
--- /dev/null
+++ b/dev-python/astroid/files/astroid-2.1.0-no-pytest-runner.patch
@@ -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'],
+                  )

Reply via email to