Skip to content
Snippets Groups Projects
Verified Commit afa298e0 authored by sunpoet's avatar sunpoet
Browse files

audio/py-speechrecognition: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
parent a11aff67
No related branches found
No related tags found
No related merge requests found
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
......
......@@ -26,7 +26,8 @@
-
-
setup(
name="SpeechRecognition",
- name="SpeechRecognition",
+ name="speechrecognition",
version=speech_recognition.__version__,
packages=["speech_recognition"],
include_package_data=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment