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 87eb0c24a7
commit b7232cf8c0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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