From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1121844-garchives=archives.gentoo.org@lists.gentoo.org> 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 EEBB913997D for <garchives@archives.gentoo.org>; Tue, 12 Nov 2019 06:28:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32CB7E0958; Tue, 12 Nov 2019 06:28:50 +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 038EDE0954 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Nov 2019 06:28:49 +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 A011E34CBD1 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Nov 2019 06:28:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEEA6824 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Nov 2019 06:28:45 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1573539896.1f3891420e235fe7197679ea5a397d7288cefc33.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.1.0.ebuild X-VCS-Directories: dev-ruby/hiera-eyaml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1f3891420e235fe7197679ea5a397d7288cefc33 X-VCS-Branch: master Date: Tue, 12 Nov 2019 06:28:45 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da82fa77-e218-45cc-909b-274b397f5f18 X-Archives-Hash: 0ac50fadaae3ba5f87df86b4c5155de9 commit: 1f3891420e235fe7197679ea5a397d7288cefc33 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Nov 12 06:24:56 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Nov 12 06:24:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f389142 dev-ruby/hiera-eyaml: add 3.1.0 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/hiera-eyaml/Manifest | 1 + dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild | 48 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest index 2d3e7439b05..62809d819fa 100644 --- a/dev-ruby/hiera-eyaml/Manifest +++ b/dev-ruby/hiera-eyaml/Manifest @@ -1 +1,2 @@ DIST hiera-eyaml-3.0.0.tar.gz 54416 BLAKE2B 75587799b228562ae89ab4e46fdd5d4a256f66403df0a2c0761aadec17fb3fa95c1207aee5a4663bcbd843c7d6e0594ce2c0edf6973184b64522a987d628b549 SHA512 805496478d0fe142ea1661345d92e5ad2ad4c18c98bb83c8f799031b784a997e1aee2a11b46600a8ddbe0b147072ea0f83fbfa100df5b5fc534d7489850d9827 +DIST hiera-eyaml-3.1.0.tar.gz 55857 BLAKE2B 6038798c86f6c7cfb56ed2519961bcdb7937d16e0376ba426c5ae4a892cef9863e6728368af8da31359abc956d78ab38d379bca5ba8cbf567c2c812ee33929fe SHA512 970aa0dd696acd77062ac5c289c9ac0e5992c58acc4df379500978904e58a2054801fa7c36fa3b156dd1b635ef19522cc9886bd91c83e8fda6d00058b18ab9d9 diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild new file mode 100644 index 00000000000..863a4be4abb --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +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/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 +}