python3.pkgs.jaraco_itertools: fix build

This commit is contained in:
Jörg Thalheim 2020-06-25 10:25:05 +01:00
parent 73e514993a
commit 2a49306482
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
2 changed files with 32 additions and 0 deletions

View file

@ -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

View file

@ -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 ];