diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-14 08:32:12 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-14 09:10:14 +0100 |
commit | b5348aac07691b596ea57edb85eafcd832c7f9f6 (patch) | |
tree | 9f1f16c9b7c5e2137c362569bc873107579e0221 /dev-ruby | |
parent | dev-python/moto: Deselect more docker-based tests (diff) | |
download | gentoo-b5348aac07691b596ea57edb85eafcd832c7f9f6.tar.gz gentoo-b5348aac07691b596ea57edb85eafcd832c7f9f6.tar.bz2 gentoo-b5348aac07691b596ea57edb85eafcd832c7f9f6.zip |
dev-ruby/ddmetrics: add ruby30
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/ddmetrics/ddmetrics-1.0.1-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
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 +} |