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 5C5C915864F for ; Sun, 26 Mar 2023 03:03:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50F36E086D; Sun, 26 Mar 2023 03:03:21 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34CABE086D for ; Sun, 26 Mar 2023 03:03:21 +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 551203411E0 for ; Sun, 26 Mar 2023 03:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3AD0957 for ; Sun, 26 Mar 2023 03:03:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679799769.1ee2bf13a9992b2272ad11086f59397bbc2e55f4.sam@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-5.3.0.ebuild X-VCS-Directories: dev-ruby/shoulda-matchers/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ee2bf13a9992b2272ad11086f59397bbc2e55f4 X-VCS-Branch: master Date: Sun, 26 Mar 2023 03:03:17 +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: ac745f7c-ff68-4f21-b0bd-60e3c06c06a0 X-Archives-Hash: b04c6bbadc1a826d5104cde33c15cc8d commit: 1ee2bf13a9992b2272ad11086f59397bbc2e55f4 Author: Sam James gentoo org> AuthorDate: Sat Mar 25 12:01:25 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 26 03:02:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee2bf13 dev-ruby/shoulda-matchers: add 5.3.0 I spent several hours today trying to get tests running for this, buried deep in layers-upon-layers of test dependencies, only to find that its test suite is so dependent on being able to execute bundler that none of it is really usable within Portage anyway. In CI, they actively test with newer rubies and tests pass, and reverse dependencies in Gentoo work with them enabled, so that's good enough in this case, having tried and failed to get the tests running myself. (I still have the branch if anyone wants to carry on with it, but it involved packaging several NIH test deps.) Signed-off-by: Sam James gentoo.org> dev-ruby/shoulda-matchers/Manifest | 1 + .../shoulda-matchers/shoulda-matchers-5.3.0.ebuild | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-ruby/shoulda-matchers/Manifest b/dev-ruby/shoulda-matchers/Manifest index ca62b2c47986..03ba78db9ac4 100644 --- a/dev-ruby/shoulda-matchers/Manifest +++ b/dev-ruby/shoulda-matchers/Manifest @@ -2,3 +2,4 @@ DIST shoulda-matchers-3.1.3.gem 208384 BLAKE2B 0ce7cb91ec8a311ecd4872ca45b178686 DIST shoulda-matchers-4.5.1.tar.gz 243634 BLAKE2B 32d846d0dc3c8725a9bd0d60e858eb9fe4106a20222503ac908d1a9c9c310d8e1477aa6264f06961812151b9bd1a1a33488707d9c96524cd3431ed7b3246e534 SHA512 8c240fe7699094a63db824145ca28c245526e95d489fac82e1a28a2418ae40524ba0a184a7f9b269b7c31ad7ae2cbc24b453547cab0845639fdea442bada483a DIST shoulda-matchers-5.0.0.tar.gz 241021 BLAKE2B 68d70f0ac503deaf05a769b39ad905ee87108b2e2a3f5d76d23b2772c0374e83e3c5cb0b0024a771e7c04958da0b890f3b564287230fffa0d207d501bb8d4c0d SHA512 c81c514071c297a2372b05caa987fc39cf03af25ba0d7ba4ef1f23deebbad81013d80ac5b360a00f5fc0a155e75f3ff65b782c56a5682348f683ea11814ba710 DIST shoulda-matchers-5.1.0.tar.gz 241567 BLAKE2B 5e778175ca80619b5e3da04fc235a6c68ef150e4abbe34520502fda5a86f44530dec3b0d4d448f87c30c54e062085a00bf6cfe3dee83c82825e238050480e10c SHA512 2abb23126aabc83d1787838468c1959442a32ecdafb244a6f20a08e382990a716ccf2219abee6f8121ff0a3f720e86a6775dee5ae351299416e51df12ad21b32 +DIST shoulda-matchers-5.3.0.tar.gz 244767 BLAKE2B 4a1a006702bb352acb338c71e0c3152bfce288c51d676c194ce3135d41057d119c02053c26e5e9079dee49514f3396f6f0155fd310063713a975d747221d8e34 SHA512 5794f1eafdb852732e35433b7ba06975a65ec25363b8c7dedf154644fbf65ecb8b929da538f1a49ad4e767b286f7e8910cd06fa6f41f5ccc6f0e8a62f498c56e diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild new file mode 100644 index 000000000000..428331095b72 --- /dev/null +++ b/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" +RUBY_FAKEGEM_RECIPE_TEST="none" +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 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_rdepend ">=dev-ruby/activesupport-5.2.0:*" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die +}