aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-rasterstats
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-03 19:57:22 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-03 19:57:22 +0000
commit16ae5bfe20382164f634a99f0056681c6b4f9539 (patch)
tree0ebf3278298577c8386cf31b3171d262ffa5a879 /graphics/py-rasterstats
parent2684e0e5a58c7d53f02095bdc557df86ee65b441 (diff)
downloadports-16ae5bfe20382164f634a99f0056681c6b4f9539.tar.gz
ports-16ae5bfe20382164f634a99f0056681c6b4f9539.zip
Add py-rasterstats 0.15.0
rasterstats is a Python module for summarizing geospatial raster datasets based on vector geometries. It includes functions for zonal statistics and interpolated point queries. The command-line interface allows for easy interoperability with other GeoJSON tools. WWW: https://github.com/perrygeo/python-rasterstats
Notes
Notes: svn path=/head/; revision=560044
Diffstat (limited to 'graphics/py-rasterstats')
-rw-r--r--graphics/py-rasterstats/Makefile29
-rw-r--r--graphics/py-rasterstats/distinfo3
-rw-r--r--graphics/py-rasterstats/pkg-descr6
3 files changed, 38 insertions, 0 deletions
diff --git a/graphics/py-rasterstats/Makefile b/graphics/py-rasterstats/Makefile
new file mode 100644
index 000000000000..12bd3fce8041
--- /dev/null
+++ b/graphics/py-rasterstats/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= rasterstats
+PORTVERSION= 0.15.0
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Summarize geospatial raster datasets based on vector geometries
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}affine>=0<3.0:math/py-affine@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cligj>=0.4:devel/py-cligj@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Fiona>=0:graphics/py-fiona@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.9,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.0:graphics/py-rasterio@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Shapely>=0:devel/py-shapely@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-rasterstats/distinfo b/graphics/py-rasterstats/distinfo
new file mode 100644
index 000000000000..2131ef979457
--- /dev/null
+++ b/graphics/py-rasterstats/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598743
+SHA256 (rasterstats-0.15.0.tar.gz) = d554fbc7e749e5649dfcdbd7ea8e21c7388437bc66ef13fde9ef3662a258b277
+SIZE (rasterstats-0.15.0.tar.gz) = 15809
diff --git a/graphics/py-rasterstats/pkg-descr b/graphics/py-rasterstats/pkg-descr
new file mode 100644
index 000000000000..a752aaafc0df
--- /dev/null
+++ b/graphics/py-rasterstats/pkg-descr
@@ -0,0 +1,6 @@
+rasterstats is a Python module for summarizing geospatial raster datasets based
+on vector geometries. It includes functions for zonal statistics and
+interpolated point queries. The command-line interface allows for easy
+interoperability with other GeoJSON tools.
+
+WWW: https://github.com/perrygeo/python-rasterstats