From dd02b9c825770a1754fab0a393d99581848f3cff Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 16 Jul 2025 11:20:56 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bb2b3f34e95da78f261623ac0f81f84a7662416c..6a753b6d2337af28fb3c011fc199d126fbd042be 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30843,6 +30843,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") @@ -30852,10 +30854,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