diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-11-02 06:07:14 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-11-02 06:07:14 +0100 |
commit | 3be5f0262d7b07c7744f383670871b1206300106 (patch) | |
tree | fe3def85d15d29028e1428dc3811897ff9f0dc4f /dev-ruby/hashie | |
parent | dev-ruby/bson: add 4.6.0 (diff) | |
download | gentoo-3be5f0262d7b07c7744f383670871b1206300106.tar.gz gentoo-3be5f0262d7b07c7744f383670871b1206300106.tar.bz2 gentoo-3be5f0262d7b07c7744f383670871b1206300106.zip |
dev-ruby/hashie: add 4.0.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/hashie')
-rw-r--r-- | dev-ruby/hashie/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hashie/hashie-4.0.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest index 6a2b81c20dc0..c92bfaf37936 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -1,3 +1,4 @@ DIST hashie-2.1.2.gem 34816 BLAKE2B 7406fece6c731f62ab8b73095b6c61d4d79cc3811ba20db68d2d6c54a780e8b37ce92ffa97ddc6c9ae2b802fbdbb04cc0d9c752761c9032739f3548f05696757 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac DIST hashie-3.5.7.gem 71680 BLAKE2B 8f03e190cf299f3597e0fe1b991fd07e00af0ecff757ef56648f97e8a3091a1445441d4e00f59c9b93d5db0d21636d9e5352175e49692f7b28a5612c87da9163 SHA512 c7ae610de5fe9b19a724068c26c184b44f951b29b56e3c5240074a372ad24d0ea70e39541812cbd82d5516d9e00e86a33d935b90e086b7db305b9b34b8f44f23 DIST hashie-3.6.0.gem 74752 BLAKE2B b689843d30001dd7eaa09d62ab908d60e76128df66055283ccf0770830e5901b4e792c4bebd2cad8bb6d5e97a23016aee0d0114f2fb0f7ace8ebd722b8941020 SHA512 7b5355a2b93267d6b7c63608aeac4bb7d21f32a982e2c59771d5a791f9a0c921d11e1b4a185067447917315ce98f8cc5f2b48a31efec3068fb1f1ec0e4386e15 +DIST hashie-4.0.0.tar.gz 82096 BLAKE2B d2fa4f208e4bb08a15c7c14208fef368ea5653e556045378ead94b7002250a798637fede4f8438238111946a4393794828f88d19b7f8c733500d745a361049cf SHA512 b26b80a0b981fa534d17b20a7a2dfad82487950f94bf38d62129aa7af4de7875e1fd9519fae30c13d16a92e041033fe6f80978fd30014a571503650ee73ca549 diff --git a/dev-ruby/hashie/hashie-4.0.0.ebuild b/dev-ruby/hashie/hashie-4.0.0.ebuild new file mode 100644 index 000000000000..d39bc3582f23 --- /dev/null +++ b/dev-ruby/hashie/hashie-4.0.0.ebuild @@ -0,0 +1,44 @@ +# 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_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 ~ppc ~ppc64 ~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"' -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 +} |