From nobody Sun Oct 22 18:06:26 2023 X-Original-To: dev-commits-ports-main@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 4SD5qQ68scz4xd0l; Sun, 22 Oct 2023 18:06:26 +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 4SD5qQ5jX9z4jdp; Sun, 22 Oct 2023 18:06:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697997986; 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=i8CNL1muGgBNUqiGITqTSPmdO6PA/FiXfxRj5yu3yHs=; b=O769RV0qoDE17a25nxnExqjzLBAmybOLnAIu/MCvtm9lOLcwh8P2RaXaEvvHn2koo/RYn3 KnIaiHS4pjPGF9l4XvTpKov5khuS1Ls1w3qdof+WOYwQQP/CikV3KTmRkiWdu0Kjtt0vpe NuE72bu/ExbH/s9kKcNxTou13cVBffqSjfWsjBcjSaGDcrMXxFEOO5a5ZRESbQ2YUq71ji x3pYGSai6BzAGr7N3pvrAMqUC31Yp8wzD1cS0Kc3jtDGtypLo4v7Vf+xMVyezlEBjbnsvH 2EyINJhL5qow7qpXy2+TxLHC/iY/2mjdzihJurPWiMUsPzmI+dZgE9wP205IQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697997986; a=rsa-sha256; cv=none; b=CGcVwhIFfgnAjO0eQMsC4ziaHVWK3Wf8woxZ2XD/QNjNVLRH+YcLbijDL3dDgaZZaD584B hXTVEB01cEYwHcBS5TjuJerPcX4+Tx7ROYRMQOdp0PnuyYKmmrc3vq0YxeJRqkMgsgwB62 nwBa1UJEmVWbEtxxnDdHxr5xWRxr2V+2U62FPKTjNOgGYANqvTKXXTDgefwcoTXXYW1/el 8u1i6PSm9FIMJZkzlFDxbaQY1KRNmWD0DXGJJ/jSTzs502IW1LnirKJLuX1FXgPnIbNWLb wCqwN9bNkVok/zX7UeQ3HVwZD2TvE7uGhzqV5GtaZDmnqY7FHfmxXFOpFIMGgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697997986; 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=i8CNL1muGgBNUqiGITqTSPmdO6PA/FiXfxRj5yu3yHs=; b=akDPsJfAqMz12OETgf2tAkfB+yBqfImoriyXt4gr5lskIPvrKaZtbsZmHqR+SclC6wl9Dj hcIERQwAszyUztGR4/K4WLAeZEkFTFGEkx34GNBCegAHc5adYnhbF9mWcw0GAMV5HzD160 QeKJJuUqe/ssFJAxfGNrlTeAissShz1IyPNZHuaXVYznb7NimHkAlZV1+zcq+QCeUdzOLD Y/wwW8GSG/U3ccX7c+jUWtcRsLzEAZXYsey/AUT4KwKTF/n2JukLVo1lK4TLgxL4rbH2z/ pxihdpn03J5vfkX8jHxE9HZVHX+gnpidcAyN1i/HHd2auwT6g8juY9ut7VccwQ== 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 4SD5qQ4Ffxz166S; Sun, 22 Oct 2023 18:06:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39MI6Quc034592; Sun, 22 Oct 2023 18:06:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39MI6Qis034589; Sun, 22 Oct 2023 18:06:26 GMT (envelope-from git) Date: Sun, 22 Oct 2023 18:06:26 GMT Message-Id: <202310221806.39MI6Qis034589@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: 07983a4264ca - main - audio/py-auditok: New port: Audio/acoustic activity detection and audio segmentation tool List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 07983a4264ca39cac656b1937b57bb88a1d35be2 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=07983a4264ca39cac656b1937b57bb88a1d35be2 commit 07983a4264ca39cac656b1937b57bb88a1d35be2 Author: Yuri Victorovich AuthorDate: 2023-10-22 18:03:47 +0000 Commit: Yuri Victorovich CommitDate: 2023-10-22 18:06:23 +0000 audio/py-auditok: New port: Audio/acoustic activity detection and audio segmentation tool --- audio/Makefile | 1 + audio/py-auditok/Makefile | 26 ++++++++++++++++++++++++++ audio/py-auditok/distinfo | 3 +++ audio/py-auditok/pkg-descr | 4 ++++ 4 files changed, 34 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index e15b0fcce84b..f3e01cbe9d83 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -629,6 +629,7 @@ SUBDIR += py-apetag SUBDIR += py-aubio SUBDIR += py-audioread + SUBDIR += py-auditok SUBDIR += py-discid SUBDIR += py-discogs-client SUBDIR += py-essentia diff --git a/audio/py-auditok/Makefile b/audio/py-auditok/Makefile new file mode 100644 index 000000000000..bb4fa2663d9d --- /dev/null +++ b/audio/py-auditok/Makefile @@ -0,0 +1,26 @@ +PORTNAME= auditok +DISTVERSION= 0.2.0 +CATEGORIES= audio python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Audio/acoustic activity detection and audio segmentation tool +WWW= https://github.com/amsehili/auditok/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +# dependencies aren't listed in setup.py and pyproject.toml, see https://github.com/amsehili/auditok/issues/46 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydub>0:audio/py-pydub@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils concurrent autoplist pytest + +NOARCH= yes + +.include diff --git a/audio/py-auditok/distinfo b/audio/py-auditok/distinfo new file mode 100644 index 000000000000..f04c087eae35 --- /dev/null +++ b/audio/py-auditok/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697993685 +SHA256 (auditok-0.2.0.tar.gz) = 46c512e287b2e13df4819774166af32b236d754afbe6b0dc87281b233e5ae688 +SIZE (auditok-0.2.0.tar.gz) = 2162248 diff --git a/audio/py-auditok/pkg-descr b/audio/py-auditok/pkg-descr new file mode 100644 index 000000000000..5eda7fd0f4c3 --- /dev/null +++ b/audio/py-auditok/pkg-descr @@ -0,0 +1,4 @@ +auditok is an Audio Activity Detection tool that can process online data +(read from an audio device or from standard input) as well as audio files. + +It can be used as a command-line program or by calling its API.