freebsd-ports/textproc/py-googletrans/Makefile
Loïc Bartoletti d02141c9eb 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
2020-07-30 19:18:12 +00:00

22 lines
516 B
Makefile

# $FreeBSD$
PORTNAME= googletrans
DISTVERSION= 3.0.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Free Google Translate API that translates totally free of charge
LICENSE= MIT
# LICENSE_FILE isn't packaged in the sdist, yet
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx==0.13.3:www/py-httpx@${PY_FLAVOR}
USES= python:3.7+ # due www/py-httpx that requires 3.7+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>