[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: Add python-rasterio.
From: |
guix-commits |
Subject: |
06/07: gnu: Add python-rasterio. |
Date: |
Thu, 29 Jun 2023 06:05:25 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit be42a9f5eb411c752c95106a68631dfb4648e083
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 27 17:07:43 2023 +0200
gnu: Add python-rasterio.
* gnu/packages/python-xyz.scm (python-rasterio): New variable.
---
gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6a9e07d49..f6f34c12b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1766,6 +1766,51 @@ It can handle tasks such as scanning, tracerouting,
probing, unit tests,
attacks or network discovery.")
(license license:gpl2)))
+(define-public python-rasterio
+ (package
+ (name "python-rasterio")
+ (version "1.3.7")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "rasterio" version))
+ (sha256
+ (base32
+ "012341c1rlcdr9rkg97lbhxrwzn4sr2xah4zjfnqy2r1227wpzdb"))))
+ (properties
+ '((updater-ignored-native-inputs . ("gdal" "python-cython"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #false ;test data not present
+ #:phases
+ '(modify-phases %standard-phases
+ (add-before 'check 'build-extensions
+ (lambda _
+ ;; Cython extensions have to be built before running the tests.
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (propagated-inputs (list python-affine
+ python-attrs
+ python-certifi
+ python-click
+ python-click-plugins
+ python-cligj
+ python-numpy
+ python-setuptools
+ python-snuggs))
+ (native-inputs (list gdal
+ python-boto3
+ python-cython
+ python-hypothesis
+ python-packaging
+ python-pytest
+ python-pytest-cov
+ python-shapely))
+ (home-page "https://github.com/rasterio/rasterio")
+ (synopsis "Fast and direct raster I/O for use with Numpy and SciPy")
+ (description "This package implements fast and direct raster I/O for use
+with Numpy and SciPy.")
+ (license license:bsd-3)))
+
(define-public python-shapely
(package
(name "python-shapely")
- branch master updated (b24a05830d -> 10ff8ff4b5), guix-commits, 2023/06/29
- 03/07: gnu: openjdk19: Update to 19.0.2., guix-commits, 2023/06/29
- 05/07: gnu: Add python-affine., guix-commits, 2023/06/29
- 01/07: gnu: python-threadpoolctl: Update to 3.1.0., guix-commits, 2023/06/29
- 07/07: gnu: r-pando: Update to 1.0.5., guix-commits, 2023/06/29
- 06/07: gnu: Add python-rasterio.,
guix-commits <=
- 04/07: gnu: Add python-snuggs., guix-commits, 2023/06/29
- 02/07: gnu: python-distributed: Disable timeout test., guix-commits, 2023/06/29