From 76a26b82ace3351e51ad18e4fcab2d5a96f516a0 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 1 Feb 2019 08:19:49 -0500 Subject: [PATCH] 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 Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-python/astroid/astroid-2.1.0.ebuild | 1 + .../files/astroid-2.1.0-no-pytest-runner.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 dev-python/astroid/files/astroid-2.1.0-no-pytest-runner.patch diff --git a/dev-python/astroid/astroid-2.1.0.ebuild b/dev-python/astroid/astroid-2.1.0.ebuild index b23580f181620..5f03bf78ac6b1 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 0000000000000..94eda17254570 --- /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'], + )