unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Ziltener via Guix-patches via <guix-patches@gnu.org>
To: 69763@debbugs.gnu.org
Cc: dziltener@lyrion.ch
Subject: [bug#69763] [PATCH] gnu: python-build: Update python-pypa-build to 1.1.1.
Date: Wed, 13 Mar 2024 00:40:53 +0100	[thread overview]
Message-ID: <f146b863de9ccff6624ca2eedb639c23@lyrion.ch> (raw)

---
 gnu/packages/python-build.scm | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 2ea457cdba..a381f6fcd0 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -464,27 +464,21 @@ (define-public python-packaging-bootstrap
 (define-public python-pypa-build
   (package
     (name "python-pypa-build")
-    (version "0.7.0")
+    (version "1.1.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "build" version))
               (sha256
                (base32
-                "17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs"))))
-    (build-system python-build-system)
+                "0c9a7nalcyryxp85nf8sj2bpvnd6sgdchb5s6kkw5ami8nxnbslf"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f                      ;to tests in the PyPI release
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'use-toml-instead-of-tomli
-                    ;; Using toml instead of tomli eases bootstrapping.
-                    (lambda _
-                      (substitute* "setup.cfg"
-                        (("tomli>=.*")
-                         "toml\n")))))))
+     `(#:tests? #f))                    ;to tests in the PyPI release
+    (native-inputs
+     (list python-flit-core))
     (propagated-inputs
-     `(("python-packaging" ,python-packaging-bootstrap)
-       ("python-pep517", python-pep517-bootstrap)
-       ("python-toml" ,python-toml)))
+     `(("python-pyproject-hooks" ,python-pyproject-hooks)
+       ("python-packaging" ,python-packaging-bootstrap)))
     (home-page "https://pypa-build.readthedocs.io/en/latest/")
     (synopsis "Simple Python PEP 517 package builder")
     (description "The @command{build} command invokes the PEP 517 hooks to
@@ -762,4 +756,3 @@ (define-public python-pdm-backend
      "PDM-Backend is a build backend that supports the latest packaging
 standards, which includes PEP 517, PEP 621 and PEP 660.")
     (license license:expat)))
-
-- 
2.41.0





                 reply	other threads:[~2024-03-12 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f146b863de9ccff6624ca2eedb639c23@lyrion.ch \
    --to=guix-patches@gnu.org \
    --cc=69763@debbugs.gnu.org \
    --cc=dziltener@lyrion.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).