# Replace ??? with appropriate values
# Remove extraneous comments before commit
# Use /usr/ports/infrastructure/bin/portcheck

COMMENT =	vectorized spatial vector file format I/O using GDAL/OGR

#
# Version number used in Python dist-info/egg-info files if using
# lang/python module; often the upstream release version number,
# but not always. Check pkg/PLIST after generating and adjust if
# necessary.
#
MODPY_DISTV =	0.12.1

DISTNAME =	pyogrio-${MODPY_DISTV}

CATEGORIES =	geo

HOMEPAGE =	https://pyogrio.readthedocs.io/

MAINTAINER =		Marco van Hulten <marco@hulten.org>

# MIT
PERMIT_PACKAGE =	Yes

MODULES =		lang/python

MODPY_PI =		Yes
MODPY_PYBUILD =		hatchling

BUILD_DEPENDS =		lang/cython \
			textproc/py-tomli \
			devel/py-versioneer \
			textproc/py-toml
#MODPY_BUILD_DEPENDS =	versioneer[toml]==0.28
#MODPY_BUILD_DEPENDS =	versioneer toml
#BUILD_DEPENDS = ${PYTHON_PKGNAMEPREFIX}versioneer>0:devel/py-versioneer \
#              ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml
			
RUN_DEPENDS =		math/py-numpy \
			devel/py-certifi
#LIB_DEPENDS =		math/py-numpy
#TEST_DEPENDS =		???

.include <bsd.port.mk>
