diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-12 15:32:10 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 12:46:42 +0100 |
| commit | c08e55df4cc5925c5881863dd6973eca401dc25e (patch) | |
| tree | c77a50e8e2230dfbd8dd0b1989f379f340237ed8 | |
| parent | 35c3a1f5b5bb120ca2194b2aab5f93fcd511d1cd (diff) | |
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>
| -rw-r--r-- | gnu/packages/time.scm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 2fe41d1358..3ec115f318 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -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 |
