diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /dev-ruby/simplecov | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-ruby/simplecov')
-rw-r--r-- | dev-ruby/simplecov/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/simplecov/simplecov-0.21.2.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest index 3213c7fe61bd..fd74bf3c0372 100644 --- a/dev-ruby/simplecov/Manifest +++ b/dev-ruby/simplecov/Manifest @@ -1,3 +1,5 @@ DIST simplecov-0.19.1.tar.gz 107430 BLAKE2B 0f18cd4c8ddfd324f4e3326ad8503530862f0ae67658865183984b81a59ad9aa5fcf650fa9f64fa6841ea23afa07d25e38443a79ad0be26b966fa99b6805a090 SHA512 2d781008769abd79020be96f7c1f91cfb9f27d51d00436f737c408a9b9d57a82955cbe5ba5ee5a628b9a7e8835d9b3e1542b67499355373c4f9b2638bee83235 +DIST simplecov-0.21.2.tar.gz 114080 BLAKE2B b1bdfd45a39f97072d871a6d4ba4a2d9f2b94642cbbe329fba91b53b1d6a9b024e224e822ca49c28c4849b7bc3ade19027c6aab739d3acf28c09cd3c773ce4eb SHA512 68e9a901b2ecef07aebad214ea86a092871b0ebf5b62881ca97ca0033c1ee5b9ba395116f9960e69cd88b90f569a3b573a3879178e9ccfa06d28c94de8b4f918 EBUILD simplecov-0.19.1.ebuild 1210 BLAKE2B f8e14f56877213b223cdfa25d8434be88f9caa108e5c1e18ceb4c716b4fc96ac8b046771eb8c1bae7b97bbbbc190efaec43185b702582b86d22a1c01951631f7 SHA512 40e3195c466478136a62cb8e8c380cc6cca67a137465809ae3eba6c83892d7203028b76e01d0a3586f605ab8c7d85730d6ad68d8aa2929e500a7808d81dcfc6c +EBUILD simplecov-0.21.2.ebuild 1246 BLAKE2B 2617bc6182a9e8baa4f2d10462fc932fcb8b3f37c272c5d9df70f04895a1b407172731276514aef96bcda2e68708feab6a7adcaf08be65271dd44cf0a79666a4 SHA512 0f2f880b2a7ffd5214f7b24b155d424e8d14afce49a3eb339ddc48e4e2e747545a19c10c49369b6de84b37c4b16a59dafd600aaf939057a9707cee4f9bc289b1 MISC metadata.xml 351 BLAKE2B deddbf1938c6ddb07d6e018eea6972ef42c29cbd593f830363da799cf521f90dbb286fdccd0b01ec0d50392589f7ee40275ee67b871c827b24c4ccfa46b0889c SHA512 2cb0486e6184c2e1f27275c09434035a88209adba52b677dd436d422b4efc838b430dc436a67507b85ddfa4c98e1fde1f0475f6b0d1d42aae22bd984f7934c55 diff --git a/dev-ruby/simplecov/simplecov-0.21.2.ebuild b/dev-ruby/simplecov/simplecov-0.21.2.ebuild new file mode 100644 index 000000000000..8dfe63648ed6 --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.21.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +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 +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die + + #${RUBY} -S cucumber features || die +} |