diff --git a/audio/py-vosk/Makefile b/audio/py-vosk/Makefile index e9050e2fceea..ff934163eff8 100644 --- a/audio/py-vosk/Makefile +++ b/audio/py-vosk/Makefile @@ -1,43 +1,42 @@ PORTNAME= vosk DISTVERSIONPREFIX= v -DISTVERSION= 0.3.45-20231214 +DISTVERSION= 0.3.50 CATEGORIES= audio # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Vosk: Offline open source speech recognition toolkit (Py + App) WWW= https://alphacephei.com/vosk/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../COPYING PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}srt>0:multimedia/py-srt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} \ vosk-api>0:audio/vosk-api USES= python USE_PYTHON= distutils concurrent # autoplist is broken USE_GITHUB= yes GH_ACCOUNT= alphacep GH_PROJECT= vosk-api -GH_TAGNAME= aba8497 WRKSRC_SUBDIR= python NO_ARCH= yes post-patch: @${REINPLACE_CMD} \ -e ' \ s|elif sys.platform == "linux":|elif sys.platform == "linux" or sys.platform.startswith("freebsd"):|; \ s|dlldir = .*|dlldir = "${LOCALBASE}/lib"| \ ' \ ${WRKSRC}/vosk/__init__.py .include diff --git a/audio/py-vosk/distinfo b/audio/py-vosk/distinfo index 249f5640785e..55774cff53fa 100644 --- a/audio/py-vosk/distinfo +++ b/audio/py-vosk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702708668 -SHA256 (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 347bb5f0ec72c8f07dcd80ca4ebec76946845116f085328e016fd46ad3adce82 -SIZE (alphacep-vosk-api-v0.3.45-20231214-aba8497_GH0.tar.gz) = 660047 +TIMESTAMP = 1713859105 +SHA256 (alphacep-vosk-api-v0.3.50_GH0.tar.gz) = cc1067bcc599c9a2f5f38d4257caf2ac636ba244f7c965cee20293a41024f70f +SIZE (alphacep-vosk-api-v0.3.50_GH0.tar.gz) = 661203 diff --git a/audio/py-vosk/pkg-plist b/audio/py-vosk/pkg-plist index aed36c99e31b..f289ed29dd37 100644 --- a/audio/py-vosk/pkg-plist +++ b/audio/py-vosk/pkg-plist @@ -1,23 +1,16 @@ bin/vosk-transcriber -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/PKG-INFO -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/SOURCES.txt -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/dependency_links.txt -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/entry_points.txt -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/not-zip-safe -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/requires.txt -%%PYTHON_SITELIBDIR%%/vosk-0.3.46-py%%PYTHON_VER%%.egg-info/top_level.txt %%PYTHON_SITELIBDIR%%/vosk/__init__.py %%PYTHON_SITELIBDIR%%/vosk/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/vosk/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/vosk/__pycache__/vosk_cffi%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/vosk/__pycache__/vosk_cffi%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__init__.py %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/cli%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/cli%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/transcriber%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/__pycache__/transcriber%%PYTHON_EXT_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/vosk/transcriber/cli.py %%PYTHON_SITELIBDIR%%/vosk/transcriber/transcriber.py %%PYTHON_SITELIBDIR%%/vosk/vosk_cffi.py