Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 00:27:14 +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: r478645 - in head/www: . py-google-cloud-translate
Message-ID:  <201809010027.w810RE8p044580@repo.freebsd.org>

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

Log:
  Add www/py-google-cloud-translate: Python Client for Google Cloud Translation
  
  Python idiomatic client for Google Cloud Translation.
  
  With the Google Cloud Translation API, you can dynamically translate text
  between thousands of language pairs. You can also detect the language of a text.
  
  WWW: https://pypi.org/project/google-cloud-translate/
  
  PR:		230973
  Submitted by:	Silvio Ap Silva <contato@kanazuchi.com>

Added:
  head/www/py-google-cloud-translate/
  head/www/py-google-cloud-translate/Makefile   (contents, props changed)
  head/www/py-google-cloud-translate/distinfo   (contents, props changed)
  head/www/py-google-cloud-translate/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Sep  1 00:24:46 2018	(r478644)
+++ head/www/Makefile	Sat Sep  1 00:27:13 2018	(r478645)
@@ -1687,6 +1687,7 @@
     SUBDIR += py-google-api-python-client
     SUBDIR += py-google-cloud-core
     SUBDIR += py-google-cloud-storage
+    SUBDIR += py-google-cloud-translate
     SUBDIR += py-google-resumable-media
     SUBDIR += py-graphite-api
     SUBDIR += py-graphite-web

Added: head/www/py-google-cloud-translate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-google-cloud-translate/Makefile	Sat Sep  1 00:27:13 2018	(r478645)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	google-cloud-translate
+PORTVERSION=	1.3.1
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	contato@kanazuchi.com
+COMMENT=	Python Client for Google Cloud Translation
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-cloud-core>=0.28.0:www/py-google-cloud-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-api-core>=0.1.1:www/py-google-api-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/www/py-google-cloud-translate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-google-cloud-translate/distinfo	Sat Sep  1 00:27:13 2018	(r478645)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535447655
+SHA256 (google-cloud-translate-1.3.1.tar.gz) = 4420f5b320145bf097ca9a12b18ec27c067886e2832d181f268c46c3bcb0d2e4
+SIZE (google-cloud-translate-1.3.1.tar.gz) = 12489

Added: head/www/py-google-cloud-translate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-google-cloud-translate/pkg-descr	Sat Sep  1 00:27:13 2018	(r478645)
@@ -0,0 +1,6 @@
+Python idiomatic client for Google Cloud Translation.
+
+With the Google Cloud Translation API, you can dynamically translate text
+between thousands of language pairs. You can also detect the language of a text.
+
+WWW: https://pypi.org/project/google-cloud-translate/



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