gnu: python-astunparse: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-astunparse):
  [build-system]: Use pyproject.
  [propagated-inputs]: Remove python-wheel.
  [native-inputs]: Add python-setuptools.

Change-Id: I47ca10fc70a1db146f405247940904f2a5df30fe
This commit is contained in:
Sharlatan Hellseher 2025-07-16 11:20:56 +01:00
parent 8455dd5ef4
commit 7beb326dff
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -30867,6 +30867,8 @@ source via the Abstract Syntax Tree.")
(license license:bsd-3)))
(define-public python-astunparse
;; XXX: No updates since 2019, consider to remove when python-pytorch is
;; updated.
(package
(name "python-astunparse")
(version "1.6.3")
@ -30876,10 +30878,12 @@ source via the Abstract Syntax Tree.")
(uri (pypi-uri "astunparse" version))
(sha256
(base32 "0wh8jjvwafxc7rvbyb13cdwndkicm7cry1bd8p1q9l7has23mnas"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments '(#:tests? #f)) ; there are none
(native-inputs
(list python-setuptools))
(propagated-inputs
(list python-six python-wheel))
(list python-six))
(home-page "https://github.com/simonpercivall/astunparse")
(synopsis "AST unparser for Python")
(description "This package provides an AST unparser for Python. It is a