From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 40C861584AD for ; Thu, 01 May 2025 17:33:54 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2D4B2340C77 for ; Thu, 01 May 2025 17:33:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 35F6311036B; Thu, 01 May 2025 17:33:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 bobolink.gentoo.org (Postfix) with ESMTPS id 2958011036B for ; Thu, 01 May 2025 17:33:53 +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 D64E6340C39 for ; Thu, 01 May 2025 17:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 702F710D4 for ; Thu, 01 May 2025 17:33: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: <1746120820.86ff71aa727b9ce3ce7ee7f70a418ec742901d34.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-support/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rspec-support/Manifest dev-ruby/rspec-support/rspec-support-3.13.3.ebuild X-VCS-Directories: dev-ruby/rspec-support/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 86ff71aa727b9ce3ce7ee7f70a418ec742901d34 X-VCS-Branch: master Date: Thu, 01 May 2025 17:33: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: 501942c6-2d5a-40a3-872a-c4d015201b7e X-Archives-Hash: f18e234073661018799c8460b7590cb3 commit: 86ff71aa727b9ce3ce7ee7f70a418ec742901d34 Author: Hans de Graaff gentoo org> AuthorDate: Thu May 1 17:14:46 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu May 1 17:33:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ff71aa dev-ruby/rspec-support: add 3.13.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rspec-support/Manifest | 1 + dev-ruby/rspec-support/rspec-support-3.13.3.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest index 4e4ef0874931..d26a3a0cacbf 100644 --- a/dev-ruby/rspec-support/Manifest +++ b/dev-ruby/rspec-support/Manifest @@ -1,2 +1,3 @@ DIST rspec-support-3.13.1-git.tgz 79672 BLAKE2B 73a1b7c8508fd361ca06a647b3291e51eb5cd7f5ea3061b41b81daa724a8811a4891a8b0fadd440b163cf7cf8c43cb2e81e440da57613e82f791cb656913ecf5 SHA512 afbd76d937c5e2bfff8eccd69f4cd5081befc667fdef699743f809bf3f3bdda2404a24fb2408bce3373d7995406ca11a76c734d973957aeb6ada3d41fa59249c DIST rspec-support-3.13.2-git.tgz 914469 BLAKE2B 9bb0977420f8e034b47f7f8589e372483265e8a7b783bc2222243a1a500d7852ea948f44a8b19e0c3b1fa62379b8fdb1d68e7dd98ac439585cce91086cc0d5e9 SHA512 f4f46ecfc6d5b9dae9a210fd25b0ac96c9491e9b20aadae8d26997f45cc81b3dce6dbbffc727e406517869ae68cc46f73832f8f3793cb10055c342dc16f5848d +DIST rspec-support-3.13.3-git.tgz 917482 BLAKE2B e1cd8d63d0b6351889c5dfb5ad4b80dc01386897796fffe5151923d861d36a087765ba29f49fc183242e0fc5f5ee8eb2e7351cb2ca43f89a9cc6e9366dc7b2f1 SHA512 262385980a445441ce97aa957bff336633b5066600013b28b91b80349c901b687e823051918478be63571ce5dcc6b659996e4228896bda90aa6fe7287ee0f699 diff --git a/dev-ruby/rspec-support/rspec-support-3.13.3.ebuild b/dev-ruby/rspec-support/rspec-support-3.13.3.ebuild new file mode 100644 index 000000000000..4e94fb96be7f --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.13.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-support" +SRC_URI="https://github.com/rspec/rspec/archive/refs/tags/${PN}-v${PV}.tar.gz -> ${P}-git.tgz" +RUBY_S="rspec-${PN}-v${PV}/${PN}" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.9.0:3 >=dev-ruby/thread_order-1.1.0 )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove spec that, by following symlinks, tries to scan pretty much + # the whole filesystem. + rm spec/rspec/support/caller_filter_spec.rb || die + + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + + # Avoid a spec requiring a specific locale + sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die + + # Avoid specs failing when run in Gentoo, possibly due to different IO + sed -e '/outputs unified diff message of two arrays/askip "ruby31 IO"' \ + -e '/outputs unified diff message for hashes inside arrays with differing key orders/askip "ruby31 IO"' \ + -i spec/rspec/support/differ_spec.rb || die +} + +each_ruby_prepare() { + # Use the ruby version being tested + sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die +} + +each_ruby_test() { + RUBYLIB=lib ${RUBY} -S rspec spec || die +}