aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-google-cloud-translate-v2
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-02-06 20:43:14 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-02-06 20:43:14 +0000
commita6d1067a2c614bcbdcc358781b9d8ae4965db48a (patch)
tree662b70a7d7a6dd5a67fdad1dd64d02cf98288b37 /textproc/rubygem-google-cloud-translate-v2
parent55b9d8ca8f8c72cb95e3e6a9f3060010be9177d6 (diff)
downloadports-a6d1067a2c614bcbdcc358781b9d8ae4965db48a.tar.gz
ports-a6d1067a2c614bcbdcc358781b9d8ae4965db48a.zip
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
Notes
Notes: svn path=/head/; revision=564248
Diffstat (limited to 'textproc/rubygem-google-cloud-translate-v2')
-rw-r--r--textproc/rubygem-google-cloud-translate-v2/Makefile26
-rw-r--r--textproc/rubygem-google-cloud-translate-v2/distinfo3
-rw-r--r--textproc/rubygem-google-cloud-translate-v2/pkg-descr8
3 files changed, 37 insertions, 0 deletions
diff --git a/textproc/rubygem-google-cloud-translate-v2/Makefile b/textproc/rubygem-google-cloud-translate-v2/Makefile
new file mode 100644
index 000000000000..bf3d5013fc50
--- /dev/null
+++ b/textproc/rubygem-google-cloud-translate-v2/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= google-cloud-translate-v2
+PORTVERSION= 0.2.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@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>
diff --git a/textproc/rubygem-google-cloud-translate-v2/distinfo b/textproc/rubygem-google-cloud-translate-v2/distinfo
new file mode 100644
index 000000000000..1069a627b522
--- /dev/null
+++ b/textproc/rubygem-google-cloud-translate-v2/distinfo
@@ -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
diff --git a/textproc/rubygem-google-cloud-translate-v2/pkg-descr b/textproc/rubygem-google-cloud-translate-v2/pkg-descr
new file mode 100644
index 000000000000..eb3feb641fc3
--- /dev/null
+++ b/textproc/rubygem-google-cloud-translate-v2/pkg-descr
@@ -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