mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-ruby/hashie: add 5.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST hashie-5.0.0.tar.gz 105224 BLAKE2B f15fd3ecd5dcdf88ea97d4aa5e13d984bbfb4dc54a687b4f166d9d84f07ddc0037f4fe251a4ec4950a5b89aaf4f0e43d11467018d63e3a89ae980ec06caf3dd6 SHA512 fc1f9399895f67af77af7b2d1d993eebd221d2b779781625bf1bbee579547580add7d7d0dbf1791564c8df6764c19617721ae5139ca949c81a316beacfe8c806
|
||||
DIST hashie-5.1.0.tar.gz 105957 BLAKE2B 428bb76c5be8e18df11a1fd85b12153b01cf1a3d71370e024df632dd26e7b4e1bc2329b324eefb23d26a4f1479e6ee9bfff26cc3d7c197d1ca4d9bdd42634665 SHA512 5818fb80f9200394087ad14ce26b975cc68969959b16131512974a4de3aa310dc2c111f5d3e2b69d695fa1e06475b5d38e80b4ad7dc7f4e927beed91ec7b06d8
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
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/hashie/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/activesupport )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler and fix one spec that depends on its requires
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user