gnu: python-packaging-bootstrap: Update to 23.2.

* gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 23.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core.
* gnu/packages/python-xyz.scm (python-packaging)
[native-inputs]: Add python-flit-core.

Change-Id: I5d3bdec62aabfe1b5e6de988d210862ad6da9002
This commit is contained in:
Ricardo Wurmus 2024-02-27 21:06:59 +01:00 committed by Sharlatan Hellseher
parent 56cbfffc4e
commit 33210bced4
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 8 additions and 4 deletions

View file

@ -472,18 +472,20 @@ that client code uses to construct the grammar directly in Python code.")
(define-public python-packaging-bootstrap (define-public python-packaging-bootstrap
(package (package
(name "python-packaging-bootstrap") (name "python-packaging-bootstrap")
(version "21.3") (version "23.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "packaging" version)) (uri (pypi-uri "packaging" version))
(sha256 (sha256
(base32 (base32
"1sygirdrqgv4f1ckh9nhpcw1yfidrh3qjl86wq8vk6nq4wlw8iyx")))) "1ifgjb0d0bnnm78hv3mnl7hi233m7jamb2plma752djh83lv13q4"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments `(#:tests? #f)) ;disabled to avoid extra dependencies (arguments `(#:tests? #f)) ;disabled to avoid extra dependencies
(propagated-inputs (propagated-inputs
(list python-pyparsing python-six-bootstrap)) (list python-pyparsing python-six-bootstrap))
(native-inputs
(list python-flit-core))
(home-page "https://github.com/pypa/packaging") (home-page "https://github.com/pypa/packaging")
(synopsis "Core utilities for Python packages") (synopsis "Core utilities for Python packages")
(description "Packaging is a Python module for dealing with Python packages. (description "Packaging is a Python module for dealing with Python packages.

View file

@ -25219,7 +25219,9 @@ manipulation, or @code{stdout}.")
(if tests? (if tests?
(invoke "pytest" "-vv") (invoke "pytest" "-vv")
(format #t "test suite not run~%"))))))) (format #t "test suite not run~%")))))))
(native-inputs (list python-pretend python-pytest)) (native-inputs
(list python-flit-core
python-pretend python-pytest))
(propagated-inputs (list python-pyparsing python-six)) (propagated-inputs (list python-pyparsing python-six))
(home-page "https://github.com/pypa/packaging") (home-page "https://github.com/pypa/packaging")
(synopsis "Core utilities for Python packages") (synopsis "Core utilities for Python packages")