diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2016-08-05 07:40:36 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2016-08-05 07:40:36 +0000 |
commit | 4ec97f59dd4ad9e3b82243928ccf78778eea410a (patch) | |
tree | 8673dc04a9f4fbcf8f2149d12ba03c6e4a5dc592 /audio/py-speechrecognition | |
parent | Import imgurpython 1.1.7 (diff) |
Add a conditional depends on devel/py-monotonic for faster operations in
some functions on Python 2. See:
https://github.com/Uberi/speech_recognition/#monotonic-for-python-2-for-faster-operations-in-some-functions-on-python-2
Spotted by: koobs
Notes
Notes:
svn path=/head/; revision=419669
Diffstat (limited to 'audio/py-speechrecognition')
-rw-r--r-- | audio/py-speechrecognition/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile index 2f6d31b800af..c990a2be9bce 100644 --- a/audio/py-speechrecognition/Makefile +++ b/audio/py-speechrecognition/Makefile @@ -16,9 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= flac:audio/flac \ ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio +NO_ARCH= yes USES= python USE_PYTHON= distutils autoplist -NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}monotonic>=0.3:devel/py-monotonic +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |