From 8bb5bcf679dd34c390959c52c61b6567f7873073 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Thu, 8 Sep 2022 20:14:35 +0000 Subject: [PATCH] gnu: python-cartopy: Update to 0.20.3. * gnu/packages/geo.scm (python-cartopy): Update to 0.20.3. [propagated-inputs]: Add python-pyproj. [inputs]: Add comment to explain why proj is needed after depending on python-pyproj. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/geo.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 98a9e05b9b..f27c97477d 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1088,13 +1088,13 @@ (define-public python-cartopy (package (name "python-cartopy") ;; This is a post-release fix that adds build_ext to setup.py. - (version "0.19.0.post1") + (version "0.20.3") (source (origin (method url-fetch) (uri (pypi-uri "Cartopy" version)) (sha256 - (base32 "0xnm8z3as3hriivdfd26s6vn5b63gb46x6vxw6gh1mwfm5rlg2sb")))) + (base32 "01lhnkhw22jp6hnrs5qvgkq4fqcni2sx7ydiyv8w8xxx5wpglq0d")))) (build-system python-build-system) (arguments `(#:phases @@ -1112,11 +1112,16 @@ (define-public python-cartopy (list python-matplotlib python-numpy python-pykdtree + python-pyproj python-pyshp python-scipy python-shapely)) (inputs - (list geos proj)) + (list geos + ;; cartopy's setup.py looks for the proj executable. + ;; Not sure if it actually makes use of it since it + ;; probably uses proj only through pyproj. + proj)) (native-inputs (list python-cython python-flufl-lock python-pytest)) (home-page "https://scitools.org.uk/cartopy/docs/latest/")