From owner-svn-ports-all@freebsd.org Fri Sep 21 08:25:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF5161092F1F; Fri, 21 Sep 2018 08:25:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80F9C74484; Fri, 21 Sep 2018 08:25:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 61C442464; Fri, 21 Sep 2018 08:25:55 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8L8PtZZ099212; Fri, 21 Sep 2018 08:25:55 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8L8PsP2099209; Fri, 21 Sep 2018 08:25:54 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809210825.w8L8PsP2099209@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 21 Sep 2018 08:25:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480238 - in head/math: . py-fastdtw X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-fastdtw X-SVN-Commit-Revision: 480238 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 08:25:56 -0000 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@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 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