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 405311581D3 for ; Tue, 28 May 2024 04:54:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84BE4E2A49; Tue, 28 May 2024 04:54:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 685B5E2A49 for ; Tue, 28 May 2024 04:54:32 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D60D33C4EE for ; Tue, 28 May 2024 04:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 072701BDE for ; Tue, 28 May 2024 04:54:30 +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: <1716872050.78e0ec6d388be67c97293ba1ad82d7b141f58688.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/shoulda-matchers/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/shoulda-matchers/Manifest dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild X-VCS-Directories: dev-ruby/shoulda-matchers/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 78e0ec6d388be67c97293ba1ad82d7b141f58688 X-VCS-Branch: master Date: Tue, 28 May 2024 04:54:30 +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: c86e0479-c278-4f07-940e-e08780d8e3b9 X-Archives-Hash: eaa44c841e2c97b3d714cfefe864cbc1 commit: 78e0ec6d388be67c97293ba1ad82d7b141f58688 Author: Hans de Graaff gentoo org> AuthorDate: Tue May 28 04:45:30 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue May 28 04:54:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e0ec6d dev-ruby/shoulda-matchers: add 6.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/shoulda-matchers/Manifest | 1 + .../shoulda-matchers/shoulda-matchers-6.2.0.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/shoulda-matchers/Manifest b/dev-ruby/shoulda-matchers/Manifest index 951ec2dd21fe..5fab9290b643 100644 --- a/dev-ruby/shoulda-matchers/Manifest +++ b/dev-ruby/shoulda-matchers/Manifest @@ -3,3 +3,4 @@ DIST shoulda-matchers-4.5.1.tar.gz 243634 BLAKE2B 32d846d0dc3c8725a9bd0d60e858eb DIST shoulda-matchers-5.3.0.tar.gz 244767 BLAKE2B 4a1a006702bb352acb338c71e0c3152bfce288c51d676c194ce3135d41057d119c02053c26e5e9079dee49514f3396f6f0155fd310063713a975d747221d8e34 SHA512 5794f1eafdb852732e35433b7ba06975a65ec25363b8c7dedf154644fbf65ecb8b929da538f1a49ad4e767b286f7e8910cd06fa6f41f5ccc6f0e8a62f498c56e DIST shoulda-matchers-6.0.0.tar.gz 256754 BLAKE2B cf231b2f331d3b2f89a4db5e3146241c1274191b2a175bb98643b6bff2732ed0373214a9bcfca8201b3374038a385ea39725528af9479d9a0e5d3feb27cec07e SHA512 c3136f5b214416f5c8a47ddfeb7467255cdacd474480294ff0a19f6eded35f4db9431560fb6716a1a1dc23605f8ec4ede398682964b11a8c5181fab2665799c0 DIST shoulda-matchers-6.1.0.tar.gz 259348 BLAKE2B 50319c30eebea9c86642cc9942e0e8c4a21bf5359fab48fd88ec03c9df535f5bf6b65a44cfc2ab0a7bf79e3f99788ce19a76f043c8a9a8514b8f27f406d05db0 SHA512 c990f3fbbb0b505583e3a2bf0c0e09ee38fa914617e3a1952e638964df94e5ec452d6610a1437ecfae931f313dbb8df629bf516ed8bfa90d67e9fcbc6cfd0d0b +DIST shoulda-matchers-6.2.0.tar.gz 264725 BLAKE2B 9b739fbcf93f5e254a1f7ba62bcc11ad5e06110d4aa25e88823c2d65c0fe59af28dcffcb9e576b65d93738250fcd1851341d3e64145f1720a5dfe398befa4a63 SHA512 a0fdfde18a0c5ab2b8f7276ddc714646aff3c0ee69a8b1ff33a6a1d64af2c21c51e40b9a11c77bd1b4f9fca66f3a818aac3c036795da0f271eaea14c26fd3331 diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild new file mode 100644 index 000000000000..2e226c418752 --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-6.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Making tests easy on the fingers and eyes" +HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers" +SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Fedora manage to run the tests, but it's still pretty tricky. +# https://src.fedoraproject.org/rpms/rubygem-shoulda-matchers/blob/rawhide/f/rubygem-shoulda-matchers.spec +RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + + #rm Gemfile.lock || die + + # Avoid Appraisal and Bundler. + #sed -i "/current_bundle/ s/^/#/" \ + # spec/acceptance_spec_helper.rb \ + # spec/support/unit/load_environment.rb || die + #sed -i "/CurrentBundle/ s/^/#/" \ + # spec/acceptance_spec_helper.rb \ + # spec/support/unit/load_environment.rb || die + + # Avoid git and sprockets dependencies. + #sed -i '/def rails_new_command/,/^ end$/ { + # /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/ + #}' spec/support/unit/rails_application.rb || die + #sed -i '/def rails_new_command/,/^ end$/ { + # /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/ + #}' spec/support/acceptance/helpers/step_helpers.rb || die +}