diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/hiera-eyaml |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/hiera-eyaml')
-rw-r--r-- | dev-ruby/hiera-eyaml/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0-r1.ebuild | 47 | ||||
-rw-r--r-- | dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0.ebuild | 47 | ||||
-rw-r--r-- | dev-ruby/hiera-eyaml/metadata.xml | 15 |
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest new file mode 100644 index 000000000000..3ff33f2f366b --- /dev/null +++ b/dev-ruby/hiera-eyaml/Manifest @@ -0,0 +1,6 @@ +DIST hiera-eyaml-2.1.0.tar.gz 46179 SHA256 6a7878d02143c8114385b0232a8219c9df7beb4abd01c81a9cb0a45608a88e80 SHA512 b85de0de0cb4f4a7b381ec7e406e5b3858b1e93b5475830df6991fc679d1391a88dd988c0d266942e70fb4705ba47cb656fd732bd923f8290dd90a5bf6e4a5fb WHIRLPOOL 9d6f602bc63fd015cbfb130efd9e51f5a94ffafd2015d4183b13c1b4484f3fd235c73aa002f2157b28f28ae87aef6f67c32e8e9bafd5a326536967c3718fe799 +EBUILD hiera-eyaml-2.1.0-r1.ebuild 1367 SHA256 6a54e547ff8849c826563a0fffc2704a28f87dcab046f04c314461a0278e7e0f SHA512 be9963887cd38d58f5d813f708ca4ddb0a41e4e46be862e92c894756ced58541c9a63279714358b60e341db87581fc0d5ea85cf728ce18c80dd0aae72bd7fb1c WHIRLPOOL d2c78a60df02eb80b4fca4b6dffca2e015f77e775fcdba075b7b8af075f9d630bd110f4231d301d260288d68b1c0f383ff5824a8584a37e5f27a963091ca33dc +EBUILD hiera-eyaml-2.1.0.ebuild 1372 SHA256 9f5fc3a15dc06aa4bde44c934fbf5d8e2080f70a5c5038c186c509f7f3f9e467 SHA512 d111b6c708f1139bb8644a38f59c0a53e0bb80bb39a0e4c13dd38281531a19ba5311f04b6d2cf9589f0541446ae017f20912fd4f8e430ad087e358be929d0be5 WHIRLPOOL ea1671a6e0cd62b1cce9b269f67c8bcb657332459dcd8fbe5ecf45084dc05e0d0f5bb7508b0159433584b1806681345f7504802705bb425dca5e92c4bbbc4375 +MISC ChangeLog 3121 SHA256 435ff98f9129a1083530fb9cfe0419b92b78d7d0e27d3667a7bfea65e1fa175e SHA512 eba9fbba388b276953e25f58fa970c7f37467546025be01142f309ea395dc4fe7b224a60f37e91fd5dbf4c0265410973a39b9f36f4841dd97734d39958c25eda WHIRLPOOL 0f03b8807bd1dd311e2357caec67ffe434e48203a5d83964744fc5e7fdc5ab95c46afe7d8d66ea07597137ce0fbaeed9d4a4ef65777f71691573c3b0a1598a08 +MISC ChangeLog-2015 1107 SHA256 5f09fefb7e4d50eb30249fe3d4b711a257c7fb959b9b166e75d0fb0e08ea74af SHA512 67edf7f5a2925a768c089575c72f44c7b3dfd69c62781fb68902726f90cb7336588a2f47dfcc948c02973a8f5249eda1360e4802647821686a62ada89a4af989 WHIRLPOOL 7f4dca01da420c5b9474acd456d1124080e02e78dfc3e49f791d54686d6edefbda21a2960ca0e583a1ef4ae550007805676b4ba8122ab29d57ee60d5bec797b6 +MISC metadata.xml 474 SHA256 8d883288d5cfbeb088ba85c1cb68e6ab3a8315769dc866295bd0b4a848008491 SHA512 af80beefd80dfb83c5c95f9d1707cda077ef7323004785e420ba56f6a4ccf42181247adaec2d023857d410ed003b82919a72af2a5e024c9d76a0ee696009361e WHIRLPOOL ae5dbce29139e2d989ed23390dfc17d5bcd91c7cd0a88691c2bb24d971071d9cbe455b8e001a8e9b908f2e64f6753329c1bd6872210b149517de5a0fc60b37d0 diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0-r1.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0-r1.ebuild new file mode 100644 index 000000000000..3a1c363d721d --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES.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="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19" +ruby_add_rdepend "dev-ruby/trollop:2" + +ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 app-admin/puppet 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/init.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/init.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 +} diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0.ebuild new file mode 100644 index 000000000000..05be0dd4b982 --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-2.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES.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="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19" +ruby_add_rdepend "dev-ruby/trollop:2" + +ruby_add_bdepend "test? ( dev-util/cucumber =dev-util/aruba-0.6.2 app-admin/puppet 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/init.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/init.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 +} diff --git a/dev-ruby/hiera-eyaml/metadata.xml b/dev-ruby/hiera-eyaml/metadata.xml new file mode 100644 index 000000000000..bf2e34747ae7 --- /dev/null +++ b/dev-ruby/hiera-eyaml/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">TomPoulton/hiera-eyaml</remote-id> + </upstream> +</pkgmetadata> |