lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit b1b9552dcfd76094d0b40a0532fe2552114c101a
Author: Lars-Dominik Braun <[email protected]>
AuthorDate: Fri Dec 31 15:07:42 2021 +0100

    gnu: python-dnspython: Force poetry backend.
    
    * gnu/packages/python-xyz.scm (python-dnspython)[arguments]: Force 
#:build-backend.
    [native-inputs]: Add python-poetry-core.
---
 gnu/packages/python-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aae774fc42..beee043922 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16868,6 +16868,7 @@ until the object is actually required, and caches the 
result of said call.")
     (build-system python-build-system)
     (arguments
      `(#:tests? #f                      ; XXX: requires internet access
+       #:build-backend "poetry.core.masonry.api"
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-getprotobyname-calls
@@ -16880,7 +16881,7 @@ until the object is actually required, and caches the 
result of said call.")
                 "6")
                (("socket.getprotobyname\\('udp'\\)")
                 "17")))))))
-    (native-inputs (list unzip))
+    (native-inputs (list unzip python-poetry-core))
     (home-page "https://www.dnspython.org";)
     (synopsis "DNS toolkit for Python")
     (description

Reply via email to