Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 00:28:41 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478646 - in head/textproc: . py-transpopy
Message-ID:  <201809010028.w810SfWD044813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Sep  1 00:28:41 2018
New Revision: 478646
URL: https://svnweb.freebsd.org/changeset/ports/478646

Log:
  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>

Added:
  head/textproc/py-transpopy/
  head/textproc/py-transpopy/Makefile   (contents, props changed)
  head/textproc/py-transpopy/distinfo   (contents, props changed)
  head/textproc/py-transpopy/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Sep  1 00:27:13 2018	(r478645)
+++ head/textproc/Makefile	Sat Sep  1 00:28:41 2018	(r478646)
@@ -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

Added: head/textproc/py-transpopy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-transpopy/Makefile	Sat Sep  1 00:28:41 2018	(r478646)
@@ -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>

Added: head/textproc/py-transpopy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-transpopy/distinfo	Sat Sep  1 00:28:41 2018	(r478646)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535392714
+SHA256 (transpopy-0.1.1.tar.gz) = 76182a34cc976e9050fc7cb93c22f016e91d80cde2b4cbe809315eaa7a4e560c
+SIZE (transpopy-0.1.1.tar.gz) = 3430

Added: head/textproc/py-transpopy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-transpopy/pkg-descr	Sat Sep  1 00:28:41 2018	(r478646)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809010028.w810SfWD044813>