Import geo/py-geoif 0.7.
PyGeoIf provides a GeoJSON-like protocol for geo-spatial (GIS) vector data. You may think of pygeoif as a shapely ultralight which lets you construct geometries and perform very basic operations like reading and writing geometries from/to WKT, constructing line strings out of points, polygons from linear rings, multi polygons from polygons, etc. It was inspired by shapely and implements the geometries in a way that when you are familiar with shapely you feel right at home with pygeoif. Not porting 1.0.0 since pygeofilter isnt compatible with it yet, cf https://github.com/geopython/pygeofilter/issues/57 ok sthen@
This commit is contained in:
parent
9422e96cd1
commit
15f221b90d
22
geo/py-geoif/Makefile
Normal file
22
geo/py-geoif/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
COMMENT = basic implementation of the __geo_interface__
|
||||||
|
|
||||||
|
MODPY_EGG_VERSION = 0.7
|
||||||
|
DISTNAME = pygeoif-${MODPY_EGG_VERSION}
|
||||||
|
PKGNAME = py-geoif-${MODPY_EGG_VERSION}
|
||||||
|
|
||||||
|
CATEGORIES = geo devel
|
||||||
|
|
||||||
|
HOMEPAGE = https://github.com/cleder/pygeoif/
|
||||||
|
# LGPL
|
||||||
|
PERMIT_PACKAGE = Yes
|
||||||
|
|
||||||
|
MODULES = lang/python
|
||||||
|
FLAVORS = python3
|
||||||
|
FLAVOR ?= python3
|
||||||
|
|
||||||
|
MODPY_PYBUILD = setuptools
|
||||||
|
MODPY_PI = Yes
|
||||||
|
MODPY_PYTEST_ARGS = pygeoif
|
||||||
|
RUN_DEPENDS = devel/py-typing-extensions${MODPY_FLAVOR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
geo/py-geoif/distinfo
Normal file
2
geo/py-geoif/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (pygeoif-0.7.tar.gz) = EaoMBx04vvpK870SPvqDSr4II6hz83RPCgcKRAJa/gQ=
|
||||||
|
SIZE (pygeoif-0.7.tar.gz) = 34773
|
8
geo/py-geoif/pkg/DESCR
Normal file
8
geo/py-geoif/pkg/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
PyGeoIf provides a GeoJSON-like protocol for geo-spatial (GIS) vector data.
|
||||||
|
|
||||||
|
You may think of pygeoif as a shapely ultralight which lets you
|
||||||
|
construct geometries and perform very basic operations like reading and
|
||||||
|
writing geometries from/to WKT, constructing line strings out of points,
|
||||||
|
polygons from linear rings, multi polygons from polygons, etc. It was
|
||||||
|
inspired by shapely and implements the geometries in a way that when you
|
||||||
|
are familiar with shapely you feel right at home with pygeoif.
|
16
geo/py-geoif/pkg/PLIST
Normal file
16
geo/py-geoif/pkg/PLIST
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif-${MODPY_EGG_VERSION}.dist-info/
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif-${MODPY_EGG_VERSION}.dist-info/METADATA
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif-${MODPY_EGG_VERSION}.dist-info/RECORD
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif-${MODPY_EGG_VERSION}.dist-info/WHEEL
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif-${MODPY_EGG_VERSION}.dist-info/top_level.txt
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/__init__.py
|
||||||
|
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}/
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}geometry.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}geometry.${MODPY_PYC_MAGIC_TAG}pyc
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}test_main.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/${MODPY_PYCACHE}test_main.${MODPY_PYC_MAGIC_TAG}pyc
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/geometry.py
|
||||||
|
lib/python${MODPY_VERSION}/site-packages/pygeoif/test_main.py
|
Loading…
Reference in New Issue
Block a user