From nobody Tue Dec 27 23:09:57 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NhVjf0nTQz1LghT; Tue, 27 Dec 2022 23:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NhVjf07Qyz4cJp; Tue, 27 Dec 2022 23:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672182598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OsLn709wu8F/xL/PdnFdSD4pguAsqoy9rBvq/CLdTeo=; b=HU9aLr+grBjKZjdFtd5iDYjYETw8MMreJ2YTDS+h5gWT2DovanR2ACQuJ7kTbFCAfhAV/c dAvcbqwe7Jh53AyIZZi2CqBn3IouNJU2U3DLh9seNS4O+ad30P/jJd5HyjaG4hJGd4n1O7 8kHZGIbZ0tVIQ8koDckybs/65GSCGkCWN7s4KgFMIEV8VWfp9FvFYQ0boLA7xponn4bvmk brqretXDvdYf/+Oj9ZmV+14qB7H8hsb02Mw1U7uZA6XbvRjBcW+AjZ4S2DdgwmoURi8+Nw pWT2UwwMwgGIKgBLe7jbJU9Eu3TOyslLbJTbWMSo1Y6a8MF8I+7qlrmPhxgv5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672182598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OsLn709wu8F/xL/PdnFdSD4pguAsqoy9rBvq/CLdTeo=; b=nnEWpPhuv9Rr5VcE2pFFyTNIFp0Hcz6QjzT3uDHP0fOWwsHkWwUIoCIw0KfaGlew87VyET pdS/u77xlxBkeY3j+cZw9WZAakoB0mBLQww2i5PEcqTGSvyMnN6SSYDaFwEOVTCYagfFlo Ptm92CK06ZTVHypZEyAPJHvDpKQEpexQ7AHVwt3/F0L/bSrfq5bDBX4jC34kCiy0b8RU2l eeKGMLBeUSbn2Ko5tF2d7Q+nWdOSaktutn8x0v59+uDjICTcn8ajpeE0KeslABiNJwdNGR /RymHJEUiQfOOuHfpOCrlqcsH0v9Yxgx9caroTJ9FA1C/P3op1d0Q2Gphte7Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672182598; a=rsa-sha256; cv=none; b=H04ZXDk1Af6O7zOK9yR095kJP8v8dk+Gg6X/rnHDGCMm1rOU0txMzmXhYIkB0xyw1iJ+qx A3so+d19QnxBQqDN7qe2JKLGSEt6zZ7JRrIfWI++6aEar3Ev9vfKqeC49NXSYMIMRtwCg+ MMoS9Za/OOjqpBzyG9TYv8jbQ0h8l3GgCCtFXOxTCBWMMok2iISp0r9U0NfZ2YfRhkUbwK /rv+4zrwNIVvmFsgYXwrORYOdFOpNorMfqm2ZfLMaXx2dVRkgM7h8zfnme46zh0ttTaJmS Jt+Fuc3cnMjVGU6RQ/VK/oXgkSon3q99LEF+XSoiazey3nauFLcpUsFnzp2ydA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NhVjd6FmFzSS7; Tue, 27 Dec 2022 23:09:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BRN9vSQ098613; Tue, 27 Dec 2022 23:09:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BRN9vFq098612; Tue, 27 Dec 2022 23:09:57 GMT (envelope-from git) Date: Tue, 27 Dec 2022 23:09:57 GMT Message-Id: <202212272309.2BRN9vFq098612@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 11cd9ddf548e - main - misc/py-detecta: New port: Library to detect events in data List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 11cd9ddf548e34d21ee6bb02b33d5193eefa7c21 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=11cd9ddf548e34d21ee6bb02b33d5193eefa7c21 commit 11cd9ddf548e34d21ee6bb02b33d5193eefa7c21 Author: Yuri Victorovich AuthorDate: 2022-12-27 21:10:04 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-27 21:10:04 +0000 misc/py-detecta: New port: Library to detect events in data --- misc/Makefile | 1 + misc/py-detecta/Makefile | 23 +++++++++++++++++++++++ misc/py-detecta/distinfo | 3 +++ misc/py-detecta/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 6b6c1e8caeb6..36fe481a027e 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -383,6 +383,7 @@ SUBDIR += py-colorbrewer SUBDIR += py-colored SUBDIR += py-crudini + SUBDIR += py-detecta SUBDIR += py-dictdiffer SUBDIR += py-eemeter SUBDIR += py-emoji diff --git a/misc/py-detecta/Makefile b/misc/py-detecta/Makefile new file mode 100644 index 000000000000..cbdcd8594025 --- /dev/null +++ b/misc/py-detecta/Makefile @@ -0,0 +1,23 @@ +PORTNAME= detecta +DISTVERSION= 0.0.5 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library to detect events in data +WWW= https://github.com/demotu/detecta + +LICENSE= APACHE20 + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYNUMPY} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include diff --git a/misc/py-detecta/distinfo b/misc/py-detecta/distinfo new file mode 100644 index 000000000000..d1a6d0e8bcef --- /dev/null +++ b/misc/py-detecta/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672174658 +SHA256 (detecta-0.0.5.tar.gz) = d2ea7d13dfbbc994d6ce385a7f8dc0a85fe675a8a8e712a64ec56e54c40603ed +SIZE (detecta-0.0.5.tar.gz) = 9301 diff --git a/misc/py-detecta/pkg-descr b/misc/py-detecta/pkg-descr new file mode 100644 index 000000000000..873dd4559561 --- /dev/null +++ b/misc/py-detecta/pkg-descr @@ -0,0 +1,10 @@ +detecta is a Python module to detect events in data. + +The following functions are implemented in detecta: +* detect_peaks.py: detects peaks in data based on their amplitude and other + features. +* detect_onset.py: detects onset in data based on amplitude threshold. +* detect_cusum.py: detects abrupt changes in data using cumulative sum algorithm + (CUSUM). +* detect_seq.py: detects initial and final indices of sequential data identical + to a parameter.