# $OpenBSD$

COMMENT =	Python binding to the triangle library

MODPY_EGG_VERSION =	20200424

DISTNAME =	triangle-${MODPY_EGG_VERSION}
PKGNAME =	py-${DISTNAME}

CATEGORIES =	math

HOMEPAGE =	https://rufat.be/triangle
MAINTAINER = 	Evandro Rathke <erathke@gmail.com>

# The Python wrapper itself claims to be LGPLv3, but the bundled copy of the
# triangle library has a non-commercial license
PERMIT_PACKAGE = 	No

MODULES =		lang/python

MODPY_PI =		Yes
MODPY_SETUPTOOLS =	Yes

RUN_DEPENDS =		math/py-numpy${MODPY_FLAVOR}

FLAVORS =		python3
FLAVOR =		python3

# Tests not included in PyPI tarball
NO_TEST =               Yes

.include <bsd.port.mk>
