summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-12 15:32:10 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-13 12:46:42 +0100
commitc08e55df4cc5925c5881863dd6973eca401dc25e (patch)
treec77a50e8e2230dfbd8dd0b1989f379f340237ed8
parent35c3a1f5b5bb120ca2194b2aab5f93fcd511d1cd (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.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 2fe41d1358b..3ec115f3185 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -411,20 +411,23 @@ business day calculation.")
411 (version "2.6") 411 (version "2.6")
412 (source 412 (source
413 (origin 413 (origin
414 (method url-fetch) 414 (method git-fetch)
415 (uri (pypi-uri "parsedatetime" version)) 415 (uri (git-reference
416 (url "https://github.com/bear/parsedatetime")
417 (commit (string-append "v" version))))
418 (file-name (git-file-name name version))
416 (sha256 419 (sha256
417 (base32 420 (base32 "001rxkawjjjffbqzjg96znkhj4z6q7ky349rldd8yx6vk8cgdc2m"))))
418 "0mfl0ixshqkwx7z5siaib7ix5j2iahb1jqfpyhqp42wan7xnicsc")))) 421 (build-system pyproject-build-system)
419 (build-system python-build-system)
420 (native-inputs 422 (native-inputs
421 (list python-nose python-pyicu python-pytest python-pytest-runner)) 423 (list python-pyicu python-pytest python-setuptools python-wheel))
422 (propagated-inputs 424 (propagated-inputs
423 (list python-future)) 425 (list python-future))
424 (home-page "https://github.com/bear/parsedatetime/") 426 (home-page "https://github.com/bear/parsedatetime/")
425 (synopsis "Parse human-readable date/time text") 427 (synopsis "Parse human-readable date/time text")
426 (description 428 (description
427 "Parse human-readable date/time text.") 429 "This package provides some tools to parse human-readable date/time text
430in Python.")
428 (license asl2.0))) 431 (license asl2.0)))
429 432
430(define-public python-ciso8601 433(define-public python-ciso8601