mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-ruby/hiera-eyaml: drop 4.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
e515160066
commit
369154d9ae
@ -1,2 +1 @@
|
||||
DIST hiera-eyaml-4.1.0.tar.gz 63484 BLAKE2B 0995bcb409cbb7fbb605475c5a61854b121e7051957592e0c3322528e37b325526931ec86f1e7f44d1d8a48e534e4fe071a80b4bb98e669470f27e8acab73671 SHA512 40bdc6d8e6929cfbd3c56282bb017763262aa22d58abc8483391632a2cd1bfa5b148ec165a946b5013276adc966d5a9e80f75d6e34cb136d7cc763b91e42f342
|
||||
DIST hiera-eyaml-4.2.0.tar.gz 63656 BLAKE2B a70adb7f8dfce774044275b603b5005a8a70324500d0b4b9c947e8ebfc5d2dd3eef426cc503fef82db60c538a92627e4214df5aa76d658701c22616e1565c8e4 SHA512 870f7967f9723fb4432a01f728edd7b83e667fc35eaed91d6ba9a3cefe1fd9deec9549aa3525c4ad1e06457c0df68d54a428dc961a9f568f2366f080cadfd5dc
|
||||
|
||||
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Encrypted YAML backend for hiera"
|
||||
HOMEPAGE="https://github.com/voxpupuli/hiera-eyaml"
|
||||
SRC_URI="https://github.com/voxpupuli/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/highline-2.1:2
|
||||
>=dev-ruby/optimist-3.1:3
|
||||
!<dev-ruby/hiera-eyaml-3.4.0-r1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-util/cucumber-8
|
||||
dev-util/aruba:2
|
||||
dev-ruby/hiera-eyaml-plaintext
|
||||
)"
|
||||
|
||||
BDEPEND+=" test? ( || ( app-admin/puppet-agent app-admin/puppet ) dev-tcltk/expect )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix highline dependency to be compatible with more versions.
|
||||
sed -i -e '/highline/ s/~>/>=/' \
|
||||
-e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -i -e "s:/tmp:${T}:" \
|
||||
features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \
|
||||
features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \
|
||||
features/sandbox/puppet-envvar/environments/local/modules/test/manifests/run.pp \
|
||||
features/puppet.feature
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Run tests with the correct ruby interpreter
|
||||
sed -i -e 's:I run `eyaml:I run `'${RUBY}' '"${S}"'/bin/eyaml:' features/*.feature || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CUCUMBER_PUBLISH_QUIET=true ${RUBY} -S cucumber --format progress features || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user