gnu: python-parsedatetime: Switch to pyproject.

* gnu/packages/time.scm (python-parsedatetime):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.  Remove
python-nose, python-pytest-runner.
[description]: Improve it.

Change-Id: Ib513ada340e504ea5b35297947e598641f0db2a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-12 15:32:10 +02:00 committed by Sharlatan Hellseher
parent 35c3a1f5b5
commit c08e55df4c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -411,20 +411,23 @@ business day calculation.")
(version "2.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parsedatetime" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/bear/parsedatetime")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0mfl0ixshqkwx7z5siaib7ix5j2iahb1jqfpyhqp42wan7xnicsc"))))
(build-system python-build-system)
(base32 "001rxkawjjjffbqzjg96znkhj4z6q7ky349rldd8yx6vk8cgdc2m"))))
(build-system pyproject-build-system)
(native-inputs
(list python-nose python-pyicu python-pytest python-pytest-runner))
(list python-pyicu python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-future))
(home-page "https://github.com/bear/parsedatetime/")
(synopsis "Parse human-readable date/time text")
(description
"Parse human-readable date/time text.")
"This package provides some tools to parse human-readable date/time text
in Python.")
(license asl2.0)))
(define-public python-ciso8601