svn commit: r560044 - in head/graphics: . py-rasterstats

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 3 19:57:28 UTC 2021


Author: sunpoet
Date: Sun Jan  3 19:57:22 2021
New Revision: 560044
URL: https://svnweb.freebsd.org/changeset/ports/560044

Log:
  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

Added:
  head/graphics/py-rasterstats/
  head/graphics/py-rasterstats/Makefile   (contents, props changed)
  head/graphics/py-rasterstats/distinfo   (contents, props changed)
  head/graphics/py-rasterstats/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Jan  3 19:57:17 2021	(r560043)
+++ head/graphics/Makefile	Sun Jan  3 19:57:22 2021	(r560044)
@@ -887,6 +887,7 @@
     SUBDIR += py-qrencode
     SUBDIR += py-qt5-svg
     SUBDIR += py-rasterio
+    SUBDIR += py-rasterstats
     SUBDIR += py-rawkit
     SUBDIR += py-s2
     SUBDIR += py-scikit-image

Added: head/graphics/py-rasterstats/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-rasterstats/Makefile	Sun Jan  3 19:57:22 2021	(r560044)
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	rasterstats
+PORTVERSION=	0.15.0
+CATEGORIES=	graphics python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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>

Added: head/graphics/py-rasterstats/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-rasterstats/distinfo	Sun Jan  3 19:57:22 2021	(r560044)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598743
+SHA256 (rasterstats-0.15.0.tar.gz) = d554fbc7e749e5649dfcdbd7ea8e21c7388437bc66ef13fde9ef3662a258b277
+SIZE (rasterstats-0.15.0.tar.gz) = 15809

Added: head/graphics/py-rasterstats/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-rasterstats/pkg-descr	Sun Jan  3 19:57:22 2021	(r560044)
@@ -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


More information about the svn-ports-head mailing list