aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-transpopy
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2018-09-01 00:28:41 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2018-09-01 00:28:41 +0000
commitd8ccf484c678f3c2cab09b323dfabc491d7af757 (patch)
treecd56ffb5c3e311b9e355eaec9b00c2a06c177638 /textproc/py-transpopy
parent3a708f120c681e2eb9e4f2fe8cbf8269c150c59d (diff)
downloadports-d8ccf484c678f3c2cab09b323dfabc491d7af757.tar.gz
ports-d8ccf484c678f3c2cab09b323dfabc491d7af757.zip
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>
Notes
Notes: svn path=/head/; revision=478646
Diffstat (limited to 'textproc/py-transpopy')
-rw-r--r--textproc/py-transpopy/Makefile21
-rw-r--r--textproc/py-transpopy/distinfo3
-rw-r--r--textproc/py-transpopy/pkg-descr6
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/py-transpopy/Makefile b/textproc/py-transpopy/Makefile
new file mode 100644
index 000000000000..d0ccbf333b40
--- /dev/null
+++ b/textproc/py-transpopy/Makefile
@@ -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>
diff --git a/textproc/py-transpopy/distinfo b/textproc/py-transpopy/distinfo
new file mode 100644
index 000000000000..42d993fe74e1
--- /dev/null
+++ b/textproc/py-transpopy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535392714
+SHA256 (transpopy-0.1.1.tar.gz) = 76182a34cc976e9050fc7cb93c22f016e91d80cde2b4cbe809315eaa7a4e560c
+SIZE (transpopy-0.1.1.tar.gz) = 3430
diff --git a/textproc/py-transpopy/pkg-descr b/textproc/py-transpopy/pkg-descr
new file mode 100644
index 000000000000..f609ccfd7b10
--- /dev/null
+++ b/textproc/py-transpopy/pkg-descr
@@ -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