diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-09 07:38:42 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-09 07:38:52 +0200 |
commit | 88e4f426ab4bd91af6317eee317b46da5fe07d67 (patch) | |
tree | 47838db54126aebc9d2f7097acb464521ee5397f /dev-ruby | |
parent | dev-ruby/puppet_forge: add 4.1.0 (diff) | |
download | gentoo-88e4f426ab4bd91af6317eee317b46da5fe07d67.tar.gz gentoo-88e4f426ab4bd91af6317eee317b46da5fe07d67.tar.bz2 gentoo-88e4f426ab4bd91af6317eee317b46da5fe07d67.zip |
dev-ruby/puppet_forge: add 5.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/puppet_forge/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/puppet_forge/puppet_forge-5.0.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/puppet_forge/Manifest b/dev-ruby/puppet_forge/Manifest index 173c91849da0..549322d224ed 100644 --- a/dev-ruby/puppet_forge/Manifest +++ b/dev-ruby/puppet_forge/Manifest @@ -1,2 +1,3 @@ DIST puppet_forge-3.2.0.gem 771072 BLAKE2B dd304297aa65dc0f36f837e27abf255a0474fc2216fa72ac3203febeb4085024f4d155e93a91646d1e7828fe67a5a421b2c75bb638deb846c5d337dfe11eafc9 SHA512 dfa82d96f44fb8247f39155c942bf20aec6a4a2833959c877ec98b150553076dd72112b6d1230fa7ae1acef7f648017a8446c3e952680f8d4a6411d2fc8055dc DIST puppet_forge-4.1.0.gem 772096 BLAKE2B 2d6f0af8baa067f79eb113f0de9596c562cdda678587fdd1cb14960535ded5fdbafb2b5ff0ebbd6ae676fb10d766f949b599b43c9b04dac55fc28b8163ef1383 SHA512 f752069d8b1998b3d27745abe3e6ad87a24ef614a68b52af2235a0587f98c69d8e39d2637640431f64d5c91ce468e3a2e2452b6ce8fa91d83b00c20ad047ae33 +DIST puppet_forge-5.0.1.gem 774144 BLAKE2B 2770c0609d93b3518017b36344025dbd7ab51360fea4af8f7ee610f4117f31de25698ad192ab00755564f0a57d9e6b041a7568440dbc5b47e2830a8cb00cd8f8 SHA512 3d29c166e1c22d7b4d45251866fbd8e6756a3026be5e17b1abe8cd6baaa7af4ddde7f2d07b75c21c5716c545cc6df82e36b1070a43a3d3c363214d3a5102843b diff --git a/dev-ruby/puppet_forge/puppet_forge-5.0.1.ebuild b/dev-ruby/puppet_forge/puppet_forge-5.0.1.ebuild new file mode 100644 index 000000000000..7a6accc8642f --- /dev/null +++ b/dev-ruby/puppet_forge/puppet_forge-5.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" +HOMEPAGE="https://github.com/puppetlabs/forge-ruby" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday:2 + >=dev-ruby/faraday-follow_redirects-0.3.0:0.3 + dev-ruby/minitar + =dev-ruby/semantic_puppet-1* +" + +all_ruby_prepare() { + # Avoid integration and user specs since they all require network access + rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid specs that are broken when typhoeus is installed + rm -f spec/unit/forge/connection_spec.rb spec/unit/forge/v3/{base,release}_spec.rb || die +} |