Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/racc/
Date: Mon, 28 Dec 2020 09:22:04
Message-Id: 1609147314.8f7e51ac48ff0e96d8631207263d31e36a6c8c16.graaff@gentoo
1 commit: 8f7e51ac48ff0e96d8631207263d31e36a6c8c16
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 09:21:47 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 09:21:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e51ac
7
8 dev-ruby/racc: avoid dep on bundler
9
10 bundler is a PDEPEND of dev-lang/ruby, but so it racc, so just avoid
11 this dependency to make bootstrapping easier.
12
13 Closes: https://bugs.gentoo.org/762181
14 Package-Manager: Portage-3.0.9, Repoman-3.0.2
15 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
16
17 dev-ruby/racc/racc-1.5.2.ebuild | 3 +++
18 1 file changed, 3 insertions(+)
19
20 diff --git a/dev-ruby/racc/racc-1.5.2.ebuild b/dev-ruby/racc/racc-1.5.2.ebuild
21 index b7494318c8d..4460880e8ea 100644
22 --- a/dev-ruby/racc/racc-1.5.2.ebuild
23 +++ b/dev-ruby/racc/racc-1.5.2.ebuild
24 @@ -40,6 +40,9 @@ all_ruby_prepare() {
25 # Avoid isolation since dependencies are not properly declared.
26 sed -i -e 's/, :isolate//' Rakefile || die
27
28 + # Avoid bundler dependency to make bootstrapping easier
29 + sed -i -e '/bundler/ s:^:#:' Rakefile || die
30 +
31 sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
32 }