32 lines
889 B
Makefile
32 lines
889 B
Makefile
PORTNAME= mapbox-earcut
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.0
|
|
CATEGORIES= math
|
|
#MASTER_SITES= PYPI # no tests
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Bindings for Pango for use with Manim
|
|
WWW= https://manimpango.manim.community/en/latest/
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}nanobind>0:devel/py-nanobind@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR}
|
|
|
|
USES= cmake:indirect python
|
|
USE_PYTHON= pep517 autoplist pytest
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= skogler
|
|
GH_PROJECT= mapbox_earcut_python
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
TEST_WRKSRC= ${WRKSRC}/tests
|
|
|
|
# tests as of 2.0.0: 13 passed, 12 skipped in 2.79s
|
|
|
|
.include <bsd.port.mk>
|