Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 17:12:23 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490304 - in head/devel: . rubygem-pdk rubygem-pdk/files
Message-ID:  <201901141712.x0EHCNqq077716@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Mon Jan 14 17:12:23 2019
New Revision: 490304
URL: https://svnweb.freebsd.org/changeset/ports/490304

Log:
  New port: devel/rubygem-pdk
  
  The Puppet Development Kit (PDK) includes key Puppet code development and
  testing tools for Linux, Windows, and OS X workstations, so you can install one
  package with the tools you need to create and validate new modules.
  
  PDK includes testing tools, a complete module skeleton, and command line tools
  to help you create, validate, and run tests on Puppet modules. PDK also
  includes all dependencies needed for its use.
  
  WWW: https://github.com/puppetlabs/pdk

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jan 14 17:01:23 2019	(r490303)
+++ head/devel/Makefile	Mon Jan 14 17:12:23 2019	(r490304)
@@ -5836,6 +5836,7 @@
     SUBDIR += rubygem-patch_finder
     SUBDIR += rubygem-pathspec
     SUBDIR += rubygem-pathutil
+    SUBDIR += rubygem-pdk
     SUBDIR += rubygem-peek
     SUBDIR += rubygem-peek-rails50
     SUBDIR += rubygem-peek-gc-rails50

Added: head/devel/rubygem-pdk/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-pdk/Makefile	Mon Jan 14 17:12:23 2019	(r490304)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	pdk
+PORTVERSION=	1.8.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	puppet@FreeBSD.org
+COMMENT=	CLI for development of Puppet modules
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=    rubygem-bundler>=1.15:sysutils/rubygem-bundler \
+		rubygem-childprocess>=0.7.1:devel/rubygem-childprocess \
+		rubygem-cri>=2.10.1:devel/rubygem-cri \
+		rubygem-deep_merge>=1.1:devel/rubygem-deep_merge \
+		rubygem-diff-lcs>=1.3:textproc/rubygem-diff-lcs \
+		rubygem-gettext-setup>=0.24:devel/rubygem-gettext-setup \
+		rubygem-json-schema>=2.8.0:devel/rubygem-json-schema \
+		rubygem-json_pure>=2.1.0:devel/rubygem-json_pure \
+		rubygem-minitar>=0.6.1:archivers/rubygem-minitar \
+		rubygem-pathspec>=0.2.1:devel/rubygem-pathspec \
+		rubygem-tty-prompt>=0.13.1:devel/rubygem-tty-prompt \
+		rubygem-tty-spinner>=0.5.0:devel/rubygem-tty-spinner \
+		rubygem-tty-which>=0.3.0:devel/rubygem-tty-which
+
+USES=		gem
+USE_RUBY=	yes
+
+PLIST_FILES=	bin/pdk
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-pdk/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-pdk/distinfo	Mon Jan 14 17:12:23 2019	(r490304)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547088311
+SHA256 (rubygem/pdk-1.8.0.gem) = 3e177f23b29eb4c8f4f8b869668e0d86a5c980233a748ab9f1bbeda0f99e8e3b
+SIZE (rubygem/pdk-1.8.0.gem) = 89600

Added: head/devel/rubygem-pdk/files/patch-pdk.gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-pdk/files/patch-pdk.gemspec	Mon Jan 14 17:12:23 2019	(r490304)
@@ -0,0 +1,64 @@
+--- pdk.gemspec.orig	2019-01-11 21:43:36 UTC
++++ pdk.gemspec
+@@ -24,28 +24,28 @@ Gem::Specification.new do |s|
+ 
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+       s.add_runtime_dependency(%q<bundler>.freeze, ["~> 1.15"])
+-      s.add_runtime_dependency(%q<cri>.freeze, ["~> 2.10.1"])
+-      s.add_runtime_dependency(%q<childprocess>.freeze, ["~> 0.7.1"])
++      s.add_runtime_dependency(%q<cri>.freeze, [">= 2.10.1"])
++      s.add_runtime_dependency(%q<childprocess>.freeze, [">= 0.7.1"])
+       s.add_runtime_dependency(%q<gettext-setup>.freeze, ["~> 0.24"])
+-      s.add_runtime_dependency(%q<tty-spinner>.freeze, ["= 0.5.0"])
+-      s.add_runtime_dependency(%q<tty-prompt>.freeze, ["= 0.13.1"])
++      s.add_runtime_dependency(%q<tty-spinner>.freeze, [">= 0.5.0"])
++      s.add_runtime_dependency(%q<tty-prompt>.freeze, [">= 0.13.1"])
+       s.add_runtime_dependency(%q<json_pure>.freeze, ["~> 2.1.0"])
+-      s.add_runtime_dependency(%q<json-schema>.freeze, ["= 2.8.0"])
+-      s.add_runtime_dependency(%q<tty-which>.freeze, ["= 0.3.0"])
++      s.add_runtime_dependency(%q<json-schema>.freeze, [">= 2.8.0"])
++      s.add_runtime_dependency(%q<tty-which>.freeze, [">= 0.3.0"])
+       s.add_runtime_dependency(%q<diff-lcs>.freeze, ["= 1.3"])
+       s.add_runtime_dependency(%q<minitar>.freeze, ["~> 0.6.1"])
+       s.add_runtime_dependency(%q<pathspec>.freeze, ["~> 0.2.1"])
+       s.add_runtime_dependency(%q<deep_merge>.freeze, ["~> 1.1"])
+     else
+       s.add_dependency(%q<bundler>.freeze, ["~> 1.15"])
+-      s.add_dependency(%q<cri>.freeze, ["~> 2.10.1"])
+-      s.add_dependency(%q<childprocess>.freeze, ["~> 0.7.1"])
++      s.add_dependency(%q<cri>.freeze, [">= 2.10.1"])
++      s.add_dependency(%q<childprocess>.freeze, [">= 0.7.1"])
+       s.add_dependency(%q<gettext-setup>.freeze, ["~> 0.24"])
+-      s.add_dependency(%q<tty-spinner>.freeze, ["= 0.5.0"])
+-      s.add_dependency(%q<tty-prompt>.freeze, ["= 0.13.1"])
++      s.add_dependency(%q<tty-spinner>.freeze, [">= 0.5.0"])
++      s.add_dependency(%q<tty-prompt>.freeze, [">= 0.13.1"])
+       s.add_dependency(%q<json_pure>.freeze, ["~> 2.1.0"])
+-      s.add_dependency(%q<json-schema>.freeze, ["= 2.8.0"])
+-      s.add_dependency(%q<tty-which>.freeze, ["= 0.3.0"])
++      s.add_dependency(%q<json-schema>.freeze, [">= 2.8.0"])
++      s.add_dependency(%q<tty-which>.freeze, [">= 0.3.0"])
+       s.add_dependency(%q<diff-lcs>.freeze, ["= 1.3"])
+       s.add_dependency(%q<minitar>.freeze, ["~> 0.6.1"])
+       s.add_dependency(%q<pathspec>.freeze, ["~> 0.2.1"])
+@@ -53,14 +53,14 @@ Gem::Specification.new do |s|
+     end
+   else
+     s.add_dependency(%q<bundler>.freeze, ["~> 1.15"])
+-    s.add_dependency(%q<cri>.freeze, ["~> 2.10.1"])
+-    s.add_dependency(%q<childprocess>.freeze, ["~> 0.7.1"])
++    s.add_dependency(%q<cri>.freeze, [">= 2.10.1"])
++    s.add_dependency(%q<childprocess>.freeze, [">= 0.7.1"])
+     s.add_dependency(%q<gettext-setup>.freeze, ["~> 0.24"])
+-    s.add_dependency(%q<tty-spinner>.freeze, ["= 0.5.0"])
+-    s.add_dependency(%q<tty-prompt>.freeze, ["= 0.13.1"])
++    s.add_dependency(%q<tty-spinner>.freeze, [">= 0.5.0"])
++    s.add_dependency(%q<tty-prompt>.freeze, [">= 0.13.1"])
+     s.add_dependency(%q<json_pure>.freeze, ["~> 2.1.0"])
+-    s.add_dependency(%q<json-schema>.freeze, ["= 2.8.0"])
+-    s.add_dependency(%q<tty-which>.freeze, ["= 0.3.0"])
++    s.add_dependency(%q<json-schema>.freeze, [">= 2.8.0"])
++    s.add_dependency(%q<tty-which>.freeze, [">= 0.3.0"])
+     s.add_dependency(%q<diff-lcs>.freeze, ["= 1.3"])
+     s.add_dependency(%q<minitar>.freeze, ["~> 0.6.1"])
+     s.add_dependency(%q<pathspec>.freeze, ["~> 0.2.1"])

Added: head/devel/rubygem-pdk/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-pdk/pkg-descr	Mon Jan 14 17:12:23 2019	(r490304)
@@ -0,0 +1,9 @@
+The Puppet Development Kit (PDK) includes key Puppet code development and
+testing tools for Linux, Windows, and OS X workstations, so you can install one
+package with the tools you need to create and validate new modules.
+
+PDK includes testing tools, a complete module skeleton, and command line tools
+to help you create, validate, and run tests on Puppet modules. PDK also
+includes all dependencies needed for its use.
+
+WWW: https://github.com/puppetlabs/pdk



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