Add textproc/py-transpopy: Translate PO file strings with Google Translate API
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>
This commit is contained in:
@@ -1424,6 +1424,7 @@
|
||||
SUBDIR += py-trans
|
||||
SUBDIR += py-transifex-client
|
||||
SUBDIR += py-translationstring
|
||||
SUBDIR += py-transpopy
|
||||
SUBDIR += py-tvgrab
|
||||
SUBDIR += py-ucl
|
||||
SUBDIR += py-whoosh
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
# $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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1535392714
|
||||
SHA256 (transpopy-0.1.1.tar.gz) = 76182a34cc976e9050fc7cb93c22f016e91d80cde2b4cbe809315eaa7a4e560c
|
||||
SIZE (transpopy-0.1.1.tar.gz) = 3430
|
||||
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user