From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A12F138334 for ; Mon, 11 Mar 2019 19:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10BC3E0B48; Mon, 11 Mar 2019 19:36:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBD63E0B48 for ; Mon, 11 Mar 2019 19:36:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06D0D335C78 for ; Mon, 11 Mar 2019 19:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58B09555 for ; Mon, 11 Mar 2019 19:36:16 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1552332922.bcf4582eeae065d74eac924338d750faef955d48.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hiera-eyaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/hiera-eyaml/Manifest dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild X-VCS-Directories: dev-ruby/hiera-eyaml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: bcf4582eeae065d74eac924338d750faef955d48 X-VCS-Branch: master Date: Mon, 11 Mar 2019 19:36:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31c9f451-249b-4301-8398-670a69b528a0 X-Archives-Hash: 1f91a1752642601ffaf11c025eef4d0a commit: bcf4582eeae065d74eac924338d750faef955d48 Author: Hans de Graaff gentoo org> AuthorDate: Mon Mar 11 19:34:44 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Mar 11 19:35:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf4582e dev-ruby/hiera-eyaml: add 3.0.0 Fixes: https://bugs.gentoo.org/680050 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/hiera-eyaml/Manifest | 1 + dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild | 47 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest index 28063cacbb2..2118e3f1a35 100644 --- a/dev-ruby/hiera-eyaml/Manifest +++ b/dev-ruby/hiera-eyaml/Manifest @@ -1 +1,2 @@ DIST hiera-eyaml-2.1.0.tar.gz 46179 BLAKE2B a25eaf1e013af4add5c4628dab168daedfeb8763038f4e003d5e48b5e51ddc25dbbb8b01d024836163089106d0786d27af43113b3db950ecb302c3ec5a82d7a8 SHA512 b85de0de0cb4f4a7b381ec7e406e5b3858b1e93b5475830df6991fc679d1391a88dd988c0d266942e70fb4705ba47cb656fd732bd923f8290dd90a5bf6e4a5fb +DIST hiera-eyaml-3.0.0.tar.gz 54416 BLAKE2B 75587799b228562ae89ab4e46fdd5d4a256f66403df0a2c0761aadec17fb3fa95c1207aee5a4663bcbd843c7d6e0594ce2c0edf6973184b64522a987d628b549 SHA512 805496478d0fe142ea1661345d92e5ad2ad4c18c98bb83c8f799031b784a997e1aee2a11b46600a8ddbe0b147072ea0f83fbfa100df5b5fc534d7489850d9827 diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild new file mode 100644 index 00000000000..22b09b8ad76 --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +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_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 />=/' \ + -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/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 +}