audio/py-auditok: New port: Audio/acoustic activity detection and audio segmentation tool

This commit is contained in:
Yuri Victorovich 2023-10-22 11:03:47 -07:00
parent 310eced467
commit 07983a4264
4 changed files with 34 additions and 0 deletions

View file

@ -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

26
audio/py-auditok/Makefile Normal file
View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1697993685
SHA256 (auditok-0.2.0.tar.gz) = 46c512e287b2e13df4819774166af32b236d754afbe6b0dc87281b233e5ae688
SIZE (auditok-0.2.0.tar.gz) = 2162248

View file

@ -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.