diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-02 11:30:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-02 11:30:05 +0100 |
commit | 8164a4e49d69b936f2d820456e48468dc0e241ad (patch) | |
tree | 72c381896b721d4947b8f65f0cadceef779b99ae /dev-ruby/hiera-eyaml | |
parent | c3ec60d8953748433a04137e04480e9c1a36ed4c (diff) |
gentoo auto-resync : 02:07:2023 - 11:30:05
Diffstat (limited to 'dev-ruby/hiera-eyaml')
-rw-r--r-- | dev-ruby/hiera-eyaml/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.ebuild | 56 | ||||
-rw-r--r-- | dev-ruby/hiera-eyaml/metadata.xml | 2 |
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest index a6ea933d5f55..a36c310a3b42 100644 --- a/dev-ruby/hiera-eyaml/Manifest +++ b/dev-ruby/hiera-eyaml/Manifest @@ -1,3 +1,5 @@ DIST hiera-eyaml-3.3.0.tar.gz 60385 BLAKE2B 222c0e531a0b713a0d996895168229468f131d9ce1dd786ef8337b5d9ec8a322e336bd12191253fb09e11d60682491081acd5b946a7257b6183e6533fe924811 SHA512 4bb81b87244177a4ab3ca80d0a5e67a8e6534dbdf4d489ca9f918ea97981e50d203e441cff6a35996878b6fa91815e00bdb8261e19359bb3f00efc14b1f25e0d +DIST hiera-eyaml-3.4.0.tar.gz 60920 BLAKE2B 73a2a5c15d79b8084f226173667fc29875ea4614a09030171f81a1b2c632d45071e8952765afb9900c695643016117f9e1a28f9cefe7a19a9de67315ed4d139b SHA512 64443cc49e66dd95cb85d5a2e26a50b5c60ef78dc21354fb5a3760f4e1f0005936d46ff54232e2f2e1b250628a4844b79a8ca267c4d72ab53ef318cde10a074b EBUILD hiera-eyaml-3.3.0-r1.ebuild 1635 BLAKE2B 8abbdba398c96a72aa35bfce2b67abfceab5e61a18d71714cd8275655a27b7ab62fc51654ad37b28dbc610721947c3bfb695084b066131c3c71a042a291d36ae SHA512 196ffe783f755750a508bf6a5077905f8e87d666c253a2a3cf7ceb3677973903d1eab8b98ec8ad13e7fb2f6b78cc7db71daa33e3b4f69ce8efa9560dff9fd148 -MISC metadata.xml 475 BLAKE2B d544bc1b3bee5ee303ee340c6cb73360fbf9e1cb48ff81986f8c7dbc6de01a7961c9a5320355851ab9892712b381357e37897d8d906633dc7b7d39c46ae87026 SHA512 34e60583c13d377291e47d7f9ef7dd016298d0b3cb139a4cb658e946324ca0383cc8e357994468524b80be882e5ca96136088831dddadbfd90c260cd053cd9d8 +EBUILD hiera-eyaml-3.4.0.ebuild 1528 BLAKE2B 2a59008bf9f8149e0e3384e5c4262ff36c738169c65a86abe36cd263eb017bcaeaabb39a5e91e15dd912fe3a4299ed00a01e0b6169a63e8282c15a6d44081ead SHA512 39a86451429d5a2429d62d7bce127be2d6e3a02401887f2d4b9dc06549f348e02a3a630b987d4e6762b911eb38b893d5781753810be4f5b47c95dab063e3140f +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 new file mode 100644 index 000000000000..db643f2513ac --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.4.0.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_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 ) )" + +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/metadata.xml b/dev-ruby/hiera-eyaml/metadata.xml index 5f4ebcf1047c..07ab2adb5524 100644 --- a/dev-ruby/hiera-eyaml/metadata.xml +++ b/dev-ruby/hiera-eyaml/metadata.xml @@ -10,6 +10,6 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">TomPoulton/hiera-eyaml</remote-id> + <remote-id type="github">voxpupuli/hiera-eyaml</remote-id> </upstream> </pkgmetadata> |