Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 09:47:47 +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: r543733 - in head/net: . rubygem-train rubygem-train/files
Message-ID:  <202007300947.06U9llhe072537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jul 30 09:47:46 2020
New Revision: 543733
URL: https://svnweb.freebsd.org/changeset/ports/543733

Log:
  Add rubygem-train 3.3.6
  
  Train lets you talk to your local or remote operating systems and APIs with a
  unified interface.
  
  It allows you to:
  - execute commands via run_command
  - interact with files via file
  - identify the target operating system via os
  - authenticate to API-based services and treat them like a platform
  
  Train supports:
  - Local execution
  - SSH
  - WinRM
  - Docker
  - Mock (for testing and debugging)
  - AWS as an API
  - Azure as an API
  - VMware via PowerCLI
  - Habitat
  
  WWW: https://github.com/inspec/train

Added:
  head/net/rubygem-train/
  head/net/rubygem-train/Makefile   (contents, props changed)
  head/net/rubygem-train/distinfo   (contents, props changed)
  head/net/rubygem-train/files/
  head/net/rubygem-train/files/patch-train.gemspec   (contents, props changed)
  head/net/rubygem-train/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Jul 30 09:47:36 2020	(r543732)
+++ head/net/Makefile	Thu Jul 30 09:47:46 2020	(r543733)
@@ -1335,6 +1335,7 @@
     SUBDIR += rubygem-stackdriver-core
     SUBDIR += rubygem-stompserver
     SUBDIR += rubygem-t
+    SUBDIR += rubygem-train
     SUBDIR += rubygem-tweetstream
     SUBDIR += rubygem-twitter
     SUBDIR += rubygem-twitter-stream

Added: head/net/rubygem-train/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-train/Makefile	Thu Jul 30 09:47:46 2020	(r543733)
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	train
+PORTVERSION=	3.3.6
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Transport interface to talk to different backends
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport52>=5.2.4.3<6.0.0:devel/rubygem-activesupport52 \
+		rubygem-azure_graph_rbac>=0.16<1:devel/rubygem-azure_graph_rbac \
+		rubygem-azure_mgmt_key_vault>=0.17<1:devel/rubygem-azure_mgmt_key_vault \
+		rubygem-azure_mgmt_resources>=0.15<1:devel/rubygem-azure_mgmt_resources \
+		rubygem-azure_mgmt_security>=0.18<1:devel/rubygem-azure_mgmt_security \
+		rubygem-azure_mgmt_storage>=0.18<1:devel/rubygem-azure_mgmt_storage \
+		rubygem-docker-api>=1.26<2:net/rubygem-docker-api \
+		rubygem-google-api-client>=0.23.9:devel/rubygem-google-api-client \
+		rubygem-googleauth>=0.6.6:security/rubygem-googleauth \
+		rubygem-inifile>=3.0<4:textproc/rubygem-inifile \
+		rubygem-train-core>=${PORTVERSION}:net/rubygem-train-core \
+		rubygem-train-winrm>=0.2<1:net/rubygem-train-winrm
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/net/rubygem-train/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-train/distinfo	Thu Jul 30 09:47:46 2020	(r543733)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595865777
+SHA256 (rubygem/train-3.3.6.gem) = 567954ee3a58620488fab62f97b2fc44059dda7df3edcdbe1415b7daeb7588c4
+SIZE (rubygem/train-3.3.6.gem) = 14848

Added: head/net/rubygem-train/files/patch-train.gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-train/files/patch-train.gemspec	Thu Jul 30 09:47:46 2020	(r543733)
@@ -0,0 +1,13 @@
+--- train.gemspec.orig	2020-07-24 06:34:34 UTC
++++ train.gemspec
+@@ -32,8 +32,8 @@ Gem::Specification.new do |s|
+       s.add_runtime_dependency(%q<azure_mgmt_security>.freeze, ["~> 0.18"])
+       s.add_runtime_dependency(%q<azure_mgmt_storage>.freeze, ["~> 0.18"])
+       s.add_runtime_dependency(%q<docker-api>.freeze, ["~> 1.26"])
+-      s.add_runtime_dependency(%q<google-api-client>.freeze, [">= 0.23.9", "< 0.35.0"])
+-      s.add_runtime_dependency(%q<googleauth>.freeze, [">= 0.6.6", "< 0.11.0"])
++      s.add_runtime_dependency(%q<google-api-client>.freeze, [">= 0.23.9"])
++      s.add_runtime_dependency(%q<googleauth>.freeze, [">= 0.6.6"])
+     else
+       s.add_dependency(%q<train-core>.freeze, ["= 3.3.6"])
+       s.add_dependency(%q<train-winrm>.freeze, ["~> 0.2"])

Added: head/net/rubygem-train/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-train/pkg-descr	Thu Jul 30 09:47:46 2020	(r543733)
@@ -0,0 +1,21 @@
+Train lets you talk to your local or remote operating systems and APIs with a
+unified interface.
+
+It allows you to:
+- execute commands via run_command
+- interact with files via file
+- identify the target operating system via os
+- authenticate to API-based services and treat them like a platform
+
+Train supports:
+- Local execution
+- SSH
+- WinRM
+- Docker
+- Mock (for testing and debugging)
+- AWS as an API
+- Azure as an API
+- VMware via PowerCLI
+- Habitat
+
+WWW: https://github.com/inspec/train



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