summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-18 09:44:08 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-18 10:48:28 +0200
commit51ebc9362e5e9e3a8c5647a43d1a925c2a364e4c (patch)
tree58ca04ebaed02992391e41dfb7db5de9a0e51a4f /dev-python/pydocstyle/files
parentdev-python/snowballstemmer: Enable python3.10 (diff)
downloadgentoo-51ebc9362e5e9e3a8c5647a43d1a925c2a364e4c.tar.gz
gentoo-51ebc9362e5e9e3a8c5647a43d1a925c2a364e4c.tar.bz2
gentoo-51ebc9362e5e9e3a8c5647a43d1a925c2a364e4c.zip
dev-python/pydocstyle: Bump to 6.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pydocstyle/files')
-rw-r--r--dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch b/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch
new file mode 100644
index 000000000000..b0467a136435
--- /dev/null
+++ b/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch
@@ -0,0 +1,31 @@
+From 46947c9dca95caeb7b1f4348994d1aa2b8db93ec Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Tue, 18 May 2021 10:02:16 +0200
+Subject: [PATCH] Disarm install_package fixture
+
+---
+ src/tests/test_integration.py | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/src/tests/test_integration.py b/src/tests/test_integration.py
+index eb4994f..4242476 100644
+--- a/src/tests/test_integration.py
++++ b/src/tests/test_integration.py
+@@ -128,14 +128,7 @@ def install_package(request):
+ This is so we can run the integration tests on the installed console
+ script.
+ """
+- cwd = os.path.join(os.path.dirname(__file__), '..', '..')
+- subprocess.check_call(
+- [sys.executable, "-m", "pip", "install", "-e", "."], cwd=cwd
+- )
+ yield
+- subprocess.check_call(
+- [sys.executable, "-m", "pip", "uninstall", "-y", "pydocstyle"], cwd=cwd
+- )
+
+
+ @pytest.yield_fixture(scope="function", params=['ini', 'toml'])
+--
+2.31.1
+