diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-13 14:40:41 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-13 14:40:41 +0000 |
commit | 7ee7b08d2a8289ce5b0776ac712cdb567fa96521 (patch) | |
tree | 0e2ce2391a2d628dffb366449766cf121790420d | |
parent | Add wolfssh 1.4.5 (diff) |
Add py-pygeos 0.8
PyGEOS is a C/Python library with vectorized geometry functions. The geometry
operations are done in the open-source geometry library GEOS. PyGEOS wraps these
operations in NumPy ufuncs providing a performance improvement when operating on
arrays of geometries.
A universal function (or ufunc for short) is a function that operates on
n-dimensional arrays in an element-by-element fashion, supporting array
broadcasting. The for-loops that are involved are fully implemented in C
diminishing the overhead of the Python interpreter.
WWW: https://github.com/pygeos/pygeos
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/py-pygeos/Makefile | 30 | ||||
-rw-r--r-- | graphics/py-pygeos/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-pygeos/pkg-descr | 11 |
4 files changed, 45 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 7d1b8279d72d..df9c41b41327 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -868,6 +868,7 @@ SUBDIR += py-pygal SUBDIR += py-pyganim SUBDIR += py-pygeoapi + SUBDIR += py-pygeos SUBDIR += py-pyglet SUBDIR += py-pyglet150 SUBDIR += py-pygraphviz diff --git a/graphics/py-pygeos/Makefile b/graphics/py-pygeos/Makefile new file mode 100644 index 000000000000..896aea45e249 --- /dev/null +++ b/graphics/py-pygeos/Makefile @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pygeos +PORTVERSION= 0.8 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= GEOS wrapped in numpy ufuncs + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= geos>=3.5:graphics/geos \ + ${PYNUMPY} +LIB_DEPENDS= libgeos.so:graphics/geos +RUN_DEPENDS= ${PYNUMPY} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +#NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v + +.include <bsd.port.mk> diff --git a/graphics/py-pygeos/distinfo b/graphics/py-pygeos/distinfo new file mode 100644 index 000000000000..93798c9c091e --- /dev/null +++ b/graphics/py-pygeos/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1607685347 +SHA256 (pygeos-0.8.tar.gz) = 45b7e1aaa5fc9ff53565ef089fb75c53c419ace8cee18385ec1d7c1515c17cbc +SIZE (pygeos-0.8.tar.gz) = 74522 diff --git a/graphics/py-pygeos/pkg-descr b/graphics/py-pygeos/pkg-descr new file mode 100644 index 000000000000..e3fb58dc2474 --- /dev/null +++ b/graphics/py-pygeos/pkg-descr @@ -0,0 +1,11 @@ +PyGEOS is a C/Python library with vectorized geometry functions. The geometry +operations are done in the open-source geometry library GEOS. PyGEOS wraps these +operations in NumPy ufuncs providing a performance improvement when operating on +arrays of geometries. + +A universal function (or ufunc for short) is a function that operates on +n-dimensional arrays in an element-by-element fashion, supporting array +broadcasting. The for-loops that are involved are fully implemented in C +diminishing the overhead of the Python interpreter. + +WWW: https://github.com/pygeos/pygeos |