mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: python-iso8601: Update to 1.0.2.
* gnu/packages/time.scm (python-iso8601): Update to 1.0.2. [native-inputs]: Add PYTHON-PYTZ. [home-page]: Update to current. [properties]: New field. * gnu/packages/time.scm (python2-iso8601): Update to 0.1.16.
This commit is contained in:
parent
447e438aa6
commit
cc8d4fa5ab
1 changed files with 16 additions and 5 deletions
|
@ -353,14 +353,14 @@ (define-public python2-isodate
|
||||||
(define-public python-iso8601
|
(define-public python-iso8601
|
||||||
(package
|
(package
|
||||||
(name "python-iso8601")
|
(name "python-iso8601")
|
||||||
(version "0.1.13")
|
(version "1.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "iso8601" version))
|
(uri (pypi-uri "iso8601" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1cgfj91khil4ii5gb8s6nxwm73vx7hqc2k79dd9d8990ylmc5ppp"))))
|
"1ccl6plks706hxm35cn1wsvxhqh3bfwi5cjgjpdxjib81qi07x97"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
@ -368,16 +368,27 @@ (define-public python-iso8601
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "pytest" "-vv" "iso8601"))))))
|
(invoke "pytest" "-vv" "iso8601"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest python-pytz))
|
||||||
(home-page "https://bitbucket.org/micktwomey/pyiso8601")
|
(home-page "https://github.com/micktwomey/pyiso8601")
|
||||||
(synopsis "Module to parse ISO 8601 dates")
|
(synopsis "Module to parse ISO 8601 dates")
|
||||||
(description
|
(description
|
||||||
"This module parses the most common forms of ISO 8601 date strings (e.g.
|
"This module parses the most common forms of ISO 8601 date strings (e.g.
|
||||||
@code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.")
|
@code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-iso8601))))
|
||||||
(license expat)))
|
(license expat)))
|
||||||
|
|
||||||
(define-public python2-iso8601
|
(define-public python2-iso8601
|
||||||
(package-with-python2 python-iso8601))
|
(let ((base (package-with-python2 (strip-python2-variant python-iso8601))))
|
||||||
|
(package
|
||||||
|
(inherit base)
|
||||||
|
(version "0.1.16")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "iso8601" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0ny8dlycapxr8n2m13jxy0r7kbqvgypfshb6y7l981c0rivjylrn")))))))
|
||||||
|
|
||||||
(define-public python-monotonic
|
(define-public python-monotonic
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue