From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- .../pydocstyle-6.1.1-disarm-pip-install.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch (limited to 'dev-python/pydocstyle/files') 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?= +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 + -- cgit v1.2.3