diff options
author | 2023-03-25 12:01:25 +0000 | |
---|---|---|
committer | 2023-03-26 04:02:49 +0100 | |
commit | 1ee2bf13a9992b2272ad11086f59397bbc2e55f4 (patch) | |
tree | c7971cd1992d0f52e9f190e076739ca99d791634 /dev-ruby/shoulda-matchers | |
parent | dev-ruby/ruby-progressbar: enable ruby32 (diff) | |
download | gentoo-1ee2bf13a9992b2272ad11086f59397bbc2e55f4.tar.gz gentoo-1ee2bf13a9992b2272ad11086f59397bbc2e55f4.tar.bz2 gentoo-1ee2bf13a9992b2272ad11086f59397bbc2e55f4.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/shoulda-matchers')
-rw-r--r-- | dev-ruby/shoulda-matchers/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
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 +} |