From 1ea198f86247d929bfc796d4b59d6d46d0082e05 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 7 Jan 2021 14:16:05 +0100 Subject: [PATCH] gnu: python-packaging-bootstrap: Remove dependency. * gnu/packages/python-xyz.scm (python-packaging-bootstrap) [arguments]: Remove dependency from setup.py, which we do not provide for this variant. --- gnu/packages/python-xyz.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b5658374da..97a3d07064 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16013,10 +16013,17 @@ (define-public python-packaging-bootstrap (package/inherit python-packaging (name "python-packaging-bootstrap") + (arguments + (substitute-keyword-arguments (package-arguments python-packaging) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'fix-dependencies + (lambda* (#:key tests? #:allow-other-keys) + (substitute* "setup.py" (("\"six\"") "")))))) + ((#:tests? _ #f) #f))) (native-inputs '()) (propagated-inputs - `(("python-pyparsing" ,python-pyparsing))) - (arguments '(#:tests? #f))))) + `(("python-pyparsing" ,python-pyparsing)))))) (define-public python2-packaging-bootstrap (hidden-package