gnu: Add python-gdal.
For <https://issues.guix.gnu.org/issue/36623>, thank to Arne Babenhauserheide for the original patch. * gnu/packages/geo.scm (python-gdal): New package.
This commit is contained in:
parent
e6df9c7e85
commit
a18a27be9f
|
@ -604,6 +604,25 @@ utilities for data translation and processing.")
|
|||
;; frmts/mrf/libLERC
|
||||
license:asl2.0))))
|
||||
|
||||
(define-public python-gdal
|
||||
(package (inherit gdal)
|
||||
(name "python-gdal")
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'chdir
|
||||
(lambda _
|
||||
(chdir "swig/python")
|
||||
#t)))))
|
||||
(native-inputs '())
|
||||
(propagated-inputs
|
||||
`(("python-numpy" ,python-numpy)))
|
||||
(inputs
|
||||
`(("gdal" ,gdal)))
|
||||
(synopsis "GDAL (Geospatial Data Abstraction Library) python bindings")))
|
||||
|
||||
(define-public postgis
|
||||
(package
|
||||
(name "postgis")
|
||||
|
|
Loading…
Reference in New Issue