diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/simplecov | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/simplecov')
| -rw-r--r-- | dev-ruby/simplecov/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch | 19 | ||||
| -rw-r--r-- | dev-ruby/simplecov/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-ruby/simplecov/simplecov-0.22.0.ebuild | 61 |
4 files changed, 0 insertions, 92 deletions
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest deleted file mode 100644 index faa4da37e6cc..000000000000 --- a/dev-ruby/simplecov/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST simplecov-0.22.0.tar.gz 115236 BLAKE2B d013f254d534ddd1ad273e2a6990c7ec96710cef106c73ecaba18c04ac5922bad52e086f11bf019abb21dd6cfc2f4b02e058b5042029716c6e3ed64e1c35993a SHA512 ba7e1a29a219337c1e00d055408d825b20a7b81ec4768612d9d5e8a18af08d47d86a42cee78c64ae0f431196136b5dd522364882d83e5210366d8aa03d5c54b4 diff --git a/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch b/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch deleted file mode 100644 index 293fbe51d747..000000000000 --- a/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch +++ /dev/null @@ -1,19 +0,0 @@ -This test is only activated for >= ruby32 because ruby32 adds support -for assessing coverage within an eval. But the failure isn't anything -to do with eval. - -The test tries to call 'ruby' which in Gentoo isn't (yet!) wrapped, -so it ends up calling an older Ruby which then results in 0 coverage -being found. Replace it with a string we can safely sed with the -correct Ruby per-test. ---- a/spec/coverage_for_eval_spec.rb -+++ b/spec/coverage_for_eval_spec.rb -@@ -16,7 +16,7 @@ RSpec.describe "coverage for eval" do - end - - context "foo" do -- let(:command) { "ruby eval_test.rb" } -+ let(:command) { "@GENTOO_RUBY@ eval_test.rb" } - - it "records coverage for erb" do - expect(@stdout).to include(" 2 / 3 LOC") diff --git a/dev-ruby/simplecov/metadata.xml b/dev-ruby/simplecov/metadata.xml deleted file mode 100644 index 7802305b58f0..000000000000 --- a/dev-ruby/simplecov/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">simplecov-ruby/simplecov</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/simplecov/simplecov-0.22.0.ebuild b/dev-ruby/simplecov/simplecov-0.22.0.ebuild deleted file mode 100644 index 9143f301dc74..000000000000 --- a/dev-ruby/simplecov/simplecov-0.22.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34" - -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" - -SLOT="0.8" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="doc" - -ruby_add_rdepend " - || ( dev-ruby/simplecov-html:0.13 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. - -PATCHES=( - "${FILESDIR}"/${PN}-0.22.0-ruby32-gentoo.patch -) - -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 - - # Loosen test that is fragile for simplecov-html versions. - sed -e 's: 2 / 3 LOC:2 / 3:' \ - -i spec/coverage_for_eval_spec.rb || die -} - -each_ruby_test() { - sed -i -e "s:@GENTOO_RUBY@:${RUBY}:" spec/coverage_for_eval_spec.rb || die - RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec/ || die -} |
