commit:     95ea4e83efda3fb594936d53a980f2c84031151e
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 23:47:17 2019 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 23:47:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ea4e83

dev-python/pylint: remove pytest-runner dependency

It's useless

Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

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

diff --git a/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch 
b/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch
new file mode 100644
index 00000000000..4caf59bb30e
--- /dev/null
+++ b/dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index a7b5e413..841a1c0d 100644
+--- a/setup.py
++++ b/setup.py
+@@ -169,7 +169,6 @@ def install(**kwargs):
+                  extras_require=extras_require,
+                  test_suite='test',
+                  python_requires='>=3.4.*',
+-                 setup_requires=['pytest-runner'],
+                  tests_require=['pytest'],
+                  **kwargs)
+ 

diff --git a/dev-python/pylint/pylint-2.3.1.ebuild 
b/dev-python/pylint/pylint-2.3.1.ebuild
index a9f24be3a26..7e1e963e3a5 100644
--- a/dev-python/pylint/pylint-2.3.1.ebuild
+++ b/dev-python/pylint/pylint-2.3.1.ebuild
@@ -24,7 +24,6 @@ RDEPEND="
        >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
        dev-python/mccabe[${PYTHON_USEDEP}]"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       dev-python/pytest-runner[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? ( ${RDEPEND}
                dev-python/pytest[${PYTHON_USEDEP}]
@@ -33,6 +32,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
 
 PATCHES=(
        "${FILESDIR}/${PN}-2.3.1-sphinx-theme.patch"
+       "${FILESDIR}/${PN}-2.3.1-no-pytest-runner.patch"
 )
 
 python_compile_all() {

Reply via email to