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>
This commit is contained in:
Nicolas Graves 2025-09-21 23:04:54 +02:00 committed by Sharlatan Hellseher
parent ad72f70de1
commit fc5077c07e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -32899,24 +32899,32 @@ messages.")
(define-public python-daiquiri (define-public python-daiquiri
(package (package
(name "python-daiquiri") (name "python-daiquiri")
(version "2.1.1") (version "3.0.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "daiquiri" version)) (uri (git-reference
(url "https://github.com/jd/daiquiri")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0vfakncq87s6g67mqihjf32xarphd75c03ammvgavladz0pqhlg4"))))
"1qmank3c217ddiig3xr8ps0mqaydcp0q5a62in9a9g4zf72zjnqd")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
(propagated-inputs (list
(list python-json-logger)) #:phases
(native-inputs #~(modify-phases %standard-phases
(list python-mock python-pytest python-setuptools-scm python-six)) (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") (home-page "https://github.com/jd/daiquiri")
(synopsis (synopsis "Library to configure Python logging easily")
"Library to configure Python logging easily") (description
(description "The daiquiri library provides an easy way to configure "The daiquiri library provides an easy way to configure logging in
logging in Python. It also provides some custom formatters and handlers.") Python. It also provides some custom formatters and handlers.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python-pifpaf (define-public python-pifpaf