summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-06-25 10:25:05 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-06-25 11:41:23 +0100
commit2a4930648262a87837f217f5997bbb44ae994ce9 (patch)
treebaebfbffb7e64adacff2d80956abc308f8505245 /pkgs/development
parent73e514993a0784227aa79968d828cb8d22df9849 (diff)
downloadnixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar.gz
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar.bz2
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar.lz
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar.xz
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.tar.zst
nixpkgs-2a4930648262a87837f217f5997bbb44ae994ce9.zip
python3.pkgs.jaraco_itertools: fix build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/jaraco_itertools/0001-Don-t-run-flake8-checks-during-the-build.patch27
-rw-r--r--pkgs/development/python-modules/jaraco_itertools/default.nix5
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jaraco_itertools/0001-Don-t-run-flake8-checks-during-the-build.patch b/pkgs/development/python-modules/jaraco_itertools/0001-Don-t-run-flake8-checks-during-the-build.patch
new file mode 100644
index 00000000000..2dcf7d64862
--- /dev/null
+++ b/pkgs/development/python-modules/jaraco_itertools/0001-Don-t-run-flake8-checks-during-the-build.patch
@@ -0,0 +1,27 @@
+From fd56b0d85393d684bd3bf99f33d8638da884282f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
+Date: Thu, 25 Jun 2020 09:52:11 +0100
+Subject: [PATCH] disable flake8/black8/coverage from tests
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
+---
+ pytest.ini | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pytest.ini b/pytest.ini
+index 5027d34..4e2a2d2 100644
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -1,5 +1,5 @@
+ [pytest]
+ norecursedirs=dist build .tox .eggs
+-addopts=--doctest-modules --flake8 --black --cov
++addopts=--doctest-modules
+ doctest_optionflags=ALLOW_UNICODE ELLIPSIS ALLOW_BYTES
+ filterwarnings=
+-- 
+2.27.0
+
diff --git a/pkgs/development/python-modules/jaraco_itertools/default.nix b/pkgs/development/python-modules/jaraco_itertools/default.nix
index 7f1d954f68d..5df70b6da97 100644
--- a/pkgs/development/python-modules/jaraco_itertools/default.nix
+++ b/pkgs/development/python-modules/jaraco_itertools/default.nix
@@ -12,6 +12,11 @@ buildPythonPackage rec {
   };
 
   nativeBuildInputs = [ setuptools_scm ];
+
+  patches = [
+    ./0001-Don-t-run-flake8-checks-during-the-build.patch
+  ];
+
   propagatedBuildInputs = [ inflect more-itertools six ];
   checkInputs = [ pytest ];