From b5348aac07691b596ea57edb85eafcd832c7f9f6 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 14 Nov 2021 08:32:12 +0100 Subject: dev-ruby/ddmetrics: add ruby30 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff --- dev-ruby/ddmetrics/ddmetrics-1.0.1-r1.ebuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-ruby/ddmetrics/ddmetrics-1.0.1-r1.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/ddmetrics/ddmetrics-1.0.1-r1.ebuild b/dev-ruby/ddmetrics/ddmetrics-1.0.1-r1.ebuild new file mode 100644 index 000000000000..c5c57f3000b7 --- /dev/null +++ b/dev-ruby/ddmetrics/ddmetrics-1.0.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Non-timeseries measurements for Ruby programs" +HOMEPAGE="https://github.com/ddfreyne/ddmetrics/" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its dev-ruby/timecop )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' \ + -e '/fuubar/ s:^:#:' \ + -e '/RSpec.configure/,/end/ s:^:#:' spec/spec_helper.rb || die +} -- cgit v1.2.3-65-gdbad