summaryrefslogtreecommitdiff
path: root/audio/TonieToolbox
diff options
context:
space:
mode:
Diffstat (limited to 'audio/TonieToolbox')
-rw-r--r--audio/TonieToolbox/Makefile14
-rw-r--r--audio/TonieToolbox/distinfo6
-rw-r--r--audio/TonieToolbox/files/patch-pyproject.toml11
3 files changed, 23 insertions, 8 deletions
diff --git a/audio/TonieToolbox/Makefile b/audio/TonieToolbox/Makefile
index 05dd72cdb4f3..0614368890f8 100644
--- a/audio/TonieToolbox/Makefile
+++ b/audio/TonieToolbox/Makefile
@@ -1,18 +1,20 @@
PORTNAME= TonieToolbox
+DISTVERSIONPREFIX= v
DISTVERSION= 0.6.5
+PORTREVISION= 1
CATEGORIES= audio sysutils python
-MASTER_SITES= https://github.com/Quentendo64/${PORTNAME}/archive/refs/tags/v${DISTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mfechner@FreeBSD.org
COMMENT= TonieBox content management tool
-WWW= https://github.com/Quentendo64/TonieToolbox
+WWW= https://github.com/TonieToolbox/TonieToolbox \
+ https://github.com/Quentendo64/TonieToolbox
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-# get from setup.py
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0<=6.33.0,1:devel/py-protobuf@${PY_FLAVOR} \
+# get from pyproject.toml
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0<=6.33.1,2:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.32.5:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>=1.47.0:audio/py-mutagen@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=25.0:devel/py-packaging@${PY_FLAVOR} \
@@ -21,6 +23,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0<=6.33.0,1:devel/py-protobuf@${PY
opusenc:audio/opus-tools
USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= Quentendo64
+# Latest alpha version moved to another project, keep it here for later, we currently not use it, as it is marked to required python 3.12
+#GH_ACCOUNT= TonieToolbox
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/audio/TonieToolbox/distinfo b/audio/TonieToolbox/distinfo
index 89c8361ab14c..211cf3da4ecf 100644
--- a/audio/TonieToolbox/distinfo
+++ b/audio/TonieToolbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1763184533
-SHA256 (TonieToolbox-0.6.5.tar.gz) = bc3f1043f93fdf03b0e74cc35a30842792df398e4049d031050597bd7f004a2c
-SIZE (TonieToolbox-0.6.5.tar.gz) = 4392440
+TIMESTAMP = 1765086293
+SHA256 (Quentendo64-TonieToolbox-v0.6.5_GH0.tar.gz) = bc3f1043f93fdf03b0e74cc35a30842792df398e4049d031050597bd7f004a2c
+SIZE (Quentendo64-TonieToolbox-v0.6.5_GH0.tar.gz) = 4392440
diff --git a/audio/TonieToolbox/files/patch-pyproject.toml b/audio/TonieToolbox/files/patch-pyproject.toml
index 7e6c175c040e..8c6130c9e267 100644
--- a/audio/TonieToolbox/files/patch-pyproject.toml
+++ b/audio/TonieToolbox/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig 2025-11-15 05:43:17 UTC
+--- pyproject.toml.orig 2025-10-26 20:56:37 UTC
+++ pyproject.toml
@@ -8,7 +8,7 @@ requires-python = ">=3.7"
description = "Convert audio files to Toniebox compatible format (.TAF) and interact with TeddyCloud."
@@ -9,6 +9,15 @@
authors = [
{name = "Quentendo64", email = "quentin@wohlfeil.at"}
]
+@@ -20,7 +20,7 @@ dependencies = [
+ "Topic :: Multimedia :: Sound/Audio :: Conversion",
+ ]
+ dependencies = [
+- "protobuf<=6.33.0",
++ "protobuf<=6.33.2",
+ "requests>=2.32.5",
+ "mutagen>=1.47.0",
+ "packaging>=25.0",
@@ -38,4 +38,4 @@ Homepage = "https://github.com/Quentendo64/TonieToolbo
"Bug Tracker" = "https://github.com/Quentendo64/TonieToolbox/issues"