opnsense-ports/math/py-fastdtw/Makefile
Franco Fichtner 2f03c0cf40 */*: sync with upstream
Taken from: FreeBSD
2023-06-28 09:14:20 +02:00

28 lines
830 B
Makefile

PORTNAME= fastdtw
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.4
PORTREVISION= 2
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Dynamic Time Warping (DTW) algorithm with an O(N) complexity
WWW= https://github.com/slaypni/fastdtw
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_GITHUB= yes # tests are only on github
GH_ACCOUNT= slaypni
USE_PYTHON= distutils cython autoplist pytest # tests fail: https://github.com/slaypni/fastdtw/issues/23
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastdtw/_fastdtw${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>