summaryrefslogtreecommitdiff
path: root/dev-ruby/hiera-eyaml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/hiera-eyaml')
-rw-r--r--dev-ruby/hiera-eyaml/Manifest5
-rw-r--r--dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.ebuild56
-rw-r--r--dev-ruby/hiera-eyaml/hiera-eyaml-4.2.0.ebuild (renamed from dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0-r1.ebuild)14
3 files changed, 9 insertions, 66 deletions
diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest
index 3bdc6311b618..e2cdf21a28df 100644
--- a/dev-ruby/hiera-eyaml/Manifest
+++ b/dev-ruby/hiera-eyaml/Manifest
@@ -1,6 +1,5 @@
-DIST hiera-eyaml-3.4.0.tar.gz 60920 BLAKE2B 73a2a5c15d79b8084f226173667fc29875ea4614a09030171f81a1b2c632d45071e8952765afb9900c695643016117f9e1a28f9cefe7a19a9de67315ed4d139b SHA512 64443cc49e66dd95cb85d5a2e26a50b5c60ef78dc21354fb5a3760f4e1f0005936d46ff54232e2f2e1b250628a4844b79a8ca267c4d72ab53ef318cde10a074b
DIST hiera-eyaml-4.1.0.tar.gz 63484 BLAKE2B 0995bcb409cbb7fbb605475c5a61854b121e7051957592e0c3322528e37b325526931ec86f1e7f44d1d8a48e534e4fe071a80b4bb98e669470f27e8acab73671 SHA512 40bdc6d8e6929cfbd3c56282bb017763262aa22d58abc8483391632a2cd1bfa5b148ec165a946b5013276adc966d5a9e80f75d6e34cb136d7cc763b91e42f342
-EBUILD hiera-eyaml-3.4.0-r1.ebuild 1569 BLAKE2B dacb9b265d7795cba9e9ce067c829c9efc15b5086ddad6a01ee59b0fcb710a9aca9974a60888177a3ce2de2b03c790ee5506bbcfb4e6e726ae0513248bfae7b2 SHA512 ac662fc242103a0254ccbd819c8225b04e645de3544e2daf34496410a34ac25941ec32407b6f462c656d7a02976f367444682b539638d5f72c917233c05c3eec
-EBUILD hiera-eyaml-3.4.0.ebuild 1545 BLAKE2B 649d30e6bb668e0a1558ad4f1679358b348fd5d69b98b73ce22a379152a3fb33d317caa17760f36e6aa58bd3fd16a4f9721f298de22ca2718988f72fe696785a SHA512 b618bd2c8b5ff68aa83f2cbff79c599c5df3cb2cfbe49c3cb0715f60c492aabc30462cb20feed235fd326d265f7211eb5070bc0f0ac19cc93a3ec07ce342e104
+DIST hiera-eyaml-4.2.0.tar.gz 63656 BLAKE2B a70adb7f8dfce774044275b603b5005a8a70324500d0b4b9c947e8ebfc5d2dd3eef426cc503fef82db60c538a92627e4214df5aa76d658701c22616e1565c8e4 SHA512 870f7967f9723fb4432a01f728edd7b83e667fc35eaed91d6ba9a3cefe1fd9deec9549aa3525c4ad1e06457c0df68d54a428dc961a9f568f2366f080cadfd5dc
EBUILD hiera-eyaml-4.1.0.ebuild 1593 BLAKE2B 5e2ba47ed629097f41c4708164ab6009911ddbfdfc2fc88871859d828c6cec8a723d4130615c3c13a5753f2fc739986ec90e58276ca7d8facd6f4a5d602f4ca0 SHA512 81e86fdf7d5b625c59abdf02a627f07e371ca3a86c4b0281fbf09fc5429db2a76c219a1793f861862966afb16fb33b2846c8ae8055ea50ef8643d57a9c15aeae
+EBUILD hiera-eyaml-4.2.0.ebuild 1627 BLAKE2B e57e5cee829e1e41f5d230ef23ae9bc9427c373d07f5b203e6beaa9e0bd7279a18572b9f262acfeb8f74efe522ae892e30bf060571def531a52c5527e4425b8f SHA512 74fc9f0706bdb98f419e1d3bb4dbe4d5546bfbcc023aab82c3c0895c3a1108a8e6890e9c533cd8cabbb5e78c14bea0ce2f454cd197382a5e265989e8657dad1b
MISC metadata.xml 474 BLAKE2B 90272c828f063f82cb1184004b7ed09653428e2f2cf05be9a060acf9fdc2b6ccd41a3dea37753114b7327eb3ae3043349655a0320f5383653d0f32499562afa9 SHA512 c3a3b96b3aecfcc33b7f85a8a73b17e17b29ec1c5e54711828cf90f0912f78b08787d1592669fac25ae570ce0c0068fcc0e7fe955cd0b6463b8d1cd28fbd6819
diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.ebuild
deleted file mode 100644
index 4d597a68a781..000000000000
--- a/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby30 ruby31"
-
-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="3"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-ruby_add_rdepend "
- >=dev-ruby/highline-1.6.19:*
- dev-ruby/optimist
-"
-
-ruby_add_bdepend "test? (
- dev-util/cucumber
- ~dev-util/aruba-0.6.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
-}
diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0-r1.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-4.2.0.ebuild
index a8c4b7082907..8d201cccdfaf 100644
--- a/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0-r1.ebuild
+++ b/dev-ruby/hiera-eyaml/hiera-eyaml-4.2.0.ebuild
@@ -2,9 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby31 ruby32 ruby33"
-RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md"
@@ -17,18 +16,19 @@ 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="3"
+SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
ruby_add_rdepend "
- >=dev-ruby/highline-1.6.19:*
- dev-ruby/optimist
+ || ( dev-ruby/highline:3 >=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
- ~dev-util/aruba-0.6.2
+ >=dev-util/cucumber-8
+ dev-util/aruba:2
dev-ruby/hiera-eyaml-plaintext
)"