diff options
author | Romain Tartière <romain@FreeBSD.org> | 2019-01-14 17:12:23 +0000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2019-01-14 17:12:23 +0000 |
commit | 285392bd42d626705e405cc32a1b49f94b65ebd9 (patch) | |
tree | b1775213b7fce440eca3668731617bab4687753d /devel | |
parent | 048bac81a6b47a4b99ad0b11e32d2c4c6ac68783 (diff) |
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
Notes
Notes:
svn path=/head/; revision=490304
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-pdk/Makefile | 33 | ||||
-rw-r--r-- | devel/rubygem-pdk/distinfo | 3 | ||||
-rw-r--r-- | devel/rubygem-pdk/files/patch-pdk.gemspec | 64 | ||||
-rw-r--r-- | devel/rubygem-pdk/pkg-descr | 9 |
5 files changed, 110 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 5c4ec1517efd..1adf4a218d3b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/rubygem-pdk/Makefile b/devel/rubygem-pdk/Makefile new file mode 100644 index 000000000000..64083a0cdafe --- /dev/null +++ b/devel/rubygem-pdk/Makefile @@ -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> diff --git a/devel/rubygem-pdk/distinfo b/devel/rubygem-pdk/distinfo new file mode 100644 index 000000000000..efc8fd558835 --- /dev/null +++ b/devel/rubygem-pdk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1547088311 +SHA256 (rubygem/pdk-1.8.0.gem) = 3e177f23b29eb4c8f4f8b869668e0d86a5c980233a748ab9f1bbeda0f99e8e3b +SIZE (rubygem/pdk-1.8.0.gem) = 89600 diff --git a/devel/rubygem-pdk/files/patch-pdk.gemspec b/devel/rubygem-pdk/files/patch-pdk.gemspec new file mode 100644 index 000000000000..c27b03612cb5 --- /dev/null +++ b/devel/rubygem-pdk/files/patch-pdk.gemspec @@ -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"]) diff --git a/devel/rubygem-pdk/pkg-descr b/devel/rubygem-pdk/pkg-descr new file mode 100644 index 000000000000..e4ea5ef14f8a --- /dev/null +++ b/devel/rubygem-pdk/pkg-descr @@ -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 |