aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-27 23:18:31 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-27 23:43:37 +0000
commit543034970ecd92199743ab6f0ac37438f6dcc894 (patch)
treeaac9ef54797fee469eede477140d1f39903306d7
parent0c9d7b447d7b530e0aa305e90ef762f0c97ef0fd (diff)
downloadports-543034970ecd92199743ab6f0ac37438f6dcc894.tar.gz
ports-543034970ecd92199743ab6f0ac37438f6dcc894.zip
net/rubygem-train-rest: Add rubygem-train-rest 0.5.0
Train transport provides a transport to communicate easily with RESTful APIs.
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-train-rest/Makefile21
-rw-r--r--net/rubygem-train-rest/distinfo3
-rw-r--r--net/rubygem-train-rest/pkg-descr1
4 files changed, 26 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index bc6a40446598..b172def0d2b7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1396,6 +1396,7 @@
SUBDIR += rubygem-t
SUBDIR += rubygem-train
SUBDIR += rubygem-train-core
+ SUBDIR += rubygem-train-rest
SUBDIR += rubygem-train-winrm
SUBDIR += rubygem-tweetstream
SUBDIR += rubygem-twitter
diff --git a/net/rubygem-train-rest/Makefile b/net/rubygem-train-rest/Makefile
new file mode 100644
index 000000000000..191e68a7f6e0
--- /dev/null
+++ b/net/rubygem-train-rest/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= train-rest
+PORTVERSION= 0.5.0
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Provide a transport to communicate easily with RESTful APIs
+WWW= https://github.com/tecracer-chef/train-rest
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-aws-sigv4>=1.5<2:devel/rubygem-aws-sigv4 \
+ rubygem-rest-client>=2.1<3:www/rubygem-rest-client \
+ rubygem-train-core>=3.0<4:net/rubygem-train-core
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-train-rest/distinfo b/net/rubygem-train-rest/distinfo
new file mode 100644
index 000000000000..6424ce5ad894
--- /dev/null
+++ b/net/rubygem-train-rest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1685162022
+SHA256 (rubygem/train-rest-0.5.0.gem) = 63dcabb396022570cf1f21a3e77b2f64a8b3a85179a0b6e2be91a6fff9268a63
+SIZE (rubygem/train-rest-0.5.0.gem) = 13824
diff --git a/net/rubygem-train-rest/pkg-descr b/net/rubygem-train-rest/pkg-descr
new file mode 100644
index 000000000000..cc7e141c7ad5
--- /dev/null
+++ b/net/rubygem-train-rest/pkg-descr
@@ -0,0 +1 @@
+Train transport provides a transport to communicate easily with RESTful APIs.