sharlatan pushed a commit to branch python-team
in repository guix.

commit 7f27e33592d6cea0c7434e9ba4d967796c4d3f70
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri May 10 00:53:47 2024 +0200

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6fc3eaf802..cea91c91a5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")

Reply via email to