git: d763116bc083 - main - news/sabnzbdplus: Update to 3.5.0

From: Florian Smeets <flo_at_FreeBSD.org>
Date: Sun, 30 Jan 2022 15:13:57 UTC
The branch main has been updated by flo:

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

commit d763116bc08383f5b56ec687b64c053ae4163f71
Author:     James French <james@french.id.au>
AuthorDate: 2022-01-30 15:10:19 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2022-01-30 15:11:34 +0000

    news/sabnzbdplus: Update to 3.5.0
    
    PR:             261548
---
 news/sabnzbdplus/Makefile                          |  5 +++--
 news/sabnzbdplus/distinfo                          |  6 +++---
 news/sabnzbdplus/files/patch-sabnzbd_newsunpack.py | 16 ++++++++--------
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/news/sabnzbdplus/Makefile b/news/sabnzbdplus/Makefile
index 2e556183200b..4b96cec0365d 100644
--- a/news/sabnzbdplus/Makefile
+++ b/news/sabnzbdplus/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sabnzbdplus
-DISTVERSION=	3.4.2
+DISTVERSION=	3.5.0
 PORTEPOCH=	1
 CATEGORIES=	news
 MASTER_SITES=	https://github.com/sabnzbd/sabnzbd/releases/download/${DISTVERSION}/
@@ -22,10 +22,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah3>=0:devel/py-cheetah3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sabyenc3>=0:news/py-sabyenc3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}guessit>0:multimedia/py-guessit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}puremagic>0:sysutils/py-puremagic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \
 		par2repair:archivers/par2cmdline \
 		unrar:archivers/unrar
 
-USES=		python:3.6+ shebangfix gettext
+USES=		python:3.7+ shebangfix gettext
 USE_RC_SUBR=	sabnzbd
 
 SHEBANG_FILES=	SABnzbd.py tools/msgfmt.py
diff --git a/news/sabnzbdplus/distinfo b/news/sabnzbdplus/distinfo
index 4f5fcaad94e9..1209bc2b5399 100644
--- a/news/sabnzbdplus/distinfo
+++ b/news/sabnzbdplus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634462649
-SHA256 (SABnzbd-3.4.2-src.tar.gz) = fd2c91e15aa667657dd7c960872fbff148467e88fe2d8c8e6e81fcc2e3402842
-SIZE (SABnzbd-3.4.2-src.tar.gz) = 2979084
+TIMESTAMP = 1643442337
+SHA256 (SABnzbd-3.5.0-src.tar.gz) = 139e60f7616c8e99796d287bbedd58fa7f63567b562fcfcef249a615d2b89f02
+SIZE (SABnzbd-3.5.0-src.tar.gz) = 5098259
diff --git a/news/sabnzbdplus/files/patch-sabnzbd_newsunpack.py b/news/sabnzbdplus/files/patch-sabnzbd_newsunpack.py
index e4cc148b9b26..65a739398ad0 100644
--- a/news/sabnzbdplus/files/patch-sabnzbd_newsunpack.py
+++ b/news/sabnzbdplus/files/patch-sabnzbd_newsunpack.py
@@ -1,11 +1,11 @@
---- sabnzbd/newsunpack.py.orig	2021-10-15 06:30:37 UTC
+--- sabnzbd/newsunpack.py.orig	2022-01-28 10:50:34 UTC
 +++ sabnzbd/newsunpack.py
-@@ -127,6 +127,8 @@ def find_programs(curdir):
-         if not sabnzbd.newsunpack.SEVEN_COMMAND:
-             sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7za")
-         if not sabnzbd.newsunpack.SEVEN_COMMAND:
-+            sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7zz")
-+        if not sabnzbd.newsunpack.SEVEN_COMMAND:
-             sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7z")
+@@ -136,6 +136,8 @@ def find_programs(curdir: str):
+         if not sabnzbd.newsunpack.SEVENZIP_COMMAND:
+             sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7za")  # 7za = 7z stand-alone executable
+         if not sabnzbd.newsunpack.SEVENZIP_COMMAND:
++            sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7zz")
++        if not sabnzbd.newsunpack.SEVENZIP_COMMAND:
+             sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7z")
  
      if not (sabnzbd.WIN32 or sabnzbd.DARWIN):