diff options
author | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-07-30 19:18:12 +0000 |
---|---|---|
committer | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-07-30 19:18:12 +0000 |
commit | d02141c9eb5529b458de54f81ae5c7de1d64d1ce (patch) | |
tree | 8ea2e9b7557e205f6a9a648c00d0bd3c3700d6d2 /security/py-gtts-token/Makefile | |
parent | - Update to 0.16.0 snapshot (diff) |
games/py-mnemosyne: Take Maintainer'ship, fix runtime error and add missing dependencies
Latest version of games/py-mnemosyne requires new dependencies. This commit adds the missing dependencies:
- audio/py-gtts
- security/py-gtts-token (required by audio/py-gtts)
- textproc/py-googletrans
The games/py-mnemosyne port needs to be limited to Python 3.7+ to keep the dependency chains intact. This is because textproc/py-googletrans depends on www/py-httpx which is only for Python 3.7+.
PR: 247595
Submitted by: kai
Reported by: gspurki@gmail.com
Approved by: tcberner (mentor)
MFH: 2020Q3
Differential Revision: https://reviews.freebsd.org/D25895
Notes
Notes:
svn path=/head/; revision=543817
Diffstat (limited to 'security/py-gtts-token/Makefile')
-rw-r--r-- | security/py-gtts-token/Makefile | 28 |
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> |