Date: Sat, 23 Mar 2024 14:59:50 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: afa298e0914f - main - audio/py-speechrecognition: Convert to USE_PYTHON=pep517 Message-ID: <202403231459.42NExoAT088535@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=afa298e0914fc8c94c3db8bc0d050195405d3df9 commit afa298e0914fc8c94c3db8bc0d050195405d3df9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-23 14:20:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-23 14:31:03 +0000 audio/py-speechrecognition: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- audio/py-speechrecognition/Makefile | 5 ++++- audio/py-speechrecognition/files/patch-setup.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile index d3442bf2af88..0ce8a920b0d6 100644 --- a/audio/py-speechrecognition/Makefile +++ b/audio/py-speechrecognition/Makefile @@ -1,5 +1,6 @@ PORTNAME= speechrecognition PORTVERSION= 3.10.1 +PORTREVISION= 1 MASTER_SITES= PYPI CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +13,15 @@ WWW= https://github.com/Uberi/speech_recognition 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} RUN_DEPENDS= flac:audio/flac \ ${PYTHON_PKGNAMEPREFIX}pyaudio>=0.2.11:audio/py-pyaudio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/audio/py-speechrecognition/files/patch-setup.py b/audio/py-speechrecognition/files/patch-setup.py index ed1c93d55aa8..5d30f144cda1 100644 --- a/audio/py-speechrecognition/files/patch-setup.py +++ b/audio/py-speechrecognition/files/patch-setup.py @@ -26,7 +26,8 @@ - - setup( - name="SpeechRecognition", +- name="SpeechRecognition", ++ name="speechrecognition", version=speech_recognition.__version__, packages=["speech_recognition"], include_package_data=True,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231459.42NExoAT088535>