app-admin/r10k: add 3.3.0
authorHans de Graaff <graaff@gentoo.org>
Sat, 13 Jul 2019 05:57:20 +0000 (07:57 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 13 Jul 2019 06:13:27 +0000 (08:13 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

app-admin/r10k/Manifest
app-admin/r10k/r10k-3.3.0.ebuild [new file with mode: 0644]

index fc32d23087a7dc0eb0ba8d3c97e7afdcc73c4f0c..ad95243dc736b47566674c8858cceeb1315e75ea 100644 (file)
@@ -1,2 +1,3 @@
 DIST r10k-3.1.0.gem 202240 BLAKE2B 46b7b03d7d57aa856f31ee1a8fe804b1e5ed2272f2543955c46fd194a956c4074fab7a0ca59ce828e1d0841cd7beabdcaa7a167329a8ac707e96be9e71f2cd2f SHA512 7ec80be0e09d0693f33eaca4420a47a6fa7c2216ab8a06a45611b7150f97be00eaca7dd674962f14b169f9b0b315c3b47c76612baee0724c7d928541e535a960
 DIST r10k-3.2.0.gem 206336 BLAKE2B badc840ec7e6793daf205f1352899fa909e9a922a353a52841809dc80fd03758a865e0cb8210e58bb5c25968207d537b3f19c1903fbb519c50b6af2dd27eb5fb SHA512 7ea00ec28ba631877d33fa8b00b25e1c69346b787499ec7b26118c16acecf6bd39fcdc4618af016ebf5b62850b6d984510f7e9153dd4e99771def299b7d0703d
+DIST r10k-3.3.0.gem 206848 BLAKE2B 92fedb9871c6e22df3a3f8c4cf18feac1bf3ef51e2e67b3001c811bc81397eda71bc9da94ef860d6e39b989fd1c1a3b9dae402142496f17c4427ff2de62188fd SHA512 674c5c386885dd1476264d8bc047ddad0411b6344350662021ede8a5352e95fd50a72f62127b00bf6b2bc8e6b3835b017128788707610d510a64eee13b9f4d4f
diff --git a/app-admin/r10k/r10k-3.3.0.ebuild b/app-admin/r10k/r10k-3.3.0.ebuild
new file mode 100644 (file)
index 0000000..a1ebf57
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Puppet environment and module deployment"
+HOMEPAGE="https://github.com/puppetlabs/r10k"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+git"
+
+ruby_add_rdepend "
+       ~dev-ruby/colored-1.2
+       ~dev-ruby/cri-2.15.6
+       >=dev-ruby/gettext-setup-0.24:0
+       ~dev-ruby/log4r-1.1.10
+       >=dev-ruby/multi_json-1.10:0
+       >=dev-ruby/puppet_forge-2.2.8
+       =dev-ruby/puppet_forge-2.2*
+"
+
+ruby_add_bdepend "test? (
+       dev-ruby/archive-tar-minitar
+)"
+
+RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
+
+all_ruby_prepare() {
+       sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+       # Avoid specs for unpackaged rugget git provider
+       rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die
+}