diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-08-17 06:40:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-08-17 06:40:18 +0200 |
commit | 2dc24784526bb782c4b66d3d3b5756be9a59dbf4 (patch) | |
tree | 0f135dbc0612cf11b757efa4ee37324aa4d00683 /dev-ruby/simplecov | |
parent | dev-ruby/activeldap: add 6.0.3 (diff) | |
download | gentoo-2dc24784526bb782c4b66d3d3b5756be9a59dbf4.tar.gz gentoo-2dc24784526bb782c4b66d3d3b5756be9a59dbf4.tar.bz2 gentoo-2dc24784526bb782c4b66d3d3b5756be9a59dbf4.zip |
dev-ruby/simplecov: add 0.19.0; update HOMEPAGE
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/simplecov')
-rw-r--r-- | dev-ruby/simplecov/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/simplecov/metadata.xml | 2 | ||||
-rw-r--r-- | dev-ruby/simplecov/simplecov-0.19.0.ebuild | 49 |
3 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest index f76d2dd6c507..b589af5c8a60 100644 --- a/dev-ruby/simplecov/Manifest +++ b/dev-ruby/simplecov/Manifest @@ -1,2 +1,3 @@ DIST simplecov-0.17.1.tar.gz 64431 BLAKE2B a9de43f4c2e106a9726c769c51d918328de30abcc19fbfe4f2fa1f1bbba0bda99738f7c2af57fabd1e903ae5cb9371a587d837d7428205648a1d9dd7dccaef07 SHA512 f7d6b6fb3a67e033e481fc9d10d71ca2f2d1b41f4cb57c48eff40b3b77842d2c373d8b0ae0377ffe25cb9bba263c9bf7ba72178acf725321427f08d611da3e02 DIST simplecov-0.18.5.tar.gz 100495 BLAKE2B b92ebac7983e33c36aacad29ac499dbdcbae9f2bcf9d3ffb0cc07eabff112e74ba0489ada7b923453a69cf3a1487c8ea3c7af8b973242fa52671b0ba96b2a2f4 SHA512 05c452138997f4dcbf4b8cb053871591c291229e3f1fa152d128b1ea87668582ac4d72fa412c59f30fa29dbed1a4ca07fbfe8e1a1fe9470a22b2d1e931171874 +DIST simplecov-0.19.0.tar.gz 107240 BLAKE2B 64c82c4e2c89717f0fd4d24c95352a8ef435e0c7f2e968d5611c67ee275195cd5d89753f6c009338891464eb400ac87535f6bd800c2e79b9be548d75057b8e49 SHA512 81ee7a3d84346d05f4fb78b85b70a65232a1b13fc5cfec17e6bd7be567bd64fda621721bb287f756c079b2b10a11d30c9ae308270db8d9865e01e7d5f77f2352 diff --git a/dev-ruby/simplecov/metadata.xml b/dev-ruby/simplecov/metadata.xml index e781caffa063..a8d0ab95071a 100644 --- a/dev-ruby/simplecov/metadata.xml +++ b/dev-ruby/simplecov/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Ruby Project</name> </maintainer> <upstream> - <remote-id type="github">colszowka/simplecov</remote-id> + <remote-id type="github">simplecov-ruby/simplecov</remote-id> </upstream> </pkgmetadata> diff --git a/dev-ruby/simplecov/simplecov-0.19.0.ebuild b/dev-ruby/simplecov/simplecov-0.19.0.ebuild new file mode 100644 index 000000000000..dd634e2f601c --- /dev/null +++ b/dev-ruby/simplecov/simplecov-0.19.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 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" +SLOT="0.8" +IUSE="doc" + +ruby_add_rdepend " + dev-ruby/simplecov-html:0.12 + >=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 +} |