git: 470c514a3b0d - main - multimedia/py-pysubs2: Update 1.4.3 → 1.6.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 22 Jun 2023 04:01:18 UTC
The branch main has been updated by yuri:

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

commit 470c514a3b0de096498292b01e4b124b51c99740
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-22 03:44:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-22 04:01:11 +0000

    multimedia/py-pysubs2: Update 1.4.3 → 1.6.1
    
    Reported by:    portscout
---
 multimedia/py-pysubs2/Makefile | 7 +++++--
 multimedia/py-pysubs2/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/multimedia/py-pysubs2/Makefile b/multimedia/py-pysubs2/Makefile
index 34e9bf412b9f..f1bdfc26995d 100644
--- a/multimedia/py-pysubs2/Makefile
+++ b/multimedia/py-pysubs2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pysubs2
-PORTVERSION=	1.4.3
+DISTVERSION=	1.6.1
 CATEGORIES=	multimedia python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,11 @@ WWW=		https://github.com/tkarabela/pysubs2
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python:3.7+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest # 4 tests fail, see https://github.com/tkarabela/pysubs2/issues/75
 
 NO_ARCH=	yes
 
diff --git a/multimedia/py-pysubs2/distinfo b/multimedia/py-pysubs2/distinfo
index ffb86758104f..ced92910a69d 100644
--- a/multimedia/py-pysubs2/distinfo
+++ b/multimedia/py-pysubs2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662272820
-SHA256 (pysubs2-1.4.3.tar.gz) = 74b15dff5af2f23b4e11a5a727877880504f2231a80697757ddbd345613f241e
-SIZE (pysubs2-1.4.3.tar.gz) = 25800
+TIMESTAMP = 1687405096
+SHA256 (pysubs2-1.6.1.tar.gz) = 0261611e71735ff7763972c519c72593c8063efcb9039c54af65f31b81cec116
+SIZE (pysubs2-1.6.1.tar.gz) = 42522