summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2016-08-04 07:31:25 +0000
committerKevin Lo <kevlo@FreeBSD.org>2016-08-04 07:31:25 +0000
commit91d70af56aa924a687e9c9058a3800eb383c38dd (patch)
treeb6ecc12553487e89f49ac43c94d926ed12280171
parentSupport hw.snd.default_unit sysctl. (diff)
Import SpeechRecognition 3.4.6
SpeechRecognition is a Python library for performing speech recognition, with support for several engines and APIs, online and offline.
Notes
Notes: svn path=/head/; revision=419599
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-speechrecognition/Makefile24
-rw-r--r--audio/py-speechrecognition/distinfo3
-rw-r--r--audio/py-speechrecognition/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 00b5e7a61a24..0e345e81da33 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -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
diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile
new file mode 100644
index 000000000000..2f6d31b800af
--- /dev/null
+++ b/audio/py-speechrecognition/Makefile
@@ -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@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
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/audio/py-speechrecognition/distinfo b/audio/py-speechrecognition/distinfo
new file mode 100644
index 000000000000..ebf3e17cad15
--- /dev/null
+++ b/audio/py-speechrecognition/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470209990
+SHA256 (SpeechRecognition-3.4.6.tar.gz) = 393eab35f102e6406dcacd54ff06473c2c86371cd566f8b314cf79df2d89ac31
+SIZE (SpeechRecognition-3.4.6.tar.gz) = 31521362
diff --git a/audio/py-speechrecognition/pkg-descr b/audio/py-speechrecognition/pkg-descr
new file mode 100644
index 000000000000..5feca1e6c9fa
--- /dev/null
+++ b/audio/py-speechrecognition/pkg-descr
@@ -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/