summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-02-10 08:21:25 +0100
committerHans de Graaff <graaff@gentoo.org>2019-02-10 08:25:24 +0100
commit3e3179c62b7b86723b7375c9e7a46858a01bf76d (patch)
tree5246430a6432e91f2335c5fdd8d6fd1f897dda54 /app-admin/r10k
parentdev-ruby/puppet_forge: cleanup broken version (diff)
downloadgentoo-3e3179c62b7b86723b7375c9e7a46858a01bf76d.tar.gz
gentoo-3e3179c62b7b86723b7375c9e7a46858a01bf76d.tar.bz2
gentoo-3e3179c62b7b86723b7375c9e7a46858a01bf76d.zip
app-admin/r10k: add 3.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-admin/r10k')
-rw-r--r--app-admin/r10k/Manifest1
-rw-r--r--app-admin/r10k/r10k-3.1.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-admin/r10k/Manifest b/app-admin/r10k/Manifest
index 104a52f59a54..669847cd2a72 100644
--- a/app-admin/r10k/Manifest
+++ b/app-admin/r10k/Manifest
@@ -1 +1,2 @@
DIST r10k-1.5.1.gem 164864 BLAKE2B 398f656913b9c0b3835d782dec3aa0d7a475dc49ac6fba7734239a795e209048969c1e66575029eae5ac19513ac57e24adbfc839c9f5c0537c82fe0fe65def30 SHA512 4440a893aaa6ec0337f9347b620f92afd93099465c148bfe90cd44c2c6fe29cc8411b8c225044a9547d24a8857b580dcf2ea190bf64fe9ba180d1c5c3832d1dd
+DIST r10k-3.1.0.gem 202240 BLAKE2B 46b7b03d7d57aa856f31ee1a8fe804b1e5ed2272f2543955c46fd194a956c4074fab7a0ca59ce828e1d0841cd7beabdcaa7a167329a8ac707e96be9e71f2cd2f SHA512 7ec80be0e09d0693f33eaca4420a47a6fa7c2216ab8a06a45611b7150f97be00eaca7dd674962f14b169f9b0b315c3b47c76612baee0724c7d928541e535a960
diff --git a/app-admin/r10k/r10k-3.1.0.ebuild b/app-admin/r10k/r10k-3.1.0.ebuild
new file mode 100644
index 000000000000..c03f18e4e6a9
--- /dev/null
+++ b/app-admin/r10k/r10k-3.1.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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*
+ >=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/json_pure/json/' \
+ -e '/cri/ s/2\.6\../2.7/' \
+ -e '/systemu/ s/2.5.2/2.5/' \
+ -e '/faraday/ s/0.9.0/0.9/' \
+ -e '/semantic_puppet/ s/~>/>/' \
+ -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
+}