git: fc8073fb9837 - main - multimedia/subsync: Move to multimedia/ffsubsync and update to 0.4.25

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 22 Oct 2023 19:14:39 UTC
The branch main has been updated by yuri:

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

commit fc8073fb98379e62b39584f212243eea4d93b860
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-10-22 19:11:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-10-22 19:11:34 +0000

    multimedia/subsync: Move to multimedia/ffsubsync and update to 0.4.25
    
    The project was renamed.
    
    PR:             270646
    Reported by:    kreeblah@gmail.com
---
 MOVED                                       |  1 +
 multimedia/Makefile                         |  2 +-
 multimedia/ffsubsync/Makefile               | 36 +++++++++++++++++++++++++++++
 multimedia/ffsubsync/distinfo               |  3 +++
 multimedia/{subsync => ffsubsync}/pkg-descr |  0
 multimedia/subsync/Makefile                 | 31 -------------------------
 multimedia/subsync/distinfo                 |  3 ---
 7 files changed, 41 insertions(+), 35 deletions(-)

diff --git a/MOVED b/MOVED
index 27a71c9a06ff..ea378fe7cb64 100644
--- a/MOVED
+++ b/MOVED
@@ -7949,3 +7949,4 @@ security/openssl30|security/openssl|2023-10-14|Upgrade security/openssl to 3.0
 x11-fonts/gnu-unifont-ttf|x11-fonts/gnu-unifont-otf|2023-10-16|Remove obsoleted port. Use x11-fonts/gnu-unifont-otf instead
 mail/slapd-cyrus||2023-10-20|Has expired: Last upstream release was in 2013
 net/pacemaker1|net/pacemaker2|2023-10-22|Hasn't built in a long time, last upstream release was a while ago, use pacemaker2
+multimedia/subsync|multimedia/ffsubsync|2023-10-22|Project was renamed
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 54604c3a2271..a5d2a2a68c3c 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -62,6 +62,7 @@
     SUBDIR += ffmpegthumbnailer
     SUBDIR += ffms2
     SUBDIR += ffnvcodec-headers
+    SUBDIR += ffsubsync
     SUBDIR += filebot
     SUBDIR += flvmeta
     SUBDIR += flvstreamer
@@ -357,7 +358,6 @@
     SUBDIR += snapcast
     SUBDIR += spook
     SUBDIR += streamlink
-    SUBDIR += subsync
     SUBDIR += subtitlecomposer
     SUBDIR += subtitleoffsetmodifier
     SUBDIR += subtools
diff --git a/multimedia/ffsubsync/Makefile b/multimedia/ffsubsync/Makefile
new file mode 100644
index 000000000000..42126c9fe5e3
--- /dev/null
+++ b/multimedia/ffsubsync/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	ffsubsync
+DISTVERSION=	0.4.25
+CATEGORIES=	multimedia python
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Synchronize your subtitles using machine learning
+WWW=		https://github.com/smacke/ffsubsync
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}auditok>=0.1.5:audio/py-auditok@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}charset-normalizer>0:textproc/py-charset-normalizer@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}faust-cchardet>0:textproc/py-faust-cchardet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ffmpeg-python>0:multimedia/py-ffmpeg-python@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}pysubs2>=1.2.0:multimedia/py-pysubs2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>0:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}srt>=3.0.0:multimedia/py-srt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}webrtcvad>0:audio/py-webrtcvad@${PY_FLAVOR}
+
+USES=		python
+USE_GITHUB=	yes
+GH_ACCOUNT=	smacke # tympanix account has another version of the same project requiring tensorflow
+USE_PYTHON=	pep517 noflavors autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/ffsubsync/distinfo b/multimedia/ffsubsync/distinfo
new file mode 100644
index 000000000000..837aeb0b7509
--- /dev/null
+++ b/multimedia/ffsubsync/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698000919
+SHA256 (smacke-ffsubsync-0.4.25_GH0.tar.gz) = 7b05aec684cef4d45a8feafcdd4ca41f8537ececc10e77471dd63f06aa056c66
+SIZE (smacke-ffsubsync-0.4.25_GH0.tar.gz) = 3823703
diff --git a/multimedia/subsync/pkg-descr b/multimedia/ffsubsync/pkg-descr
similarity index 100%
rename from multimedia/subsync/pkg-descr
rename to multimedia/ffsubsync/pkg-descr
diff --git a/multimedia/subsync/Makefile b/multimedia/subsync/Makefile
deleted file mode 100644
index 55463e4d1254..000000000000
--- a/multimedia/subsync/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-PORTNAME=	subsync
-DISTVERSION=	g20190702
-PORTREVISION=	1
-CATEGORIES=	multimedia python
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Synchronize your subtitles using machine learning
-WWW=		https://github.com/smacke/subsync
-
-LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ffmpeg-python>0:multimedia/py-ffmpeg-python@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pysrt>0:textproc/py-pysrt@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}webrtcvad>0:audio/py-webrtcvad@${PY_FLAVOR}
-
-USES=		python
-USE_GITHUB=	yes
-GH_ACCOUNT=	smacke # tympanix account has another version of the same project requiring tensorflow
-GH_TAGNAME=	d9798a5
-USE_PYTHON=	distutils concurrent noflavors autoplist
-
-NO_ARCH=	yes
-
-.include <bsd.port.mk>
diff --git a/multimedia/subsync/distinfo b/multimedia/subsync/distinfo
deleted file mode 100644
index 770cec32d704..000000000000
--- a/multimedia/subsync/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1564284792
-SHA256 (smacke-subsync-g20190702-d9798a5_GH0.tar.gz) = 20902b979adb263fa4ee3f975feedbd7fd4dc746cbf9fd75a1d0c6975d82a4f2
-SIZE (smacke-subsync-g20190702-d9798a5_GH0.tar.gz) = 2220021