From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/shoulda-matchers/
Date: Thu, 13 Apr 2023 03:03:44 +0000 (UTC) [thread overview]
Message-ID: <1681354858.caf20c30b2042967b3a9769346a39cac0c4b7228.sam@gentoo> (raw)
commit: caf20c30b2042967b3a9769346a39cac0c4b7228
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 09:59:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 03:00:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf20c30
dev-ruby/shoulda-matchers: enable ruby32, partly wire up tests
I didn't succeed in getting the test suite properly running
but it's a bit of progress.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../shoulda-matchers/shoulda-matchers-5.3.0.ebuild | 26 ++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild b/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild
index f4717a8de584..0e847b4ec193 100644
--- a/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild
+++ b/dev-ruby/shoulda-matchers/shoulda-matchers-5.3.0.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
-RUBY_FAKEGEM_RECIPE_TEST="none"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINWRAP=""
@@ -19,8 +19,30 @@ 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
}
next reply other threads:[~2023-04-13 3:03 UTC|newest]
Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 3:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-22 8:48 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/shoulda-matchers/ Hans de Graaff
2024-11-17 9:09 Hans de Graaff
2024-11-17 7:44 Hans de Graaff
2024-11-17 7:44 Hans de Graaff
2024-10-15 5:22 Sam James
2024-10-09 7:15 Arthur Zamarin
2024-10-06 18:39 Arthur Zamarin
2024-10-06 13:30 Arthur Zamarin
2024-10-06 11:14 Sam James
2024-09-23 10:55 Sam James
2024-05-28 4:54 Hans de Graaff
2024-03-04 18:33 Rick Farina
2024-02-10 7:15 Hans de Graaff
2024-01-12 8:32 Hans de Graaff
2024-01-12 8:32 Hans de Graaff
2024-01-12 8:32 Hans de Graaff
2024-01-07 7:49 Hans de Graaff
2023-08-29 14:26 Hans de Graaff
2023-06-16 6:33 Hans de Graaff
2023-06-16 6:20 Hans de Graaff
2023-06-01 7:50 Arthur Zamarin
2023-06-01 6:24 Sam James
2023-06-01 6:22 Sam James
2023-06-01 5:26 Sam James
2023-04-23 22:59 Sam James
2023-04-23 22:21 Sam James
2023-04-23 21:40 Sam James
2023-04-23 21:33 Sam James
2023-04-23 21:33 Sam James
2023-04-13 3:03 Sam James
2023-04-12 2:33 Sam James
2023-04-08 7:25 Hans de Graaff
2023-04-03 0:57 Sam James
2023-03-26 10:42 Hans de Graaff
2023-03-26 3:03 Sam James
2023-01-23 7:17 Hans de Graaff
2022-12-04 7:21 Hans de Graaff
2022-10-21 9:11 Hans de Graaff
2022-06-22 4:35 Hans de Graaff
2022-05-08 15:00 WANG Xuerui
2022-04-26 14:38 Sam James
2022-04-18 17:15 Hans de Graaff
2022-04-18 17:15 Hans de Graaff
2022-04-18 17:15 Hans de Graaff
2022-03-21 7:38 Hans de Graaff
2022-03-21 7:38 Hans de Graaff
2022-03-18 6:50 Jakov Smolić
2021-10-24 5:39 Hans de Graaff
2021-07-03 7:22 Hans de Graaff
2021-07-03 7:22 Hans de Graaff
2021-06-22 5:21 Hans de Graaff
2020-12-20 19:14 Sam James
2020-12-20 19:14 Sam James
2020-12-20 19:03 Sam James
2020-12-20 19:03 Sam James
2020-09-08 5:48 Hans de Graaff
2020-07-14 16:38 Sergei Trofimovich
2020-07-14 16:38 Sergei Trofimovich
2020-05-13 5:05 Hans de Graaff
2020-05-03 17:32 Hans de Graaff
2020-05-03 17:32 Hans de Graaff
2020-05-03 6:55 Hans de Graaff
2020-05-03 6:55 Hans de Graaff
2020-04-27 7:58 Hans de Graaff
2020-04-13 13:09 Hans de Graaff
2020-02-20 6:56 Hans de Graaff
2020-02-20 6:56 Hans de Graaff
2020-01-10 14:02 Hans de Graaff
2019-08-01 16:51 Hans de Graaff
2019-07-16 6:56 Hans de Graaff
2019-06-11 5:40 Hans de Graaff
2019-04-22 5:40 Hans de Graaff
2019-04-20 6:37 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2019-03-29 9:17 Hans de Graaff
2019-01-30 5:10 Hans de Graaff
2018-07-14 5:21 Hans de Graaff
2018-07-09 19:07 Sergei Trofimovich
2018-05-21 18:15 Hans de Graaff
2018-01-30 5:19 Hans de Graaff
2017-09-16 7:29 Hans de Graaff
2017-07-15 5:33 Hans de Graaff
2017-07-15 5:33 Hans de Graaff
2017-02-14 16:29 Michael Weber
2017-02-14 10:23 Michael Weber
2016-12-29 13:06 Hans de Graaff
2016-10-31 1:36 Manuel Rüger
2016-04-19 21:59 Manuel Rüger
2016-04-19 21:48 Manuel Rüger
2016-02-11 1:06 Manuel Rüger
2016-02-11 1:06 Manuel Rüger
2016-01-12 6:16 Hans de Graaff
2015-11-08 7:05 Hans de Graaff
2015-11-08 7:05 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1681354858.caf20c30b2042967b3a9769346a39cac0c4b7228.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox