svn commit: r564248 - in head/textproc: . rubygem-google-cloud-translate-v2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 6 20:43:18 UTC 2021


Author: sunpoet
Date: Sat Feb  6 20:43:14 2021
New Revision: 564248
URL: https://svnweb.freebsd.org/changeset/ports/564248

Log:
  Add rubygem-google-cloud-translate-v2 0.2.0
  
  API Client library for the Cloud Translation V2 API
  
  Cloud Translation can dynamically translate text between thousands of language
  pairs. Translation lets websites and programs programmatically integrate with
  the translation service.
  
  WWW: https://github.com/googleapis/google-cloud-ruby
  WWW: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate-v2

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

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Feb  6 20:43:08 2021	(r564247)
+++ head/textproc/Makefile	Sat Feb  6 20:43:14 2021	(r564248)
@@ -1577,6 +1577,7 @@
     SUBDIR += rubygem-gitlab-grit
     SUBDIR += rubygem-gitlab-markup
     SUBDIR += rubygem-google-cloud-translate
+    SUBDIR += rubygem-google-cloud-translate-v2
     SUBDIR += rubygem-heredoc_unindent
     SUBDIR += rubygem-hikidoc
     SUBDIR += rubygem-html-pipeline

Added: head/textproc/rubygem-google-cloud-translate-v2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate-v2/Makefile	Sat Feb  6 20:43:14 2021	(r564248)
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	google-cloud-translate-v2
+PORTVERSION=	0.2.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Ruby Client for the Cloud Translation V2 API
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-faraday>=0.17.3<2.0:www/rubygem-faraday \
+		rubygem-google-cloud-core>=1.5<2:net/rubygem-google-cloud-core \
+		rubygem-googleapis-common-protos>=1.3.10<2.0:devel/rubygem-googleapis-common-protos \
+		rubygem-googleapis-common-protos-types>=1.0.5<2.0:devel/rubygem-googleapis-common-protos-types \
+		rubygem-googleauth>=0.12<1:security/rubygem-googleauth
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/textproc/rubygem-google-cloud-translate-v2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate-v2/distinfo	Sat Feb  6 20:43:14 2021	(r564248)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1612519095
+SHA256 (rubygem/google-cloud-translate-v2-0.2.0.gem) = c32c02f5d35b2ba7cf397aa69d46f79f4020bc1bb466d5775fd171b1eaa38a02
+SIZE (rubygem/google-cloud-translate-v2-0.2.0.gem) = 18432

Added: head/textproc/rubygem-google-cloud-translate-v2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-google-cloud-translate-v2/pkg-descr	Sat Feb  6 20:43:14 2021	(r564248)
@@ -0,0 +1,8 @@
+API Client library for the Cloud Translation V2 API
+
+Cloud Translation can dynamically translate text between thousands of language
+pairs. Translation lets websites and programs programmatically integrate with
+the translation service.
+
+WWW: https://github.com/googleapis/google-cloud-ruby
+WWW: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate-v2


More information about the svn-ports-all mailing list