git: 92f517397e6c - main - news/sabnzbd: update to 4.3.2

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 12:19:23 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=92f517397e6c2f12f977a059665e003059a03df5

commit 92f517397e6c2f12f977a059665e003059a03df5
Author:     Nicholas Kirby <nick@kirby.cx>
AuthorDate: 2024-07-06 12:12:29 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-07-06 12:18:30 +0000

    news/sabnzbd: update to 4.3.2
    
    Change maintainership to submitter.
    Add NLS option.
    Fix licenses, add LICENSE_FILE.
    Pet portlint, portclippy, portfmt.
    
    Changelog: https://github.com/sabnzbd/sabnzbd/releases/
    
    PR:             277626
    Approved by:    james@french.id.au (maintainer)
---
 news/sabnzbd/Makefile  | 44 ++++++++++++++++++++++++--------------------
 news/sabnzbd/distinfo  |  6 +++---
 news/sabnzbd/pkg-plist |  2 --
 3 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/news/sabnzbd/Makefile b/news/sabnzbd/Makefile
index c652b1cb7c60..452a9f092959 100644
--- a/news/sabnzbd/Makefile
+++ b/news/sabnzbd/Makefile
@@ -1,32 +1,36 @@
 PORTNAME=	sabnzbd
-DISTVERSION=	4.2.2
+DISTVERSION=	4.3.2
 CATEGORIES=	news
 MASTER_SITES=	https://github.com/sabnzbd/sabnzbd/releases/download/${DISTVERSION}/
 DISTNAME=	SABnzbd-${DISTVERSION}-src
 
-MAINTAINER=	james@french.id.au
+MAINTAINER=	nick@kirby.cx
 COMMENT=	Web-interface based binary newsgrabber in python, with nzb support
 WWW=		https://sabnzbd.org/
 
-LICENSE=	BSD2CLAUSE BSD3CLAUSE GPLv2+ ISCL MIT PSFL
+LICENSE=	GPLv2+ MIT WTFPL
 LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah3>=0:devel/py-cheetah3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cherrypy>=8.9.1:www/py-cherrypy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}apprise>0:net-im/py-apprise@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cheetah3>=0:devel/py-cheetah3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cherrypy>=8.9.1:www/py-cherrypy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.0:textproc/py-feedparser@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}portend>=0:net/py-portend@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sabctools>=8.1.0:news/py-sabctools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}guessit>0:multimedia/py-guessit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}portend>=0:net/py-portend@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}puremagic>0:sysutils/py-puremagic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pybonjour>0:dns/py-pybonjour@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \
-		par2repair:archivers/par2cmdline \
+		${PYTHON_PKGNAMEPREFIX}rarfile>0:archivers/py-rarfile@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sabctools>=8.2.0<8.3:news/py-sabctools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+		par2cmdline-turbo>0:archivers/par2cmdline-turbo \
 		unrar:archivers/unrar
 
-USES=		python shebangfix gettext
+USES=		gettext-tools python shebangfix
 USE_RC_SUBR=	sabnzbd
 
 SHEBANG_FILES=	SABnzbd.py tools/msgfmt.py
@@ -40,20 +44,20 @@ WRKSRC=		${WRKDIR}/SABnzbd-${DISTVERSION}
 USERS=		_sabnzbd
 GROUPS=		_sabnzbd
 
-PORTDOCS=	COPYRIGHT.txt \
-		INSTALL.txt \
-		ISSUES.txt \
-		README.mkd
+PORTDOCS=	COPYRIGHT.txt INSTALL.txt ISSUES.txt README.mkd
 
-OPTIONS_DEFINE=	7ZIP SSL DOCS NOTIFY2 DBUS PYGOBJECT
+OPTIONS_DEFINE=		7ZIP DBUS DOCS NLS NOTIFY2 PYGOBJECT SSL
 OPTIONS_DEFAULT=	7ZIP SSL
-7ZIP_DESC=	Needed for unpacking 7-Zip posts
-DBUS_DESC=	DBUS support for system power management
-NOTIFY2_DESC=	Notify2 support
-PYGOBJECT_DESC=	PyGObject support for system tray icon (requires cairo)
+OPTIONS_SUB=		yes
+7ZIP_DESC=		Needed for unpacking 7-Zip posts
+DBUS_DESC=		DBUS support for system power management
+NOTIFY2_DESC=		Notify2 support
+PYGOBJECT_DESC=		PyGObject support for system tray icon (requires cairo)
 
 7ZIP_RUN_DEPENDS=	7zz:archivers/7-zip
 DBUS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
+NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 NOTIFY2_IMPLIES=	DBUS
 NOTIFY2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}notify2>=0:devel/py-notify2@${PY_FLAVOR}
 PYGOBJECT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>=3.10.2:devel/py-gobject3@${PY_FLAVOR}
diff --git a/news/sabnzbd/distinfo b/news/sabnzbd/distinfo
index cda48f313b63..218ce04ea2a5 100644
--- a/news/sabnzbd/distinfo
+++ b/news/sabnzbd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707455273
-SHA256 (SABnzbd-4.2.2-src.tar.gz) = c4996a2ba65f279af81c93b1330591d8a58c2144b718d134972878cf4b527cd1
-SIZE (SABnzbd-4.2.2-src.tar.gz) = 5096168
+TIMESTAMP = 1717035545
+SHA256 (SABnzbd-4.3.2-src.tar.gz) = d238ffa957e71ad22c16535922cb32e7e6e84afc79eadd5c8f668ce591e207be
+SIZE (SABnzbd-4.3.2-src.tar.gz) = 5106752
diff --git a/news/sabnzbd/pkg-plist b/news/sabnzbd/pkg-plist
index f45fd4ec4769..0f87a51fef58 100644
--- a/news/sabnzbd/pkg-plist
+++ b/news/sabnzbd/pkg-plist
@@ -49,12 +49,10 @@ bin/SABnzbd.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/file_extension.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/getperformance.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/kronos.py
-%%PYTHON_SITELIBDIR%%/sabnzbd/utils/pathbrowser.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/pybonjour.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/pystone.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/rarfile.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/rarvolinfo.py
-%%PYTHON_SITELIBDIR%%/sabnzbd/utils/servertests.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/sleepless.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/ssdp.py
 %%PYTHON_SITELIBDIR%%/sabnzbd/utils/systrayiconthread.py