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

commit b7232cf8c064daf5ce0559e9b8b49d354eaed1ce
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 21 23:04:54 2025 +0200

    gnu: python-daiquiri: Update to 3.0.1.
    
    * gnu/packages/python-xyz.scm (python-daiquiri): Update to 3.0.1.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Add 'set-version phase.
    [native-inputs]: Add python-setuptools.  Remove python-six.
    [synopsis, description]: Improve style.
    
    Change-Id: I7d1caed0f59f412a82998fea2c1916b4b67cde83
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 878d8ca283..4f133e20d6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32923,24 +32923,32 @@ messages.")
 (define-public python-daiquiri
   (package
     (name "python-daiquiri")
-    (version "2.1.1")
+    (version "3.0.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "daiquiri" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jd/daiquiri";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1qmank3c217ddiig3xr8ps0mqaydcp0q5a62in9a9g4zf72zjnqd"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-json-logger))
-    (native-inputs
-     (list python-mock python-pytest python-setuptools-scm python-six))
+        (base32 "0vfakncq87s6g67mqihjf32xarphd75c03ammvgavladz0pqhlg4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-version
+            (lambda _
+              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+    (propagated-inputs (list python-json-logger))
+    (native-inputs (list python-mock python-pytest python-setuptools
+                         python-setuptools-scm))
     (home-page "https://github.com/jd/daiquiri";)
-    (synopsis
-     "Library to configure Python logging easily")
-    (description "The daiquiri library provides an easy way to configure
-logging in Python.  It also provides some custom formatters and handlers.")
+    (synopsis "Library to configure Python logging easily")
+    (description
+     "The daiquiri library provides an easy way to configure logging in
+Python.  It also provides some custom formatters and handlers.")
     (license license:asl2.0)))
 
 (define-public python-pifpaf

Reply via email to