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:
宋文武 2019-07-20 22:39:33 +08:00
parent e6df9c7e85
commit a18a27be9f
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 19 additions and 0 deletions

View File

@ -604,6 +604,25 @@ utilities for data translation and processing.")
;; frmts/mrf/libLERC ;; frmts/mrf/libLERC
license:asl2.0)))) 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 (define-public postgis
(package (package
(name "postgis") (name "postgis")