Date: Sun, 13 Dec 2020 14:40:41 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557900 - in head/graphics: . py-pygeos Message-ID: <202012131440.0BDEefwn029300@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Dec 13 14:40:41 2020 New Revision: 557900 URL: https://svnweb.freebsd.org/changeset/ports/557900 Log: 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 Added: head/graphics/py-pygeos/ head/graphics/py-pygeos/Makefile (contents, props changed) head/graphics/py-pygeos/distinfo (contents, props changed) head/graphics/py-pygeos/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Dec 13 14:40:35 2020 (r557899) +++ head/graphics/Makefile Sun Dec 13 14:40:41 2020 (r557900) @@ -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 Added: head/graphics/py-pygeos/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pygeos/Makefile Sun Dec 13 14:40:41 2020 (r557900) @@ -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> Added: head/graphics/py-pygeos/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pygeos/distinfo Sun Dec 13 14:40:41 2020 (r557900) @@ -0,0 +1,3 @@ +TIMESTAMP = 1607685347 +SHA256 (pygeos-0.8.tar.gz) = 45b7e1aaa5fc9ff53565ef089fb75c53c419ace8cee18385ec1d7c1515c17cbc +SIZE (pygeos-0.8.tar.gz) = 74522 Added: head/graphics/py-pygeos/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pygeos/pkg-descr Sun Dec 13 14:40:41 2020 (r557900) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012131440.0BDEefwn029300>