gnu: python-docspec-python: Move to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-docspec-python):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Remove uneeded field.

Change-Id: Ib728c442a130eecebe4dff1e364d997bcca76076
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Nicolas Graves 2024-05-10 00:53:47 +02:00 committed by Sharlatan Hellseher
parent 345068655b
commit 170f4a3125
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -901,16 +901,8 @@ documentation of programming languages.")
(base32 "0n8m52vxmlvkj7p5jmd4rfdks65rrp4q4vzak44y6kbg9l5qa6y4"))))
(build-system pyproject-build-system)
(arguments
(list
#:tests? #false ;there are none
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
;; We don't have black 23.
(substitute* "pyproject.toml"
(("23.1.0") "22.3.0")))))))
(propagated-inputs (list python-black python-docspec python-nr-util))
(list #:tests? #false)) ;there are none
(propagated-inputs (list python-docspec python-nr-util))
(native-inputs (list python-poetry-core))
(home-page "https://github.com/NiklasRosenstein/docspec/")
(synopsis "Produce docspec data from Python source code")