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 1FF41138334 for ; Sun, 10 Feb 2019 07:25:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D903E0B9B; Sun, 10 Feb 2019 07:25:34 +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 056D1E0B9B for ; Sun, 10 Feb 2019 07:25:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0494F335D4C for ; Sun, 10 Feb 2019 07:25:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3BFB53C for ; Sun, 10 Feb 2019 07:25:31 +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: <1549783520.6ae71597544d7e7b835d955aa2a37a4e5e7de7e0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/puppet_forge/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild X-VCS-Directories: dev-ruby/puppet_forge/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6ae71597544d7e7b835d955aa2a37a4e5e7de7e0 X-VCS-Branch: master Date: Sun, 10 Feb 2019 07:25:31 +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: 5c947cd5-efde-4537-a310-d3c5afc08e63 X-Archives-Hash: 30cfd99b45a480361ae16a0aacaef81d commit: 6ae71597544d7e7b835d955aa2a37a4e5e7de7e0 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 10 07:04:25 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 10 07:25:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae71597 dev-ruby/puppet_forge: fix minitar dep and install locales Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild new file mode 100644 index 00000000000..39d04f7b32e --- /dev/null +++ b/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild @@ -0,0 +1,43 @@ +# 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_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL=locales + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" +HOMEPAGE="https://github.com/puppetlabs/forge-ruby" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/faraday-0.9.0:0 + >=dev-ruby/faraday_middleware-0.9.0:0 + >=dev-ruby/gettext-setup-0.11:0 + dev-ruby/minitar + =dev-ruby/semantic_puppet-1* +" + +all_ruby_prepare() { + # Avoid integration and user specs since they all require network access + rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die + + # Fix overly restrictive dependencies + sed -i \ + -e '/faraday/ s/0.14.0/0.99.0/' \ + -e '/faraday_middleware/ s/0.13.0/0.99.0/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +}