summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-16 17:15:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-16 17:15:17 +0100
commit6e356edde093fb3589ab7a5859685e85c2873ab0 (patch)
tree5f17cc7bfbddda45678967fdc0a5f9f35fa9c02a /dev-ruby
parentacb0389058b8ef612d851b1ab54fa37376c4b7f7 (diff)
gentoo auto-resync : 16:09:2022 - 17:15:17
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin111284 -> 111285 bytes
-rw-r--r--dev-ruby/hiera-eyaml/Manifest2
-rw-r--r--dev-ruby/hiera-eyaml/hiera-eyaml-3.3.0.ebuild49
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index a3f7725563f6..a3d0fb52b358 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest
index 560a06f5442d..4170ac408bb0 100644
--- a/dev-ruby/hiera-eyaml/Manifest
+++ b/dev-ruby/hiera-eyaml/Manifest
@@ -1,5 +1,7 @@
DIST hiera-eyaml-3.1.1.tar.gz 54848 BLAKE2B 8daa4925bf1fb945ddb5ce7a485c3bf2bfca8747eb0cf00530eb91307d18d3f5c73699a30631b80e7825baac3a8b0c1695bd0313906bc8c7aba9c3c00d69b9cc SHA512 3bc93ca31af96383401f28644490f5540a70cf719e47d340794daf6c8bcc7fe9800d1d1e6ba99aba344831966f8d15f1a1fd9d1522696457f0bdec79dd45a108
DIST hiera-eyaml-3.2.2.tar.gz 59174 BLAKE2B 2e31d1d0807096757f338a3f112a2f853f9dc61d14f92720a06e8835ef5b2228cea1ef2db1d5d7a2758422158acca14e882e1fa88a3189fcc254573e15e32185 SHA512 ac7800d35cba9b11e1fcfd831419caa1fb32fc1747499f780a40005cf57a87be4562f52251b8f5482156ad98892d41fe5060e48f74a75a0d1657dd5c04b8ee92
+DIST hiera-eyaml-3.3.0.tar.gz 60385 BLAKE2B 222c0e531a0b713a0d996895168229468f131d9ce1dd786ef8337b5d9ec8a322e336bd12191253fb09e11d60682491081acd5b946a7257b6183e6533fe924811 SHA512 4bb81b87244177a4ab3ca80d0a5e67a8e6534dbdf4d489ca9f918ea97981e50d203e441cff6a35996878b6fa91815e00bdb8261e19359bb3f00efc14b1f25e0d
EBUILD hiera-eyaml-3.1.1.ebuild 1465 BLAKE2B 216f1ebf7dc84646bc6ab1b2af26f12452d09a48e6d5ebc1715bed2152a7dc5d1b5b49c732c5497d7174f5ed289c2ca9a2e73f47c149be09819ee28d44ba3b2b SHA512 0b4ce0fff54180da7bd7fffb4f5bb64c3675054055fa20a8dbb4b97e69777c1ebcbd2c4918d863c3c95e461fe16816044b2e15eefdf7071931be4581f11e4e76
EBUILD hiera-eyaml-3.2.2.ebuild 1542 BLAKE2B f7a8bcd7b18685197f33a8444ddfed1a8b341f7845961e50ffa7d897440c87d035ac300b91fa2a5ac6fb7674e8bdf427d7498e1156b61be3d2c335142b65b7b9 SHA512 39d89d0c857e27de9c2977d73deb93693a9cebda225dbc1be0e63428e3b865aad7348b2bb7f77ab6ca3e7600b7e7c14e84c3e09a9a0e5e7c7c96ea14164d0fb1
+EBUILD hiera-eyaml-3.3.0.ebuild 1535 BLAKE2B 3db1f9a119b32297c48ce9dab85a20c58b79bd255d9b2f0a1872af45db91bb58fe5a31b03bb8ef02a0d52e9b046435c2b78b024aa78583caa73f194df54d7f7f SHA512 a90cccfae973e75ea89dbb72a7ce7c4c525252e171884c9814c0c34486281b9b89803ba3747cd05e41d83b9c375a38f293db5b383351f37adbc6029732d313e7
MISC metadata.xml 475 BLAKE2B d544bc1b3bee5ee303ee340c6cb73360fbf9e1cb48ff81986f8c7dbc6de01a7961c9a5320355851ab9892712b381357e37897d8d906633dc7b7d39c46ae87026 SHA512 34e60583c13d377291e47d7f9ef7dd016298d0b3cb139a4cb658e946324ca0383cc8e357994468524b80be882e5ca96136088831dddadbfd90c260cd053cd9d8
diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.3.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.3.0.ebuild
new file mode 100644
index 000000000000..0c4a92e3baa9
--- /dev/null
+++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27"
+
+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/TomPoulton/hiera-eyaml"
+SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*"
+ruby_add_rdepend "dev-ruby/optimist"
+ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary
+
+ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 <app-admin/puppet-6 dev-ruby/hiera-eyaml-plaintext )"
+
+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() {
+ ${RUBY} -S cucumber --format progress features || die
+}