svn commit: r419599 - in head/audio: . py-speechrecognition
Kubilay Kocak
koobs at FreeBSD.org
Fri Aug 5 05:53:03 UTC 2016
On 4/08/2016 5:31 PM, Kevin Lo wrote:
> Author: kevlo
> Date: Thu Aug 4 07:31:25 2016
> New Revision: 419599
> URL: https://svnweb.freebsd.org/changeset/ports/419599
>
> Log:
> Import SpeechRecognition 3.4.6
>
> SpeechRecognition is a Python library for performing speech recognition,
> with support for several engines and APIs, online and offline.
>
> Added:
> head/audio/py-speechrecognition/
> head/audio/py-speechrecognition/Makefile (contents, props changed)
> head/audio/py-speechrecognition/distinfo (contents, props changed)
> head/audio/py-speechrecognition/pkg-descr (contents, props changed)
> Modified:
> head/audio/Makefile
>
> Modified: head/audio/Makefile
> ==============================================================================
> --- head/audio/Makefile Thu Aug 4 07:24:01 2016 (r419598)
> +++ head/audio/Makefile Thu Aug 4 07:31:25 2016 (r419599)
> @@ -634,6 +634,7 @@
> SUBDIR += py-pyliblo
> SUBDIR += py-shout
> SUBDIR += py-soundcloud
> + SUBDIR += py-speechrecognition
> SUBDIR += py-speex
> SUBDIR += py-tagpy
> SUBDIR += py-vorbis
>
> Added: head/audio/py-speechrecognition/Makefile
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/audio/py-speechrecognition/Makefile Thu Aug 4 07:31:25 2016 (r419599)
> @@ -0,0 +1,24 @@
> +# $FreeBSD$
> +
> +PORTNAME= speechrecognition
> +PORTVERSION= 3.4.6
> +CATEGORIES= audio python
> +MASTER_SITES= CHEESESHOP
> +DISTNAME= ${PORTNAME:S/s/S/:S/r/R/}-${PORTVERSION}
> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER= kevlo at FreeBSD.org
> +COMMENT= Python Library for performing speech recognition
> +
> +LICENSE= BSD3CLAUSE
> +LICENSE_FILE= ${WRKSRC}/LICENSE.txt
> +
> +RUN_DEPENDS= flac:audio/flac \
> + ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio
> +
Can you add a comment like below so we can fix version declarations up
when the USES=python bits support more granular specifications
# Actually -2.7,3.3+
> +USES= python
> +USE_PYTHON= distutils autoplist
> +
> +NO_ARCH= yes
.include <bsd.port.pre.mk>
A conditional depends on py-monotonic for PYTHON_REL < 3000 would be good:
https://github.com/Uberi/speech_recognition/#monotonic-for-python-2-for-faster-operations-in-some-functions-on-python-2
https://www.freshports.org/devel/py-monotonic/
> +.include <bsd.port.mk>
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>
> Added: head/audio/py-speechrecognition/distinfo
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/audio/py-speechrecognition/distinfo Thu Aug 4 07:31:25 2016 (r419599)
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1470209990
> +SHA256 (SpeechRecognition-3.4.6.tar.gz) = 393eab35f102e6406dcacd54ff06473c2c86371cd566f8b314cf79df2d89ac31
> +SIZE (SpeechRecognition-3.4.6.tar.gz) = 31521362
>
> Added: head/audio/py-speechrecognition/pkg-descr
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/audio/py-speechrecognition/pkg-descr Thu Aug 4 07:31:25 2016 (r419599)
> @@ -0,0 +1,4 @@
> +SpeechRecognition is a Python library for performing speech recognition,
> +with support for several engines and APIs, online and offline.
> +
> +WWW: https://github.com/Uberi/speech_recognition/
>
More information about the svn-ports-all
mailing list