summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-20 21:11:54 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-20 22:41:58 +0100
commit463e98357bda9ce33aa3cc149418108b25bd1c16 (patch)
tree6c5de4a11dffed29bc19eebbd6defc11c7623084 /gnu
parent0266a6a23b880474d7234add38e528963f5b7c34 (diff)
downloadguix-463e98357bda9ce33aa3cc149418108b25bd1c16.tar.gz
gnu: python-pytzdata: Update to 2019.3.
* gnu/packages/time.scm (python-pytzdata): Update to 2019.3.
[native-inputs]: Remove.
[arguments]: New field.
[propagated-inputs]: Add PYTHON-CLEO.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/time.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 0ec9a102a5..bb5351e900 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
-;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2017 ng0 <ng0@n0.is>
@@ -89,18 +89,20 @@ expressions.")
 (define-public python-pytzdata
   (package
     (name "python-pytzdata")
-    (version "2017.3.1")
+    (version "2019.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytzdata" version))
        (sha256
         (base32
-         "1wi3jh39zsa9iiyyhynhj7w5b2p9wdyd0ppavpsrmf3wxvr7cwz8"))))
+         "0ppfc6kz4p41mxyqxq1g1zp6gvns99g6b344qj6ih0x9vxy6zh7s"))))
     (build-system python-build-system)
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-nose" ,python-nose)))
+    ;; XXX: The PyPI distribution contains no tests, and the upstream
+    ;; repository lacks a setup.py!  How to build from git?
+    (arguments '(#:tests? #f))
+    (propagated-inputs
+     `(("python-cleo" ,python-cleo)))
     (home-page "https://github.com/sdispater/pytzdata")
     (synopsis "Timezone database for Python")
     (description