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