summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 23:04:54 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:54 +0100
commitfc5077c07ea4caa0ce4f49724efa63cf4e26bf3d (patch)
tree3cf637b0062a48bbf6a77067c014c5a4962ec96c /gnu/packages/python-xyz.scm
parentad72f70de1757e5753823ab998d0484ff8b40f1c (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm36
1 files changed, 22 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 42bd05ae7c..6d29f223f8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32899,24 +32899,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