Files
ports/textproc/py-googletrans/Makefile
T
Sunpoet Po-Chuan Hsieh e49e1c2779 Change RUN_DEPENDS from py-httpx to py-httpx013
- Bump PORTREVISION for dependency change

Kai checked the test suite and 1 test fails with httpx 0.14.0.
Therefore, I change this port to use repocopied httpx 0.13.3 for now.

Approved by:	kai (maintainer, implicit, via private mail)
2020-09-23 19:18:04 +00:00

24 lines
545 B
Makefile

# $FreeBSD$
PORTNAME= googletrans
DISTVERSION= 3.0.0
PORTREVISION= 1
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}httpx013>=0.13.3<0.13.4:www/py-httpx013@${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>