New port: math/py-fastdtw: Dynamic Time Warping (DTW) algorithm with an O(N) complexity

This commit is contained in:
Yuri Victorovich
2018-09-21 08:25:54 +00:00
parent 797a45a4f7
commit 58d61c992c
4 changed files with 38 additions and 0 deletions
+1
View File
@@ -680,6 +680,7 @@
SUBDIR += py-cvxopt
SUBDIR += py-cyipopt
SUBDIR += py-fastcluster
SUBDIR += py-fastdtw
SUBDIR += py-ffc
SUBDIR += py-fiat
SUBDIR += py-fpconst
+27
View File
@@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= fastdtw
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.2
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Dynamic Time Warping (DTW) algorithm with an O(N) complexity
LICENSE= GPLv3
xLICENSE_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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1537517761
SHA256 (slaypni-fastdtw-v0.3.2_GH0.tar.gz) = 3c0efb7acb05892ebe086f26ec844c0ff60c4ec12c093c6d5217f30537df44cb
SIZE (slaypni-fastdtw-v0.3.2_GH0.tar.gz) = 122086
+7
View File
@@ -0,0 +1,7 @@
Python implementation of FastDTW [1], which is an approximate Dynamic Time
Warping (DTW) algorithm that provides optimal or near-optimal alignments
with an O(N) time and memory complexity.
[1] http://cs.fit.edu/~pkc/papers/tdm04.pdf
WWW: https://github.com/slaypni/fastdtw