summaryrefslogtreecommitdiff
path: root/audio/py-speechrecognition/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2017-10-15 11:04:59 +0000
committerKevin Lo <kevlo@FreeBSD.org>2017-10-15 11:04:59 +0000
commit8d0abfe3986633fa6a52b5e35d95e1ea60c2dc04 (patch)
treebd23efbc3db2d6526d64a3c3234b5bceecb74ab6 /audio/py-speechrecognition/Makefile
parent- Update to 0.10.1 (diff)
Update to 3.7.1
Notes
Notes: svn path=/head/; revision=452135
Diffstat (limited to 'audio/py-speechrecognition/Makefile')
-rw-r--r--audio/py-speechrecognition/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile
index ba3fdf4d3691..67bc2fd1d028 100644
--- a/audio/py-speechrecognition/Makefile
+++ b/audio/py-speechrecognition/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= SpeechRecognition
-PORTVERSION= 3.5.0
+PORTVERSION= 3.7.1
CATEGORIES= audio python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kevlo@FreeBSD.org
@@ -12,6 +11,10 @@ COMMENT= Python Library for performing speech recognition
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+USE_GITHUB= yes
+GH_ACCOUNT= Uberi
+GH_PROJECT= speech_recognition
+
RUN_DEPENDS= flac:audio/flac \
${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio
@@ -19,6 +22,9 @@ NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
+post-extract:
+ @cd ${WRKSRC}/speech_recognition && ${RM} flac-*
+
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000