Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroid/, dev-python/astroid/files/
Date: Fri, 01 Feb 2019 13:20:22
Message-Id: 1549027189.76a26b82ace3351e51ad18e4fcab2d5a96f516a0.vdupras@gentoo
1 commit: 76a26b82ace3351e51ad18e4fcab2d5a96f516a0
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 1 13:19:49 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 1 13:19:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a26b82
7
8 dev-python/astroid: disable pytest-runner
9
10 Makes build fail under network sandbox.
11
12 Closes: https://bugs.gentoo.org/677042
13 Closes: https://bugs.gentoo.org/672628
14 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16
17 dev-python/astroid/astroid-2.1.0.ebuild | 1 +
18 .../astroid/files/astroid-2.1.0-no-pytest-runner.patch | 12 ++++++++++++
19 2 files changed, 13 insertions(+)
20
21 diff --git a/dev-python/astroid/astroid-2.1.0.ebuild b/dev-python/astroid/astroid-2.1.0.ebuild
22 index b23580f1816..5f03bf78ac6 100644
23 --- a/dev-python/astroid/astroid-2.1.0.ebuild
24 +++ b/dev-python/astroid/astroid-2.1.0.ebuild
25 @@ -34,6 +34,7 @@ DEPEND="
26
27 PATCHES=(
28 "${FILESDIR}/${PN}-2.1.0-fix-tests.patch"
29 + "${FILESDIR}/${PN}-2.1.0-no-pytest-runner.patch"
30 )
31
32 python_prepare_all() {
33
34 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
35 new file mode 100644
36 index 00000000000..94eda172545
37 --- /dev/null
38 +++ b/dev-python/astroid/files/astroid-2.1.0-no-pytest-runner.patch
39 @@ -0,0 +1,12 @@
40 +diff --git a/setup.py b/setup.py
41 +index 2ad90aac..4628a40f 100644
42 +--- a/setup.py
43 ++++ b/setup.py
44 +@@ -42,7 +42,6 @@ def install():
45 + install_requires = install_requires,
46 + extras_require=extras_require,
47 + packages=find_packages(exclude=['astroid.tests']) + ['astroid.brain'],
48 +- setup_requires=['pytest-runner'],
49 + test_suite='test',
50 + tests_require=['pytest'],
51 + )