From dfce0dd7ac6ea572aa9937a27451ba11d8b06cfc Mon Sep 17 00:00:00 2001 From: sebastia Date: Fri, 20 Jan 2023 20:41:36 +0000 Subject: [PATCH] import puppet-resource_api This is an implementation of the Resource API specification. https://github.com/puppetlabs/puppet-specifications/blob/main/language/resource-api/README.md a new dependency for Puppet OK jeremy@ --- devel/ruby-puppet-resource_api/Makefile | 17 +++++++ devel/ruby-puppet-resource_api/distinfo | 2 + devel/ruby-puppet-resource_api/pkg/DESCR | 2 + devel/ruby-puppet-resource_api/pkg/PLIST | 65 ++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 devel/ruby-puppet-resource_api/Makefile create mode 100644 devel/ruby-puppet-resource_api/distinfo create mode 100644 devel/ruby-puppet-resource_api/pkg/DESCR create mode 100644 devel/ruby-puppet-resource_api/pkg/PLIST diff --git a/devel/ruby-puppet-resource_api/Makefile b/devel/ruby-puppet-resource_api/Makefile new file mode 100644 index 00000000000..44b2f09ec5e --- /dev/null +++ b/devel/ruby-puppet-resource_api/Makefile @@ -0,0 +1,17 @@ +COMMENT = simple way to write new native resources for puppet + +DISTNAME = puppet-resource_api-1.8.14 +CATEGORIES = devel +HOMEPAGE = https://github.com/puppetlabs/puppet-resource_api +MAINTAINER = Sebastian Reitenbach + +# Apache-2.0 +PERMIT_PACKAGE = Yes + +MODULES = lang/ruby +BUILD_DEPENDS += ${RUN_DEPENDS} +RUN_DEPENDS += devel/ruby-hocon,${MODRUBY_FLAVOR}>=1,<2 + +CONFIGURE_STYLE = ruby gem + +.include diff --git a/devel/ruby-puppet-resource_api/distinfo b/devel/ruby-puppet-resource_api/distinfo new file mode 100644 index 00000000000..507f7385ad2 --- /dev/null +++ b/devel/ruby-puppet-resource_api/distinfo @@ -0,0 +1,2 @@ +SHA256 (puppet-resource_api-1.8.14.gem) = kg5P50mDzf0gzms48wK6+61lOVaq+JzZBY2DnrO1kLU= +SIZE (puppet-resource_api-1.8.14.gem) = 112128 diff --git a/devel/ruby-puppet-resource_api/pkg/DESCR b/devel/ruby-puppet-resource_api/pkg/DESCR new file mode 100644 index 00000000000..b902c1759e1 --- /dev/null +++ b/devel/ruby-puppet-resource_api/pkg/DESCR @@ -0,0 +1,2 @@ +This is an implementation of the Resource API specification. +https://github.com/puppetlabs/puppet-specifications/blob/main/language/resource-api/README.md diff --git a/devel/ruby-puppet-resource_api/pkg/PLIST b/devel/ruby-puppet-resource_api/pkg/PLIST new file mode 100644 index 00000000000..063328165e6 --- /dev/null +++ b/devel/ruby-puppet-resource_api/pkg/PLIST @@ -0,0 +1,65 @@ +${GEM_LIB}/cache/${DISTNAME}.gem +${GEM_LIB}/gems/${DISTNAME}/ +${GEM_LIB}/gems/${DISTNAME}/.dependency_decisions.yml +${GEM_LIB}/gems/${DISTNAME}/.fixtures.yml +${GEM_LIB}/gems/${DISTNAME}/.github/ +${GEM_LIB}/gems/${DISTNAME}/.github/dependabot.yml +${GEM_LIB}/gems/${DISTNAME}/.gitignore +${GEM_LIB}/gems/${DISTNAME}/.rspec +${GEM_LIB}/gems/${DISTNAME}/.rubocop.yml +${GEM_LIB}/gems/${DISTNAME}/.travis.yml +${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md +${GEM_LIB}/gems/${DISTNAME}/CODEOWNERS +${GEM_LIB}/gems/${DISTNAME}/CONTRIBUTING.md +${GEM_LIB}/gems/${DISTNAME}/Gemfile +${GEM_LIB}/gems/${DISTNAME}/HISTORY.md +${GEM_LIB}/gems/${DISTNAME}/LICENSE +${GEM_LIB}/gems/${DISTNAME}/NOTICE +${GEM_LIB}/gems/${DISTNAME}/README.md +${GEM_LIB}/gems/${DISTNAME}/Rakefile +${GEM_LIB}/gems/${DISTNAME}/appveyor.yml +${GEM_LIB}/gems/${DISTNAME}/bin/ +${GEM_LIB}/gems/${DISTNAME}/bin/console +${GEM_LIB}/gems/${DISTNAME}/bin/setup +${GEM_LIB}/gems/${DISTNAME}/codecov.yml +${GEM_LIB}/gems/${DISTNAME}/contrib/ +${GEM_LIB}/gems/${DISTNAME}/contrib/README.md +${GEM_LIB}/gems/${DISTNAME}/contrib/pre-commit +${GEM_LIB}/gems/${DISTNAME}/docs/ +${GEM_LIB}/gems/${DISTNAME}/docs/README.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/ +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/01-installing-prereqs.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/02-connecting-to-the-lightbulbs-emulator.png +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/02-connecting-to-the-lightbulbs.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/03-creating-a-new-module.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/03-creating-a-new-module_vscode.png +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/04-adding-a-new-transport.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/05-implementing-the-transport-hints.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/05-implementing-the-transport.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/06-implementing-the-provider.md +${GEM_LIB}/gems/${DISTNAME}/docs/hands-on-lab/07-implementing-a-task.md +${GEM_LIB}/gems/${DISTNAME}/lib/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/base_context.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/data_type_handling.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/glue.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/io_context.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/parameter.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/property.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/puppet_context.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/read_only_parameter.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/simple_provider.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/transport/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/transport.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/transport/wrapper.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/type_definition.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/value_creator.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/resource_api/version.rb +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/util/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/util/network_device/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/util/network_device/simple/ +${GEM_LIB}/gems/${DISTNAME}/lib/puppet/util/network_device/simple/device.rb +${GEM_LIB}/gems/${DISTNAME}/puppet-resource_api.gemspec +${GEM_LIB}/specifications/${DISTNAME}.gemspec