all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 68925@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>, Andreas Enge <andreas@enge.fr>,
	Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68925] [PATCH 2/8] gnu: python-pyproj: Update to 3.6.1.
Date: Sun,  4 Feb 2024 16:47:12 +0000	[thread overview]
Message-ID: <aed92ed5d9d74f7f25c5c0d8717f7f0f28582207.1707064733.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1707064733.git.felgru@posteo.net>

* gnu/packages/geo.scm (python-pyproj): Update to 3.6.1.
[arguments]: Convert to gexp.

Change-Id: I0ef2bf3da8d35b728f4ba4009caca33fa18dbad3
---
 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 @@ (define-public proj.4
 (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
-- 
2.41.0





  parent reply	other threads:[~2024-02-04 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04 16:43 [bug#68925] [PATCH 0/8] Update proj to 9.3.1 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 1/8] gnu: proj: Update " Felix Gruber
2024-02-04 16:47 ` Felix Gruber [this message]
2024-02-04 16:47 ` [bug#68925] [PATCH 3/8] gnu: libgeotiff: Fix build with proj 9.3.1 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 4/8] gnu: geos: Update to 3.12.1 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 5/8] gnu: python-shapely: Update to 2.0.2 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 6/8] gnu: python-pyshp: Update to 2.3.1 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 7/8] gnu: grass: Update to 7.8.8 Felix Gruber
2024-02-04 16:47 ` [bug#68925] [PATCH 8/8] gnu: qgis: Fix build against proj 9.3.1 Felix Gruber
2024-02-07 17:35 ` bug#68925: [PATCH 0/8] Update proj to 9.3.1 Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aed92ed5d9d74f7f25c5c0d8717f7f0f28582207.1707064733.git.felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=68925@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=sharlatanus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.