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 1D47A15808B for ; Sat, 19 Mar 2022 12:00:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6993B2BC011; Sat, 19 Mar 2022 12:00:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4B8742BC011 for ; Sat, 19 Mar 2022 12:00:55 +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 1E54E3438B5 for ; Sat, 19 Mar 2022 12:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65252339 for ; Sat, 19 Mar 2022 12:00:51 +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: <1647691245.20404c54e3c08d440c7652c534a45750e8dfccb9.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/minitest-around/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild X-VCS-Directories: dev-ruby/minitest-around/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 20404c54e3c08d440c7652c534a45750e8dfccb9 X-VCS-Branch: master Date: Sat, 19 Mar 2022 12:00:51 +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: 09e0f036-06cd-4912-a9d3-22d554520cef X-Archives-Hash: 5e6ebbcebd3a9672a81fb9636df31b9e commit: 20404c54e3c08d440c7652c534a45750e8dfccb9 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 19 09:22:10 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 19 12:00:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20404c54 dev-ruby/minitest-around: add ruby30; EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> .../minitest-around-0.5.0-r1.ebuild | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild b/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild new file mode 100644 index 000000000000..7036fe227017 --- /dev/null +++ b/dev-ruby/minitest-around/minitest-around-0.5.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Alternative for setup/teardown dance" +HOMEPAGE="https://github.com/splattael/minitest-around" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/minitest:5" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-util/cucumber )" + +all_ruby_prepare() { + sed -i -e '/bump/ s:^:#:' \ + -e '/ls-files/d' \ + -e '/cucumber/ s/,.*$//' minitest-around.gemspec Rakefile || die +} + +each_ruby_test() { + for f in test/*_{test,spec}.rb ; do + ${RUBY} -S rake test:isolated TEST="${f}" || die + done +}