[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: python-pyproj: Update to 3.6.1.
From: |
guix-commits |
Subject: |
02/09: gnu: python-pyproj: Update to 3.6.1. |
Date: |
Wed, 7 Feb 2024 12:35:27 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit e25fa3f6da65e0cd6ac0c2bf86265aecfbd15345
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sun Feb 4 16:47:12 2024 +0000
gnu: python-pyproj: Update to 3.6.1.
* gnu/packages/geo.scm (python-pyproj): Update to 3.6.1.
[arguments]: Convert to gexp.
Change-Id: I0ef2bf3da8d35b728f4ba4009caca33fa18dbad3
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/geo.scm | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 4d76095d67..5882271174 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -844,31 +844,36 @@ projections.")
(define-public python-pyproj
(package
(name "python-pyproj")
- (version "3.5.0")
+ (version "3.6.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyproj" version))
(sha256
(base32
- "1xhvr0n5gb7v6x0wd7cqmc0zrky2fag7bq2shx6l2qqq3icx2ncq"))))
+ "1gq1spm5zdq9k8kl9cb31b9m08ybyrdggfw3sjrqyz9b9iq7raj4"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-proj-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((proj (assoc-ref inputs "proj")))
- (setenv "PROJ_DIR" proj)
- (substitute* "pyproj/datadir.py"
- (("(internal_datadir = ).*$" all var)
- (string-append var "Path(\"" proj "/share/proj\")\n")))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-proj-path
+ (lambda* (#:key #:allow-other-keys)
+ (let ((proj #$(this-package-input "proj")))
+ (setenv "PROJ_DIR" proj)
+ (substitute* "pyproj/datadir.py"
+ (("(internal_datadir = ).*$" all var)
+ (string-append var "Path(\"" proj
+ "/share/proj\")\n")))))))))
(inputs
(list proj))
(propagated-inputs
(list python-certifi))
(native-inputs
- (list python-cython python-numpy python-pandas python-pytest
+ (list python-cython
+ python-numpy
+ python-pandas
+ python-pytest
python-xarray))
(home-page "https://github.com/pyproj4/pyproj")
(synopsis
- branch master updated (10dba10fd6 -> 5d2302a195), guix-commits, 2024/02/07
- 02/09: gnu: python-pyproj: Update to 3.6.1.,
guix-commits <=
- 06/09: gnu: python-pyshp: Update to 2.3.1., guix-commits, 2024/02/07
- 03/09: gnu: libgeotiff: Fix build with proj 9.3.1., guix-commits, 2024/02/07
- 05/09: gnu: python-shapely: Update to 2.0.2., guix-commits, 2024/02/07
- 01/09: gnu: proj: Update to 9.3.1., guix-commits, 2024/02/07
- 07/09: gnu: grass: Update to 7.8.8., guix-commits, 2024/02/07
- 08/09: gnu: qgis: Fix build against proj 9.3.1., guix-commits, 2024/02/07
- 04/09: gnu: geos: Update to 3.12.1., guix-commits, 2024/02/07
- 09/09: gnu: janet: Update to 1.33.0, guix-commits, 2024/02/07