gnu: python-pendulum: Update to 2.1.0.

* gnu/packages/time.scm (python-pendulum): Update to 2.1.0.
[native-inputs]: Remove.
[arguments]: New field.
[propagated-inputs]: Remove PYTHON-TZLOCAL.
This commit is contained in:
Marius Bakke 2020-03-20 21:13:12 +01:00
parent 463e98357b
commit e5023bfd2a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -138,22 +138,21 @@ (define-public python2-pytz
(define-public python-pendulum
(package
(name "python-pendulum")
(version "1.2.4")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pendulum" version))
(sha256
(base32
"1fj36yxi2f4lzchzd8ny1qjl67dbypnk0gn8qwad2w78579m8m8z"))))
"1zhzk0ai8is8zclw4v73dllf0hx0l5nmm4sbwrh6cl8h5qsang09"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest" ,python-pytest)
("python-nose" ,python-nose)))
;; XXX: The PyPI distribution lacks tests, and the upstream repository
;; lacks a setup.py!
(arguments '(#:tests? #f))
(propagated-inputs
`(("python-dateutil" ,python-dateutil)
("python-pytzdata" ,python-pytzdata)
("python-tzlocal" ,python-tzlocal)))
("python-pytzdata" ,python-pytzdata)))
(home-page "https://github.com/sdispater/pendulum")
(synopsis "Alternate API for Python datetimes")
(description "Pendulum is a drop-in replacement for the standard