dev-python/pylint: remove pytest-runner dependency
authorVirgil Dupras <vdupras@gentoo.org>
Mon, 18 Mar 2019 23:47:17 +0000 (19:47 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Mon, 18 Mar 2019 23:47:17 +0000 (19:47 -0400)
It's useless

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

dev-python/pylint/files/pylint-2.3.1-no-pytest-runner.patch [new file with mode: 0644]
dev-python/pylint/pylint-2.3.1.ebuild

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 (file)
index 0000000..4caf59b
--- /dev/null
@@ -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)
+ 
index a9f24be3a26eda4257c4c59e41c3a38eb29a8a4c..7e1e963e3a5d98ecb905af575317d3ccb88e1cc1 100644 (file)
@@ -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() {