git: be61c8e9c075 - main - audio/py-audioop-lts: Add py-audioop-lts 0.2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 19:27:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=be61c8e9c0751b851ca8afd4f46568e7c2cdcbae
commit be61c8e9c0751b851ca8afd4f46568e7c2cdcbae
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:54:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:17:24 +0000
audio/py-audioop-lts: Add py-audioop-lts 0.2.2
An LTS port of the Python builtin module audioop which was deprecated since
version 3.11 and removed in 3.13.
This project exists to maintain this module for future versions.
---
audio/Makefile | 1 +
audio/py-audioop-lts/Makefile | 24 ++++++++++++++++++++++++
audio/py-audioop-lts/distinfo | 3 +++
audio/py-audioop-lts/files/patch-pyproject.toml | 11 +++++++++++
audio/py-audioop-lts/pkg-descr | 4 ++++
5 files changed, 43 insertions(+)
diff --git a/audio/Makefile b/audio/Makefile
index 37e6e8f59269..643b264b28b1 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -631,6 +631,7 @@
SUBDIR += py-al
SUBDIR += py-apetag
SUBDIR += py-aubio
+ SUBDIR += py-audioop-lts
SUBDIR += py-audioread
SUBDIR += py-auditok
SUBDIR += py-discid
diff --git a/audio/py-audioop-lts/Makefile b/audio/py-audioop-lts/Makefile
new file mode 100644
index 000000000000..97f473ecbb85
--- /dev/null
+++ b/audio/py-audioop-lts/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= audioop-lts
+PORTVERSION= 0.2.2
+CATEGORIES= audio python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= audioop_lts-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= LTS Port of Python audioop
+WWW= https://github.com/AbstractUmbra/audioop
+
+LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python:3.13+
+USE_PYTHON= autoplist concurrent pep517
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/audio/py-audioop-lts/distinfo b/audio/py-audioop-lts/distinfo
new file mode 100644
index 000000000000..2c38cd5928b0
--- /dev/null
+++ b/audio/py-audioop-lts/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790435602
+SHA256 (audioop_lts-0.2.2.tar.gz) = 64d0c62d88e67b98a1a5e71987b7aa7b5bcffc7dcee65b635823dbdd0a8dbbd0
+SIZE (audioop_lts-0.2.2.tar.gz) = 30686
diff --git a/audio/py-audioop-lts/files/patch-pyproject.toml b/audio/py-audioop-lts/files/patch-pyproject.toml
new file mode 100644
index 000000000000..612a9aeaff1d
--- /dev/null
+++ b/audio/py-audioop-lts/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-08-05 16:28:51 UTC
++++ pyproject.toml
+@@ -8,7 +8,7 @@ readme = "README.md"
+ requires-python = ">=3.13"
+ version = "0.2.2"
+ readme = "README.md"
+-license = "PSF-2.0"
++license = { text = "PSF-2.0" }
+ maintainers = [{ name = "AbstractUmbra", email = "umbra@abstractumbra.dev" }]
+ classifiers = [
+ "Development Status :: 4 - Beta",
diff --git a/audio/py-audioop-lts/pkg-descr b/audio/py-audioop-lts/pkg-descr
new file mode 100644
index 000000000000..85a3f65d8356
--- /dev/null
+++ b/audio/py-audioop-lts/pkg-descr
@@ -0,0 +1,4 @@
+An LTS port of the Python builtin module audioop which was deprecated since
+version 3.11 and removed in 3.13.
+
+This project exists to maintain this module for future versions.