Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2021 20:43:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564247 - in head/textproc: . rubygem-google-cloud-translate
Message-ID:  <202102062043.116Kh8S1016684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb  6 20:43:08 2021
New Revision: 564247
URL: https://svnweb.freebsd.org/changeset/ports/564247

Log:
  Add rubygem-google-cloud-translate 3.0.3
  
  API Client library for the Cloud Translation API
  
  Cloud Translation can dynamically translate text between thousands of language
  pairs. Translation lets websites and programs programmatically integrate with
  the translation service.
  
  Actual client classes for the various versions of this API are defined in
  versioned client gems, with names of the form google-cloud-translate-v*. The gem
  google-cloud-translate is the main client library that brings the verisoned gems
  in as dependencies, and provides high-level methods for constructing clients.
  
  WWW: https://github.com/googleapis/google-cloud-ruby
  WWW: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate

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

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Feb  6 20:42:55 2021	(r564246)
+++ head/textproc/Makefile	Sat Feb  6 20:43:08 2021	(r564247)
@@ -1576,6 +1576,7 @@
     SUBDIR += rubygem-github-markup17
     SUBDIR += rubygem-gitlab-grit
     SUBDIR += rubygem-gitlab-markup
+    SUBDIR += rubygem-google-cloud-translate
     SUBDIR += rubygem-heredoc_unindent
     SUBDIR += rubygem-hikidoc
     SUBDIR += rubygem-html-pipeline

Added: head/textproc/rubygem-google-cloud-translate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate/Makefile	Sat Feb  6 20:43:08 2021	(r564247)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	google-cloud-translate
+PORTVERSION=	3.0.3
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby Client for the Cloud Translation API
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-google-cloud-core>=1.5<2:net/rubygem-google-cloud-core \
+		rubygem-google-cloud-translate-v2>=0.0<1:textproc/rubygem-google-cloud-translate-v2 \
+		rubygem-google-cloud-translate-v3>=0.0<1:textproc/rubygem-google-cloud-translate-v3
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/textproc/rubygem-google-cloud-translate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate/distinfo	Sat Feb  6 20:43:08 2021	(r564247)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1612519093
+SHA256 (rubygem/google-cloud-translate-3.0.3.gem) = 361f2e1b82916958d64b2a3413993ef19ca0ec4faad918c1a17e89908eeb4289
+SIZE (rubygem/google-cloud-translate-3.0.3.gem) = 17920

Added: head/textproc/rubygem-google-cloud-translate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate/pkg-descr	Sat Feb  6 20:43:08 2021	(r564247)
@@ -0,0 +1,13 @@
+API Client library for the Cloud Translation API
+
+Cloud Translation can dynamically translate text between thousands of language
+pairs. Translation lets websites and programs programmatically integrate with
+the translation service.
+
+Actual client classes for the various versions of this API are defined in
+versioned client gems, with names of the form google-cloud-translate-v*. The gem
+google-cloud-translate is the main client library that brings the verisoned gems
+in as dependencies, and provides high-level methods for constructing clients.
+
+WWW: https://github.com/googleapis/google-cloud-ruby
+WWW: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate



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