aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 01:55:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 05:20:15 +0000
commitf4b5a06e87c8fa1d68f78aa738572d4ecd26ac16 (patch)
tree95570a5a5bd159aba2ab06b5d305d2972f05d892
parent8589985d04dbd0b4456f39ebd80131195bf399f8 (diff)
audio/py-tinytag: New port: Read audio file metadata
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-tinytag/Makefile21
-rw-r--r--audio/py-tinytag/distinfo3
-rw-r--r--audio/py-tinytag/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 8b58fa4d6525..a6c0c687991a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -672,6 +672,7 @@
SUBDIR += py-speechrecognition
SUBDIR += py-spotipy
SUBDIR += py-supysonic
+ SUBDIR += py-tinytag
SUBDIR += py-torchaudio
SUBDIR += py-vosk
SUBDIR += py-wavio
diff --git a/audio/py-tinytag/Makefile b/audio/py-tinytag/Makefile
new file mode 100644
index 000000000000..c464f3b49053
--- /dev/null
+++ b/audio/py-tinytag/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= tinytag
+PORTVERSION= 2.2.1
+CATEGORIES= audio python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Read audio file metadata
+WWW= https://github.com/tinytag/tinytag
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2:devel/py-flit-core@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/audio/py-tinytag/distinfo b/audio/py-tinytag/distinfo
new file mode 100644
index 000000000000..8157edb8b517
--- /dev/null
+++ b/audio/py-tinytag/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783087160
+SHA256 (tinytag-2.2.1.tar.gz) = e6d06610ebe7cd66fd07be2d3b9495914ab32654a5e47657bb8cd44c2484523c
+SIZE (tinytag-2.2.1.tar.gz) = 38214
diff --git a/audio/py-tinytag/pkg-descr b/audio/py-tinytag/pkg-descr
new file mode 100644
index 000000000000..aac11aeca421
--- /dev/null
+++ b/audio/py-tinytag/pkg-descr
@@ -0,0 +1,3 @@
+TinyTag reads metadata from audio files in various formats including
+MP3, FLAC, OGG, WAV, and more. It extracts tags such as artist, album,
+title, duration, and bitrate with minimal dependencies.