Files
ports/math/py-mapbox-earcut/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
799 B
Makefile

PORTNAME= mapbox-earcut
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.2
PORTREVISION= 1
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}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
USES= python
USE_PYTHON= distutils 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
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/mapbox_earcut${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>