svn commit: r480238 - in head/math: . py-fastdtw
Yuri Victorovich
yuri at FreeBSD.org
Fri Sep 21 08:25:56 UTC 2018
Author: yuri
Date: Fri Sep 21 08:25:54 2018
New Revision: 480238
URL: https://svnweb.freebsd.org/changeset/ports/480238
Log:
New port: math/py-fastdtw: Dynamic Time Warping (DTW) algorithm with an O(N) complexity
Added:
head/math/py-fastdtw/
head/math/py-fastdtw/Makefile (contents, props changed)
head/math/py-fastdtw/distinfo (contents, props changed)
head/math/py-fastdtw/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Fri Sep 21 08:17:45 2018 (r480237)
+++ head/math/Makefile Fri Sep 21 08:25:54 2018 (r480238)
@@ -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
Added: head/math/py-fastdtw/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-fastdtw/Makefile Fri Sep 21 08:25:54 2018 (r480238)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= fastdtw
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.3.2
+CATEGORIES= math python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at 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>
Added: head/math/py-fastdtw/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-fastdtw/distinfo Fri Sep 21 08:25:54 2018 (r480238)
@@ -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
Added: head/math/py-fastdtw/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-fastdtw/pkg-descr Fri Sep 21 08:25:54 2018 (r480238)
@@ -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
More information about the svn-ports-head
mailing list