mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
Transpopy uses the Google Translate API to convert/translate strings from a PO (gettext Portable Object) file, keeping your lines or fuzzy references. To use the Google Translate API it's needed an API key in json format. WWW: https://github.com/kanazux/transpopy PR: 230964 Submitted by: Silvio Ap Silva <contato@kanazuchi.com>
21 lines
468 B
Makefile
21 lines
468 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= transpopy
|
|
PORTVERSION= 0.1.1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= contato@kanazuchi.com
|
|
COMMENT= Translate PO file strings with Google Translate API
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-translate>=0:www/py-google-cloud-translate@${PY_FLAVOR}
|
|
|
|
USES= python:3.4+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|