mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
013c859318
Transifex is retiring the v2 API and has introduced a new go-based client for v3 API. adridg@ has ported the new client which is available at textproc/go-transifex-client. The v2 API application doesn't work anymore (april 2023), the API it wants to talk to seems to be dead or moved to app.transifex.com. PR: 271050 Reported by: adridg
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
PORTNAME= transifex-client
|
|
PORTVERSION= 0.14.4
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Command line interface for Transifex
|
|
WWW= https://www.transifex.com
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
DEPRECATED= Upstream switched to go based api client (textproc/go-transifex-client)
|
|
EXPIRATION_DATE= 2023-06-30
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}python-slugify>=1.26.0:textproc/py-python-slugify@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}urllib3>=1.24.2,1<2.0.0,1:net/py-urllib3@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|