diff --git a/math/py-fastdtw/Makefile b/math/py-fastdtw/Makefile index 9ced55998815..a1447144f536 100644 --- a/math/py-fastdtw/Makefile +++ b/math/py-fastdtw/Makefile @@ -1,25 +1,27 @@ PORTNAME= fastdtw DISTVERSIONPREFIX= v DISTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Dynamic Time Warping (DTW) algorithm with an O(N) complexity 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:3.6+ + USE_GITHUB= yes # tests are only on github GH_ACCOUNT= slaypni -USE_PYTHON= distutils cython autoplist +USE_PYTHON= distutils cython autoplist pytest # tests fail: https://github.com/slaypni/fastdtw/issues/23 -do-test: # tests fail: https://github.com/slaypni/fastdtw/issues/23 - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastdtw/_fastdtw${PYTHON_EXT_SUFFIX}.so .include