gnu: python-zope-bootstrap-package: Improve style.

* gnu/packages/python-web.scm (python-zope-bootstrap-package): Rewrite
using gexps, and add python-setuptools to native-inputs.

Change-Id: Iec6b106d9510d332540626b80cc63420351e8c62
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 00:21:11 +02:00 committed by Sharlatan Hellseher
parent 57a9d6917a
commit ce34c5ae60
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4555,16 +4555,17 @@ outside of the Zope framework.")
(name (string-append (package-name orig) "-bootstrap"))
(arguments
(if (null? (package-arguments orig))
`(#:tests? #f
#:phases (modify-phases %standard-phases
(delete 'sanity-check)))
(list
#:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check)))
(substitute-keyword-arguments (package-arguments orig)
((#:tests? _ #f) #f)
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(delete 'sanity-check))))))
#~(modify-phases #$phases
(delete 'sanity-check))))))
(propagated-inputs `())
(native-inputs `())
(native-inputs (list python-setuptools))
(properties `((hidden? . #t)))))
(define-public python-zope-exceptions-bootstrap