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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C29851382C5 for ; Fri, 2 Apr 2021 11:16:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E424E08F0; Fri, 2 Apr 2021 11:16:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0440EE08F0 for ; Fri, 2 Apr 2021 11:16:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DFA7340C80 for ; Fri, 2 Apr 2021 11:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BE0C63E for ; Fri, 2 Apr 2021 11:16:06 +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: <1617362158.849d7e680c5047eb9c0fa8f3630d9bea1db860fe.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/thread_safe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild X-VCS-Directories: dev-ruby/thread_safe/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 849d7e680c5047eb9c0fa8f3630d9bea1db860fe X-VCS-Branch: master Date: Fri, 2 Apr 2021 11:16:06 +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: c0544fc4-6abd-483c-96d9-5ede94840fe4 X-Archives-Hash: 503615ef3e88967f117e5fc84947ba3c commit: 849d7e680c5047eb9c0fa8f3630d9bea1db860fe Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 2 09:39:51 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 2 11:15:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849d7e68 dev-ruby/thread_safe: add ruby30 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild b/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild new file mode 100644 index 00000000000..180c2937a11 --- /dev/null +++ b/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A collection of thread-safe versions of common core Ruby classes" +HOMEPAGE="https://github.com/ruby-concurrency/thread_safe" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Higher atomic dependency since earlier versions crash on ruby20 while +# running thread_safe tests. +ruby_add_bdepend "test? ( >=dev-ruby/atomic-1.1.16 )" + +each_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/coveralls/I s:^:#:' \ + -e '/simplecov/ s:^:#:' \ + -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_test() { + einfo "The test suite may take up to 10 minutes to run without apparent feedback" + each_fakegem_test +}