summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-14 08:37:28 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-14 09:10:15 +0100
commit23445c9e0faeced7057c931165eda90b0fd74796 (patch)
treeedfc4ae61174bcc018b8cb420e5e06b4ec354061 /dev-ruby
parentdev-ruby/ddmetrics: add ruby30 (diff)
downloadgentoo-23445c9e0faeced7057c931165eda90b0fd74796.tar.gz
gentoo-23445c9e0faeced7057c931165eda90b0fd74796.tar.bz2
gentoo-23445c9e0faeced7057c931165eda90b0fd74796.zip
dev-ruby/hamster: EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/hamster/hamster-3.0.0-r2.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/hamster/hamster-3.0.0-r2.ebuild b/dev-ruby/hamster/hamster-3.0.0-r2.ebuild
new file mode 100644
index 000000000000..d391bfd1d2a0
--- /dev/null
+++ b/dev-ruby/hamster/hamster-3.0.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby"
+HOMEPAGE="https://github.com/hamstergem/hamster"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
+
+all_ruby_prepare() {
+ sed -i -e '/codeclimate/I s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb spec/lib/hamster/vector/insert_spec.rb || die
+}