summaryrefslogtreecommitdiff
path: root/dev-ruby/puppet_forge
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/puppet_forge
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-ruby/puppet_forge')
-rw-r--r--dev-ruby/puppet_forge/Manifest3
-rw-r--r--dev-ruby/puppet_forge/files/puppet_forge-5.0.1-typhoeus.patch14
-rw-r--r--dev-ruby/puppet_forge/metadata.xml14
-rw-r--r--dev-ruby/puppet_forge/puppet_forge-5.0.4.ebuild36
-rw-r--r--dev-ruby/puppet_forge/puppet_forge-6.0.0.ebuild37
-rw-r--r--dev-ruby/puppet_forge/puppet_forge-6.1.0.ebuild38
6 files changed, 142 insertions, 0 deletions
diff --git a/dev-ruby/puppet_forge/Manifest b/dev-ruby/puppet_forge/Manifest
new file mode 100644
index 000000000000..2dee9676b768
--- /dev/null
+++ b/dev-ruby/puppet_forge/Manifest
@@ -0,0 +1,3 @@
+DIST puppet_forge-5.0.4.gem 776704 BLAKE2B 5b9969ad88f279d1fac639ae28ed1202dc3daf3ab6c07caa60144080e54bf2d075a88381877c97e71e44df520c04780fdec8096ef896685c938ba399851b3ced SHA512 95c90d79b5c3b7c9f3e3775782357550c69599d7134c599daf1bb81d37e26d32ade7e065f6fe45e97dc535d7755ea3ae302025cc475c95dfb0d98af6ff8efd54
+DIST puppet_forge-6.0.0.gem 776192 BLAKE2B 304fd1b7ed446e87b7c552110dec8ad7220a672d635b8ca9c2607044830744ec5d9e0056fe710a443b718d0e3c44c990dc15caaeb4fe93eb5cd5264e3807200e SHA512 a150aeb9b4f398ac5f98bc00c9ef357bf78a3dc90a9934a32385fa13f9f3a2120194798ab7697654cd634d97d42ef0de91790ea2ef1bbb5f64dc8d4381eeb65c
+DIST puppet_forge-6.1.0.gem 776704 BLAKE2B dfad77919b0ee3fec7bc395dfe27374e6154c58906479b0cbe3f9c650a0cefb64b5aa815e7ce6ed788b45f1553266fe5152888d5ccd540bcacf55231323eddb1 SHA512 d658392ae5fc40e024a4f77378cc984e7f11fed67b46ef6cc028c4434fcae120776021582caf3a26fd647a67cb64c188e70d410a46159602b2126ca7e6068edf
diff --git a/dev-ruby/puppet_forge/files/puppet_forge-5.0.1-typhoeus.patch b/dev-ruby/puppet_forge/files/puppet_forge-5.0.1-typhoeus.patch
new file mode 100644
index 000000000000..3f39e97afe8c
--- /dev/null
+++ b/dev-ruby/puppet_forge/files/puppet_forge-5.0.1-typhoeus.patch
@@ -0,0 +1,14 @@
+Typhoeus support only works then the faraday-typhoeus package is installed.
+https://github.com/typhoeus/typhoeus/issues/709
+
+--- a/lib/puppet_forge/connection.rb 2023-09-09 09:02:03.981164238 +0200
++++ b/lib/puppet_forge/connection.rb 2023-09-09 09:03:56.506144279 +0200
+@@ -82,7 +82,7 @@
+
+ begin
+ # Use Typhoeus if available.
+- Gem::Specification.find_by_name('typhoeus', '~> 1.4')
++ Gem::Specification.find_by_name('typhoeus', '~> 1.4') && Gem::Specification.find_by_name('faraday-typhoeus')
+ require 'typhoeus/adapters/faraday'
+ adapter = :typhoeus
+ rescue Gem::LoadError
diff --git a/dev-ruby/puppet_forge/metadata.xml b/dev-ruby/puppet_forge/metadata.xml
new file mode 100644
index 000000000000..539c399627fd
--- /dev/null
+++ b/dev-ruby/puppet_forge/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Tools that can be used to access Forge API information on Modules,
+ Users, and Releases. As well as download, unpack, and install
+ Releases to a directory.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-ruby/puppet_forge/puppet_forge-5.0.4.ebuild b/dev-ruby/puppet_forge/puppet_forge-5.0.4.ebuild
new file mode 100644
index 000000000000..2311962cb014
--- /dev/null
+++ b/dev-ruby/puppet_forge/puppet_forge-5.0.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+PATCHES=( "${FILESDIR}/${PN}-5.0.1-typhoeus.patch" )
+
+ruby_add_rdepend "
+ dev-ruby/faraday:2
+ >=dev-ruby/faraday-follow_redirects-0.3.0:0.3
+ dev-ruby/minitar:0
+ =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
+}
diff --git a/dev-ruby/puppet_forge/puppet_forge-6.0.0.ebuild b/dev-ruby/puppet_forge/puppet_forge-6.0.0.ebuild
new file mode 100644
index 000000000000..ad30baefa45e
--- /dev/null
+++ b/dev-ruby/puppet_forge/puppet_forge-6.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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"
+
+PATCHES=( "${FILESDIR}/${PN}-5.0.1-typhoeus.patch" )
+
+ruby_add_rdepend "
+ dev-ruby/faraday:2
+ >=dev-ruby/faraday-follow_redirects-0.3.0:0.3
+ >=dev-ruby/minitar-1.0.2:1
+ =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
+}
diff --git a/dev-ruby/puppet_forge/puppet_forge-6.1.0.ebuild b/dev-ruby/puppet_forge/puppet_forge-6.1.0.ebuild
new file mode 100644
index 000000000000..a1fc5cf8ebc3
--- /dev/null
+++ b/dev-ruby/puppet_forge/puppet_forge-6.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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"
+
+PATCHES=( "${FILESDIR}/${PN}-5.0.1-typhoeus.patch" )
+
+ruby_add_rdepend "
+ || ( dev-ruby/base64:0.3 dev-ruby/base64:0.2 )
+ dev-ruby/faraday:2
+ || ( dev-ruby/faraday-follow_redirects:0.4 dev-ruby/faraday-follow_redirects:0.3 )
+ >=dev-ruby/minitar-1.0.2:1
+ =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
+}