diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-09 10:10:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-09 10:11:07 +0100 |
commit | 6077164444af7551bb342ce76c2d12335d8aeb09 (patch) | |
tree | 3bc300991a329ae40f06ebd8ea0caebea570b45c | |
parent | app-admin/r10k: drop 3.15.4 (diff) | |
download | gentoo-6077164444af7551bb342ce76c2d12335d8aeb09.tar.gz gentoo-6077164444af7551bb342ce76c2d12335d8aeb09.tar.bz2 gentoo-6077164444af7551bb342ce76c2d12335d8aeb09.zip |
app-admin/r10k: add 4.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | app-admin/r10k/Manifest | 1 | ||||
-rw-r--r-- | app-admin/r10k/r10k-4.0.1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/r10k/Manifest b/app-admin/r10k/Manifest index 1d04fcf10154..05b315f32068 100644 --- a/app-admin/r10k/Manifest +++ b/app-admin/r10k/Manifest @@ -1,2 +1,3 @@ DIST r10k-3.16.0.tar.gz 253547 BLAKE2B 683fdd5588c7b3c3b47ae0d28d75fbfb929d5595c715531eed86b8d89f76708c91f38f9ca558040b36fac38c038211086a74fdf109b37350126bc78b25f8b751 SHA512 399a357cf8617427632516e0f439a40464ba0c8201ee7b6ce15c893ae029bfd9ae1438b76aff3b9601685d14febf8fc71dbdd2954eb3352d6ce713e769cb586d DIST r10k-4.0.0.tar.gz 254074 BLAKE2B 8053d435691d33cd1d8b3c55c2cb3a153cd952112a93f2eeb4b715c6c0b92e9192c65f8809b4187d5ff4f5f6b9ed8f67a644d7920bf8d8294dd0b5d8fd735836 SHA512 a6b92fabcc405fe6678da724743e43d9dc3a286e3a973a3320ac94c25dd385315baaaf495dbd1706005d31f13d4c52f1c425148d3b397448fed07fd83acb04fa +DIST r10k-4.0.1.tar.gz 254147 BLAKE2B 83c71c39f50aaf390ef75b8d87a693ba8d131297fcb12c3e408665565e35119d3e9e2832b8172b0616145459368dd5af38bcecca666ac1020ba96a59abc83657 SHA512 74583a79637d8c60f3935cd7ea382fff189beb7d6825b10b9c6bfc0a625a62f81648795cefc878cec608d96ba2396749f7fc0a1c7bdfa9bfcf914848135a0675 diff --git a/app-admin/r10k/r10k-4.0.1.ebuild b/app-admin/r10k/r10k-4.0.1.ebuild new file mode 100644 index 000000000000..471bb42a9be4 --- /dev/null +++ b/app-admin/r10k/r10k-4.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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:1 + >=dev-ruby/jwt-2.2.3:2 <dev-ruby/jwt-2.8.0: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:5 +" + +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' \ + -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 +} |