From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EACB1584F2 for ; Sat, 15 Mar 2025 12:21:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 79354342F92 for ; Sat, 15 Mar 2025 12:21:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 78ED81103C7; Sat, 15 Mar 2025 12:21:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6F83D1103C7 for ; Sat, 15 Mar 2025 12:21:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2750334168D for ; Sat, 15 Mar 2025 12:21:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B756B1C96 for ; Sat, 15 Mar 2025 12:21:37 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1742041288.921e43f77009660d7a141f34f53239c640b2c3e1.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/puppet-resource_api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/puppet-resource_api/Manifest dev-ruby/puppet-resource_api/puppet-resource_api-2.0.0.ebuild X-VCS-Directories: dev-ruby/puppet-resource_api/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 921e43f77009660d7a141f34f53239c640b2c3e1 X-VCS-Branch: master Date: Sat, 15 Mar 2025 12:21:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2a201a15-77fc-414f-85da-7288a857fa73 X-Archives-Hash: 25fdb16eb05863cbbcf18b2277eff5ca commit: 921e43f77009660d7a141f34f53239c640b2c3e1 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 15 12:20:01 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 15 12:21:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921e43f7 dev-ruby/puppet-resource_api: add 2.0.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/puppet-resource_api/Manifest | 1 + .../puppet-resource_api-2.0.0.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/puppet-resource_api/Manifest b/dev-ruby/puppet-resource_api/Manifest index fc95bbbe313a..0abba9896dd3 100644 --- a/dev-ruby/puppet-resource_api/Manifest +++ b/dev-ruby/puppet-resource_api/Manifest @@ -1 +1,2 @@ DIST puppet-resource_api-1.9.0.tar.gz 168292 BLAKE2B 469c59c07e22d7bb9cd9c00bb95b3efe5af8a1a985155ec5a0286f912a5afa95504d7fa9f24c6b00307d88e06dce035021f4c8570c9a7a81de7f5e195d1a4719 SHA512 009900910fc83bbc5d96d51d5d069a527c271786143c080774d90d6ba89f5451a2a949965f852a83a7d4ac964a9db0756c7f698d4f3f6c7631e4164ff545f9c6 +DIST puppet-resource_api-2.0.0.tar.gz 169865 BLAKE2B 441bd275a2f4da427e32b057ebda03802965d7a5ec37d60cfde4aa1a9c6eea2f89ebb52d5e87ce9fba9804980c333dc8741e2631e9b6db761392c7b0ad1bd6e2 SHA512 0f440056b875d21f374260b201c20ae8a520152138cc0e2e6df16b89627cce82df0ab08de99672689f34d0aafe5b7aff507da8eac34941bffe3a810bb733b7f0 diff --git a/dev-ruby/puppet-resource_api/puppet-resource_api-2.0.0.ebuild b/dev-ruby/puppet-resource_api/puppet-resource_api-2.0.0.ebuild new file mode 100644 index 000000000000..2dd0a6439412 --- /dev/null +++ b/dev-ruby/puppet-resource_api/puppet-resource_api-2.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md HISTORY.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +# rspec tests have dependencies not packaged in Gentoo at this time: +# puppetlabs_spec_helper +# CFPropertyList +# simplecov-console +# spec-puppet +# rubocop +# rubocop-rspec +# license_finder +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="This library provides a simple way to write new native resources for puppet." +HOMEPAGE="https://rubygems.org/gems/puppet-resource_api https://github.com/puppetlabs/puppet-resource_api" +# 2023/03/19: .gem does not contain specfiles, and lags behind GitHub releases. +SRC_URI="https://github.com/puppetlabs/puppet-resource_api/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" + +all_ruby_prepare() { + # the gemspec tries to system(git ls-files) but has a meaningful fallback, so just make it not run git. + sed -e 's:__FILE__:"puppet-resource_api.gemspec":' \ + -e 's/__dir__/"."/' \ + -i "${RUBY_FAKEGEM_GEMSPEC}" \ + || die +} + +ruby_add_rdepend ">=dev-ruby/hocon-1.0"