From 2ab2d8e5546d71e14ada8e73f4e67c803894a58a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 1 Feb 2021 21:53:28 +0100 Subject: gnu: python-folium: Update to 0.12.1. * gnu/packages/python-xyz.scm (python-folium): Update to 0.12.1. [source]: Fetch from GitHub instead of PyPI. --- gnu/packages/python-xyz.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e8b13cbe4a..bda2bcc970 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20417,13 +20417,18 @@ (define-public python-cached-property (define-public python-folium (package (name "python-folium") - (version "0.11.0") + (version "0.12.1") (source (origin - (method url-fetch) - (uri (pypi-uri "folium" version)) + ;; PyPI has a ".whl" file but not a proper source release. + ;; Thus, fetch code from Git. + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-visualization/folium") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "19sclsq3xcjfa7bavzjpyn6rl9b15jbc76n5aag4cwhqqamqj1sl")))) + (base32 "0yi5y9pfpbc4bc4ibr8cblif8ls1wf3k0zawyx86r2qwxxkkyd6k")))) (build-system python-build-system) (propagated-inputs `(("python-branca" ,python-branca) -- cgit v1.2.3