commit:     595b8ae8c58985e058e0be9acdda1c8849623b24
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 28 20:04:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 28 20:05:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595b8ae8

dev-ruby/roadie-rails: fix tests in 2.2.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild 
b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
index d939b3c7c11..fe6ad76611c 100644
--- a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
+++ b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild
@@ -19,9 +19,6 @@ SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="$(ver_cut 1)"
 KEYWORDS="~amd64"
-IUSE=""
-
-#RESTRICT="test"
 
 ruby_add_rdepend ">=dev-ruby/roadie-3.1
        || ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 
)"
@@ -38,6 +35,12 @@ all_ruby_prepare() {
 
        # Avoid already removed rails version
        sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die
+
+       # Revert 
https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc
 for now
+       # Fragile test which is affected by dependency versions (unclear which)
+       sed -e 
's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/'
 \
+               -i spec/integration_spec.rb || die
+
 }
 
 each_ruby_test() {

Reply via email to