[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add python-gdal.
From: |
guix-commits |
Subject: |
01/01: gnu: Add python-gdal. |
Date: |
Sun, 21 Jul 2019 09:05:46 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit a18a27be9f6f6f43cc5909d55712058031de4831
Author: 宋文武 <address@hidden>
Date: Sat Jul 20 22:39:33 2019 +0800
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.
---
gnu/packages/geo.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e4b6a26..8005c46 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -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")