a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
29 lines
738 B
Makefile
29 lines
738 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fastdtw
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.3.2
|
|
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
|
|
USE_GITHUB= yes # tests are only on github
|
|
GH_ACCOUNT= slaypni
|
|
USE_PYTHON= distutils cython autoplist
|
|
|
|
do-test: # tests fail: https://github.com/slaypni/fastdtw/issues/23
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|