mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
35c3a1f5b5
commit
c08e55df4c
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue