summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-07-31 20:47:31 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-08-01 08:09:58 -0400
commitac9e67fa461c484fd751040bb6b58c258b6d601c (patch)
tree4bd2a5db24f750907dcf0e71123ab1c13a5157ba /dev-python/pytest-relaxed/files
parentapp-portage/gemato: Add 14.0+multiprocessing version (diff)
downloadgentoo-ac9e67fa461c484fd751040bb6b58c258b6d601c.tar.gz
gentoo-ac9e67fa461c484fd751040bb6b58c258b6d601c.tar.bz2
gentoo-ac9e67fa461c484fd751040bb6b58c258b6d601c.zip
dev-python/pytest-relaxed: disable plugin autoload
When installed, this plugins autoload everywhere pytest runs, breaking pretty much everything in its wake. We patch out its entry point to avoid autoloading. Packages using this plugin may load it manually by adding "-p pytest_relaxed.plugin" to their pytest invocation. Closes: https://bugs.gentoo.org/661218 Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-python/pytest-relaxed/files')
-rw-r--r--dev-python/pytest-relaxed/files/pytest-relaxed-1.1.4-no-autoload.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pytest-relaxed/files/pytest-relaxed-1.1.4-no-autoload.patch b/dev-python/pytest-relaxed/files/pytest-relaxed-1.1.4-no-autoload.patch
new file mode 100644
index 000000000000..b176e4e86c3e
--- /dev/null
+++ b/dev-python/pytest-relaxed/files/pytest-relaxed-1.1.4-no-autoload.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index 28c72c7..6feca5b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -22,7 +22,6 @@ setup(
+ packages=find_packages(),
+ entry_points={
+ # TODO: do we need to name the LHS 'pytest_relaxed' too? meh
+- "pytest11": ["relaxed = pytest_relaxed.plugin"]
+ },
+ install_requires=[
+ # NOTE: pytest 3.3 broke something, not sure what yet