gnu: python-typed-ast: Update to 1.4.0.
authorMathieu Othacehe <m.othacehe@gmail.com>
Sat, 19 Oct 2019 13:26:55 +0000 (15:26 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Sat, 19 Oct 2019 13:56:23 +0000 (15:56 +0200)
* gnu/packages/python-xyz.scm (python-typed-ast): Update to 1.4.0,
[source]: switch to git-fetch.

gnu/packages/python-xyz.scm

index 2983425..fb6470e 100644 (file)
@@ -14735,14 +14735,16 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
 (define-public python-typed-ast
   (package
     (name "python-typed-ast")
-    (version "1.3.5")
+    (version "1.4.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "typed-ast" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/python/typed_ast.git")
+             (commit version)))
        (sha256
-        (base32
-         "1m7pr6qpana3cvqwiw7mlvrgvmw27ch5mx1592572xhlki8g85ak"))))
+        (base32 "0l0hz809f7i356kmqkvfsaswiidb98j9hs9rrjnfawzqcbffzgyb"))
+       (file-name (git-file-name name version))))
     (build-system python-build-system)
     (arguments
      `(#:modules ((guix build utils)