git: 93ad9829d849 - main - audio/puddletag: New port: Powerful, simple, audio tag editor

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 12:43:22 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=93ad9829d84901f0407e800f21c4e29254ec67ac

commit 93ad9829d84901f0407e800f21c4e29254ec67ac
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-08-03 23:02:23 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-06 12:42:46 +0000

    audio/puddletag: New port: Powerful, simple, audio tag editor
    
    puddletag is an audio tag editor (primarily created) for GNU/Linux
    similar to the Windows program, Mp3tag. Unlike most taggers for
    GNU/Linux, it uses a spreadsheet-like layout so that all the tags
    you want to edit by hand are visible and easily editable.
    
    The usual tag editor features are supported like extracting tag
    information from filenames, renaming files based on their tags by
    using patterns and basic tag editing.
    
    Then there're Functions, which can do things like replace text,
    trim it, do case conversions, etc. Actions can automate repetitive
    tasks. Doing web lookups using Amazon (including cover art), Discogs
    (does cover art too!), FreeDB and MusicBrainz is also supported.
    
    Supported formats: ID3v1, ID3v2 (mp3), MP4 (mp4, m4a, etc.),
    VorbisComments (ogg, flac), Musepack (mpc), Monkey's Audio (.ape)
    and WavPack (wv).
    
    WWW: https://puddletag.net
    
    PR:             272925
---
 MOVED                     |  1 -
 audio/Makefile            |  1 +
 audio/puddletag/Makefile  | 25 +++++++++++++++++++++++++
 audio/puddletag/distinfo  |  3 +++
 audio/puddletag/pkg-descr | 17 +++++++++++++++++
 5 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 28b85d795d78..23d908f12099 100644
--- a/MOVED
+++ b/MOVED
@@ -1205,7 +1205,6 @@ audio/esperanza||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 audio/lastfm-desktop||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 audio/minitunes||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 audio/mixxx20||2019-03-16|Has expired: Qt4 has been EOL since december 2015
-audio/puddletag||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 audio/qmpdclient||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 audio/skype-call-recorder||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 biology/clustalx||2019-03-16|Has expired: Qt4 has been EOL since december 2015
diff --git a/audio/Makefile b/audio/Makefile
index 4a61e0a698f6..06b9f17bcfd4 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -621,6 +621,7 @@
     SUBDIR += prelude-lv2
     SUBDIR += psindustrializer
     SUBDIR += pt2-clone
+    SUBDIR += puddletag
     SUBDIR += pulseaudio
     SUBDIR += pulseaudio-module-sndio
     SUBDIR += pulseaudio-module-xrdp
diff --git a/audio/puddletag/Makefile b/audio/puddletag/Makefile
new file mode 100644
index 000000000000..3e7880927daf
--- /dev/null
+++ b/audio/puddletag/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	puddletag
+DISTVERSION=	2.2.0
+CATEGORIES=	audio python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Powerful, simple, audio tag editor
+WWW=		https://puddletag.net
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \
+		chromaprint>=0:audio/chromaprint
+
+USES=		pyqt:5 python
+USE_PYTHON=	autoplist distutils
+USE_PYQT=	pyqt5:run
+
+.include <bsd.port.mk>
diff --git a/audio/puddletag/distinfo b/audio/puddletag/distinfo
new file mode 100644
index 000000000000..40f187c2e016
--- /dev/null
+++ b/audio/puddletag/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1690970097
+SHA256 (puddletag-2.2.0.tar.gz) = 6a81bdb7c722220f4c9d43445d2e9f2fb15c3e051ca505639c4430fced594a86
+SIZE (puddletag-2.2.0.tar.gz) = 731787
diff --git a/audio/puddletag/pkg-descr b/audio/puddletag/pkg-descr
new file mode 100644
index 000000000000..76e4cb6f6b24
--- /dev/null
+++ b/audio/puddletag/pkg-descr
@@ -0,0 +1,17 @@
+puddletag is an audio tag editor (primarily created) for GNU/Linux
+similar to the Windows program, Mp3tag. Unlike most taggers for
+GNU/Linux, it uses a spreadsheet-like layout so that all the tags
+you want to edit by hand are visible and easily editable.
+
+The usual tag editor features are supported like extracting tag
+information from filenames, renaming files based on their tags by
+using patterns and basic tag editing.
+
+Then there're Functions, which can do things like replace text,
+trim it, do case conversions, etc. Actions can automate repetitive
+tasks. Doing web lookups using Amazon (including cover art), Discogs
+(does cover art too!), FreeDB and MusicBrainz is also supported.
+
+Supported formats: ID3v1, ID3v2 (mp3), MP4 (mp4, m4a, etc.),
+VorbisComments (ogg, flac), Musepack (mpc), Monkey's Audio (.ape)
+and WavPack (wv).