Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2026 15:42:53 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6624b13dfaee - main - audio/py-auditok: update 0.3.0=?utf-8?Q? =E2=86=92 0.4?=.1
Message-ID:  <69f3787d.1c1e1.6193b4bd@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6624b13dfaeef1f913f61f99fb3a2e4e6003b3d1

commit 6624b13dfaeef1f913f61f99fb3a2e4e6003b3d1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-30 15:03:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-30 15:42:47 +0000

    audio/py-auditok: update 0.3.0 → 0.4.1
---
 audio/py-auditok/Makefile                   | 17 +++++++++--------
 audio/py-auditok/distinfo                   |  6 +++---
 audio/py-auditok/files/patch-pyproject.toml | 21 +++++++++++++++++++++
 3 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/audio/py-auditok/Makefile b/audio/py-auditok/Makefile
index 9aee953ed282..492c0a7ea143 100644
--- a/audio/py-auditok/Makefile
+++ b/audio/py-auditok/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	auditok
-DISTVERSION=	0.3.0
-PORTREVISION=	3
+DISTVERSION=	0.4.1
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,17 +11,19 @@ WWW=		https://github.com/amsehili/auditok/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pydub>0:audio/py-pydub@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy1>0:math/py-numpy1@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sounddevice>0:audio/py-sounddevice@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils concurrent autoplist pytest
+USE_PYTHON=	pep517 concurrent autoplist pytest
 
 NOARCH=		yes
 
-# tests as of auditok: 7 failed, 608 passed, 218 warnings in 23.05s (failures likely to numpy-1.x while numpy-2.x would possibly work)
+# tests as of 0.4.1: 768 passed, 1 failed (FFmpeg FLAC codec not available in test environment)
 
 .include <bsd.port.mk>
diff --git a/audio/py-auditok/distinfo b/audio/py-auditok/distinfo
index e32ac91d19d8..2f9013596668 100644
--- a/audio/py-auditok/distinfo
+++ b/audio/py-auditok/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734313200
-SHA256 (auditok-0.3.0.tar.gz) = 8565d6e7dfbecb7dbbe5c54fb5af66f8c1c827e06745c19df0e3fa468d0022a1
-SIZE (auditok-0.3.0.tar.gz) = 1798515
+TIMESTAMP = 1777542463
+SHA256 (auditok-0.4.1.tar.gz) = 61aef3d3838e80217ecedc3058521a3c82eec44f650805153045a7b894225b73
+SIZE (auditok-0.4.1.tar.gz) = 107877
diff --git a/audio/py-auditok/files/patch-pyproject.toml b/audio/py-auditok/files/patch-pyproject.toml
new file mode 100644
index 000000000000..28498451e31a
--- /dev/null
+++ b/audio/py-auditok/files/patch-pyproject.toml
@@ -0,0 +1,21 @@
+-- fix pyproject.toml license format to match PEP 621 specification
+-- reduce setuptools version requirement to match FreeBSD ports
+
+--- pyproject.toml.orig	2026-04-30 15:12:00 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -7,8 +7,6 @@ readme = "README.rst"
+ dynamic = ["version"]
+ description = "An audio/acoustic activity detection and audio segmentation tool"
+ readme = "README.rst"
+-license = "MIT"
+-license-files = ["LICENSE"]
+ requires-python = ">=3.8"
+ authors = [
+     { name = "Amine Sehili", email = "amine.sehili@gmail.com" },


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3787d.1c1e1.6193b4bd>