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 8855D13835A for ; Sat, 23 May 2020 18:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4CA2E081A; Sat, 23 May 2020 18:49:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9AA8AE081A for ; Sat, 23 May 2020 18:49:27 +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 7DE8A34F086 for ; Sat, 23 May 2020 18:49:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 342259C for ; Sat, 23 May 2020 18:49:25 +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: <1590259748.fbcf60fee6f6436e3e0b76a937912cd219c99cc2.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hashie/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/hashie/hashie-4.1.0-r1.ebuild X-VCS-Directories: dev-ruby/hashie/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: fbcf60fee6f6436e3e0b76a937912cd219c99cc2 X-VCS-Branch: master Date: Sat, 23 May 2020 18:49:25 +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: 8f2fa2d7-4317-4013-a4a3-ec7c2e8b3b32 X-Archives-Hash: 2efb22801da5851133521f3cd16a273a commit: fbcf60fee6f6436e3e0b76a937912cd219c99cc2 Author: Hans de Graaff gentoo org> AuthorDate: Sat May 23 17:58:27 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat May 23 18:49:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbcf60fe dev-ruby/hashie: add ruby27 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/hashie/hashie-4.1.0-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-ruby/hashie/hashie-4.1.0-r1.ebuild b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild new file mode 100644 index 00000000000..9f66fbf88a1 --- /dev/null +++ b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" +HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" +SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/activesupport )" + +all_ruby_prepare() { + # Remove bundler and fix one spec that depends on its requires + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + sed -e '/pry/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "json"' -i spec/spec_helper.rb || die + + # Avoid dependency on rspec-pending_for and its dependencies + sed -i -e '/pending_for/ s:^:#:' \ + spec/spec_helper.rb \ + spec/hashie/mash_spec.rb \ + spec/hashie/extensions/strict_key_access_spec.rb || die + + # Avoid integration specs to avoid complicated dependencies + rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die +}