33 lines
676 B
Makefile

# $OpenBSD: Makefile,v 1.6 2020/07/03 21:12:54 sthen Exp $
COMMENT = cloud optimized GeoTiff creation plugin for rasterio
MODPY_EGG_VERSION = 1.1.10
DISTNAME = rio-cogeo-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/.dev/pre/}
REVISION = 0
CATEGORIES = geo
# BSD
PERMIT_PACKAGE = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
RUN_DEPENDS = geo/py-rasterio${MODPY_FLAVOR} \
geo/py-mercantile${MODPY_FLAVOR} \
geo/py-supermercado${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}>=1.15
# test_read_no_band requires hdf5 support in GDAL
# requires datafiles only on github...
NO_TEST = Yes
.include <bsd.port.mk>