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 DC817158094 for ; Fri, 22 Jul 2022 07:28:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B987CE0ADB; Fri, 22 Jul 2022 07:28:58 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14E07E0ADB for ; Fri, 22 Jul 2022 07:28:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F381341065 for ; Fri, 22 Jul 2022 07:28:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A142A543 for ; Fri, 22 Jul 2022 07:28: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: <1658474925.d16430de89f819d83890ca1cbb78e573f36dbf12.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/appraisal/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/appraisal/Manifest dev-ruby/appraisal/appraisal-2.4.1.ebuild dev-ruby/appraisal/metadata.xml X-VCS-Directories: dev-ruby/appraisal/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d16430de89f819d83890ca1cbb78e573f36dbf12 X-VCS-Branch: master Date: Fri, 22 Jul 2022 07:28: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: 67d66de1-0ccb-4ccf-9337-5e6249219385 X-Archives-Hash: a92e36c34f525c9f531268ff82dc6f56 commit: d16430de89f819d83890ca1cbb78e573f36dbf12 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 22 07:28:20 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jul 22 07:28:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16430de dev-ruby/appraisal: new package, add 2.4.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/appraisal/Manifest | 1 + dev-ruby/appraisal/appraisal-2.4.1.ebuild | 38 +++++++++++++++++++++++++++++++ dev-ruby/appraisal/metadata.xml | 12 ++++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-ruby/appraisal/Manifest b/dev-ruby/appraisal/Manifest new file mode 100644 index 000000000000..8bf551c9db24 --- /dev/null +++ b/dev-ruby/appraisal/Manifest @@ -0,0 +1 @@ +DIST appraisal-2.4.1.gem 26112 BLAKE2B 47a9e91117889c52022446cd052cc0c08891d0932ab88a74f61914dd46c1e1bbe7d2a82a6afacd749b4eaf88516d80676582d9fb593d606b8da2e7888455a739 SHA512 8f2a55e2a8e497c11f6b5f2f25c565b91ed8b8bc67b68263cbfa364a3ffeb501440a7122a09885de70b8e465e38e293aa491aa7c838d58855fed0efc63f2c219 diff --git a/dev-ruby/appraisal/appraisal-2.4.1.ebuild b/dev-ruby/appraisal/appraisal-2.4.1.ebuild new file mode 100644 index 000000000000..32a7e1a3f600 --- /dev/null +++ b/dev-ruby/appraisal/appraisal-2.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for testing your library against different versions of dependencies" +HOMEPAGE="https://github.com/thoughtbot/appraisal" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/bundler + dev-ruby/rake + >=dev-ruby/thor-0.14.0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/activesupport-3.2.21 +)" + +all_ruby_prepare() { + sed -i -e '/thor/ s:^:#:' Gemfile || die + + # Skip the acceptance tests since they expect to install gems from + # the network and do not expect multiple ruby versions to be + # present. + rm -rf spec/acceptance || die + sed -i -e '/built_in/ s:^:#:' spec/appraisal/appraisal_file_spec.rb || die +} diff --git a/dev-ruby/appraisal/metadata.xml b/dev-ruby/appraisal/metadata.xml new file mode 100644 index 000000000000..b4b7de864849 --- /dev/null +++ b/dev-ruby/appraisal/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + thoughtbot/appraisal + appraisal + +