From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4842B158094 for ; Tue, 5 Jul 2022 05:15:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46E4CE0BFC; Tue, 5 Jul 2022 05:15:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EF00E0BFA for ; Tue, 5 Jul 2022 05:15:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD72934169F for ; Tue, 5 Jul 2022 05:15:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C83B4ED for ; Tue, 5 Jul 2022 05:15:40 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1656998136.c187bd1d6dd9998678a1d70440a06196c4da1b5f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/simplecov/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/simplecov/Manifest dev-ruby/simplecov/simplecov-0.21.2.ebuild X-VCS-Directories: dev-ruby/simplecov/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c187bd1d6dd9998678a1d70440a06196c4da1b5f X-VCS-Branch: master Date: Tue, 5 Jul 2022 05:15:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d41e6f2c-08d0-4b9b-8106-522f04ac004f X-Archives-Hash: f605769f79632e51fa800a8faf1932af commit: c187bd1d6dd9998678a1d70440a06196c4da1b5f Author: Hans de Graaff gentoo org> AuthorDate: Tue Jul 5 05:10:28 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jul 5 05:15:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c187bd1d dev-ruby/simplecov: add 0.21.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/simplecov/Manifest | 1 + dev-ruby/simplecov/simplecov-0.21.2.ebuild | 50 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest index c119b765e596..68692cc5b902 100644 --- a/dev-ruby/simplecov/Manifest +++ b/dev-ruby/simplecov/Manifest @@ -1 +1,2 @@ DIST simplecov-0.19.1.tar.gz 107430 BLAKE2B 0f18cd4c8ddfd324f4e3326ad8503530862f0ae67658865183984b81a59ad9aa5fcf650fa9f64fa6841ea23afa07d25e38443a79ad0be26b966fa99b6805a090 SHA512 2d781008769abd79020be96f7c1f91cfb9f27d51d00436f737c408a9b9d57a82955cbe5ba5ee5a628b9a7e8835d9b3e1542b67499355373c4f9b2638bee83235 +DIST simplecov-0.21.2.tar.gz 114080 BLAKE2B b1bdfd45a39f97072d871a6d4ba4a2d9f2b94642cbbe329fba91b53b1d6a9b024e224e822ca49c28c4849b7bc3ade19027c6aab739d3acf28c09cd3c773ce4eb SHA512 68e9a901b2ecef07aebad214ea86a092871b0ebf5b62881ca97ca0033c1ee5b9ba395116f9960e69cd88b90f569a3b573a3879178e9ccfa06d28c94de8b4f918 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 +}