summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-25 15:53:13 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-25 15:53:28 +0200
commit3e5993a3a93376fc4e4c7594ac6e82d95a1eeb6f (patch)
treeb026270444fe90dbbd9bbc3f743bb6459f2cc84f /app-admin
parentdev-libs/libisoburn: add 1.5.6 (diff)
downloadgentoo-3e5993a3a93376fc4e4c7594ac6e82d95a1eeb6f.tar.gz
gentoo-3e5993a3a93376fc4e4c7594ac6e82d95a1eeb6f.tar.bz2
gentoo-3e5993a3a93376fc4e4c7594ac6e82d95a1eeb6f.zip
app-admin/r10k: add 3.15.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/r10k/Manifest1
-rw-r--r--app-admin/r10k/r10k-3.15.4.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-admin/r10k/Manifest b/app-admin/r10k/Manifest
index f31e8b39ce28..25304a6f553f 100644
--- a/app-admin/r10k/Manifest
+++ b/app-admin/r10k/Manifest
@@ -1 +1,2 @@
DIST r10k-3.15.0.gem 257536 BLAKE2B 50ddb734bef782d9b061f17338d05c8fd824d0cc1e6005c538c4ef91c584bfe9ecbfb5bc5dc033317344bad7b14825cea6a56e136efec5081778582b8c714b18 SHA512 97cbb0a3e6f23591370de339e3320d9cbff726968b3b73d2bb00ebca7637406a371d1464d3ac955b7aacc4f5cfa898b828095aebaebe24bffd7d90be462457a9
+DIST r10k-3.15.4.tar.gz 258268 BLAKE2B 6f2f69895d84e13f54f2a7e6dba086c5b4234f0644709dafa8f88366dbe37fe8f165ef2d316f4c5b60df843448d164132878d67750bc3a65a2b8f66b205d3266 SHA512 521cf69a7372a60db74c3795b608c5ab4148f628365210228d79d9146a80d7105e4c757241e891e8e37027ae0cc2f37e59773c9838bd88042b0fdab13e36cd88
diff --git a/app-admin/r10k/r10k-3.15.4.ebuild b/app-admin/r10k/r10k-3.15.4.ebuild
new file mode 100644
index 000000000000..f969291853b8
--- /dev/null
+++ b/app-admin/r10k/r10k-3.15.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_EXTRAINSTALL=locales
+
+inherit ruby-fakegem
+
+DESCRIPTION="Puppet environment and module deployment"
+HOMEPAGE="https://github.com/puppetlabs/r10k"
+SRC_URI="https://github.com/puppetlabs/r10k/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+git"
+
+ruby_add_rdepend "
+ ~dev-ruby/colored2-3.1.2
+ >=dev-ruby/cri-2.15.10:0
+ >=dev-ruby/gettext-setup-0.24:0
+ || ( dev-ruby/fast_gettext:2 >=dev-ruby/fast_gettext-1.1:0 )
+ >=dev-ruby/jwt-2.2.3:2
+ >=dev-ruby/ruby-gettext-3.0.2:0
+ ~dev-ruby/log4r-1.1.10
+ >=dev-ruby/minitar-0.9:0
+ >=dev-ruby/multi_json-1.10:0
+ =dev-ruby/puppet_forge-3*
+"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/minitar-0.9
+)"
+
+RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
+
+all_ruby_prepare() {
+ sed -e '/s.files/d' \
+ -e '/fast_gettext/ s/1.1.0/1.1/' \
+ -e "/gettext/ s/'< 3.3.0'//" \
+ -e '/jwt/ s/~>/>=/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid specs for unpackaged rugget git provider
+ rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die
+
+ # Avoid spec making assumptions on availability of relative symlinks
+ rm -f spec/integration/util/purageable_spec.rb || die
+}