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>master
parent
4c1a7678b2
commit
e25fa3f6da
|
@ -844,31 +844,36 @@ projections.")
|
||||||
(define-public python-pyproj
|
(define-public python-pyproj
|
||||||
(package
|
(package
|
||||||
(name "python-pyproj")
|
(name "python-pyproj")
|
||||||
(version "3.5.0")
|
(version "3.6.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyproj" version))
|
(uri (pypi-uri "pyproj" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xhvr0n5gb7v6x0wd7cqmc0zrky2fag7bq2shx6l2qqq3icx2ncq"))))
|
"1gq1spm5zdq9k8kl9cb31b9m08ybyrdggfw3sjrqyz9b9iq7raj4"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'set-proj-path
|
(add-after 'unpack 'set-proj-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key #:allow-other-keys)
|
||||||
(let ((proj (assoc-ref inputs "proj")))
|
(let ((proj #$(this-package-input "proj")))
|
||||||
(setenv "PROJ_DIR" proj)
|
(setenv "PROJ_DIR" proj)
|
||||||
(substitute* "pyproj/datadir.py"
|
(substitute* "pyproj/datadir.py"
|
||||||
(("(internal_datadir = ).*$" all var)
|
(("(internal_datadir = ).*$" all var)
|
||||||
(string-append var "Path(\"" proj "/share/proj\")\n")))))))))
|
(string-append var "Path(\"" proj
|
||||||
|
"/share/proj\")\n")))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list proj))
|
(list proj))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-certifi))
|
(list python-certifi))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython python-numpy python-pandas python-pytest
|
(list python-cython
|
||||||
|
python-numpy
|
||||||
|
python-pandas
|
||||||
|
python-pytest
|
||||||
python-xarray))
|
python-xarray))
|
||||||
(home-page "https://github.com/pyproj4/pyproj")
|
(home-page "https://github.com/pyproj4/pyproj")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
|
Reference in New Issue