From a55151703f060239ef1bcd080e29bdcddc4e21d7 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 13 May 2022 16:34:56 -0400 Subject: gnu: python2-six: Disable tests. * gnu/packages/python-xyz.scm (python2-six)[native-inputs]: Clear. [phases]: Delete check phase. --- gnu/packages/python-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fbb0fc399b..74becc7997 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2573,7 +2573,16 @@ (define-public python-six `(("python-pytest" ,python-pytest-bootstrap))))) (define-public python2-six - (package-with-python2 python-six)) + (let ((base (package-with-python2 python-six))) + (package + (inherit base) + ;; Reduce Python 2 closure by disabling tests and removing the native + ;; inputs. + (arguments (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (delete 'check))))) + (native-inputs '())))) (define-public python-schedule (package -- cgit v1.2.3