dev-ruby/simplecov: drop 0.21.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2023-06-24 06:39:19 +02:00
parent cfe002713e
commit fc08a3834d
2 changed files with 0 additions and 55 deletions

View File

@@ -1,2 +1 @@
DIST simplecov-0.21.2.tar.gz 114080 BLAKE2B b1bdfd45a39f97072d871a6d4ba4a2d9f2b94642cbbe329fba91b53b1d6a9b024e224e822ca49c28c4849b7bc3ade19027c6aab739d3acf28c09cd3c773ce4eb SHA512 68e9a901b2ecef07aebad214ea86a092871b0ebf5b62881ca97ca0033c1ee5b9ba395116f9960e69cd88b90f569a3b573a3879178e9ccfa06d28c94de8b4f918
DIST simplecov-0.22.0.tar.gz 115236 BLAKE2B d013f254d534ddd1ad273e2a6990c7ec96710cef106c73ecaba18c04ac5922bad52e086f11bf019abb21dd6cfc2f4b02e058b5042029716c6e3ed64e1c35993a SHA512 ba7e1a29a219337c1e00d055408d825b20a7b81ec4768612d9d5e8a18af08d47d86a42cee78c64ae0f431196136b5dd522364882d83e5210366d8aa03d5c54b4

View File

@@ -1,54 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_GEMSPEC="simplecov.gemspec"
inherit ruby-fakegem
DESCRIPTION="Code coverage with a configuration library and merging across test suites"
HOMEPAGE="https://github.com/simplecov-ruby/simplecov"
SRC_URI="https://github.com/simplecov-ruby/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~riscv"
SLOT="0.8"
IUSE="doc"
ruby_add_rdepend "
dev-ruby/simplecov-html:0.12
>=dev-ruby/simplecov_json_formatter-0.1:0
>=dev-ruby/docile-1.1:0"
ruby_add_bdepend "test? (
dev-ruby/bundler
dev-ruby/rspec:3
dev-ruby/test-unit:2
)"
# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem.
all_ruby_prepare() {
# Avoid test depending on spawning ruby and having timing issues
sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die
sed -i -e '5i require "bundler"' spec/helper.rb || die
sed -e '/start_coverage_measurement/,/^ end/ s|with(lines: true)|with({lines: true})|' \
-e '/start_coverage_measurement/,/^ end/ s|with(lines: true, branches: true)|with({lines: true, branches: true})|' \
-i spec/simplecov_spec.rb || die
}
each_ruby_test() {
RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die
#${RUBY} -S cucumber features || die
}