dev-ruby/puppet_forge: initial import of 2.2.9
authorHans de Graaff <graaff@gentoo.org>
Sat, 9 Feb 2019 10:44:11 +0000 (11:44 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 9 Feb 2019 10:44:38 +0000 (11:44 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/puppet_forge/Manifest [new file with mode: 0644]
dev-ruby/puppet_forge/metadata.xml [new file with mode: 0644]
dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/puppet_forge/Manifest b/dev-ruby/puppet_forge/Manifest
new file mode 100644 (file)
index 0000000..583e1a8
--- /dev/null
@@ -0,0 +1 @@
+DIST puppet_forge-2.2.9.gem 772608 BLAKE2B 15cad2cc183688262b96a35af46324a3264b8a615fa414bddb6b55587ac30f4fdcc64ddaa0f18b66571bde1a1eb17339bf1fad1630f3a06b6c1575cdbf1c9140 SHA512 753ad4b95db25c1ad284ceb802b03db9724f2a1c1f4522f252428f8ae7c6771361b6a38d070c2ce989bec9538471529cdd92c925501a0f8f4f1bb5e6d8ef3733
diff --git a/dev-ruby/puppet_forge/metadata.xml b/dev-ruby/puppet_forge/metadata.xml
new file mode 100644 (file)
index 0000000..4c2806a
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/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>
+  <upstream>
+    <remote-id type="github">puppetlabs/semantic_puppet</remote-id>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild
new file mode 100644 (file)
index 0000000..7223fbc
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+
+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="2"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       >=dev-ruby/faraday-0.9.0:0
+       >=dev-ruby/faraday_middleware-0.9.0:0
+       >=dev-ruby/gettext-setup-0.11:0
+       dev-ruby/archive-tar-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
+}