summaryrefslogtreecommitdiff
path: root/security/py-gtts-token/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-gtts-token/Makefile')
-rw-r--r--security/py-gtts-token/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/py-gtts-token/Makefile b/security/py-gtts-token/Makefile
new file mode 100644
index 000000000000..f75fee4e0925
--- /dev/null
+++ b/security/py-gtts-token/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= gtts-token
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.3
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Calculates a token to run the Google Translate text to speech
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= Boudewijn26
+GH_PROJECT= gTTS-token
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v -s gtts_token/tests
+
+.include <bsd.port.mk>