summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-05-26 09:49:12 +0200
committerHans de Graaff <graaff@gentoo.org>2024-05-26 09:49:12 +0200
commit4e8d8098aea8201008872ae17e5a92b577be5b58 (patch)
tree423c59b8852ad742939d2682b2f83b5299f41242 /dev-ruby/debug
parentdev-ruby/webrick: add back 1.7.0-r1 (diff)
downloadgentoo-4e8d8098aea8201008872ae17e5a92b577be5b58.tar.gz
gentoo-4e8d8098aea8201008872ae17e5a92b577be5b58.tar.bz2
gentoo-4e8d8098aea8201008872ae17e5a92b577be5b58.zip
dev-ruby/debug: avoid git in gemspec generation
Closes: https://bugs.gentoo.org/932765 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/debug')
-rw-r--r--dev-ruby/debug/debug-1.9.1.ebuild5
-rw-r--r--dev-ruby/debug/debug-1.9.2.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-ruby/debug/debug-1.9.1.ebuild b/dev-ruby/debug/debug-1.9.1.ebuild
index 2fab65c0e6c0..2e060d63076c 100644
--- a/dev-ruby/debug/debug-1.9.1.ebuild
+++ b/dev-ruby/debug/debug-1.9.1.ebuild
@@ -33,6 +33,9 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
- sed -i -e "s:require_relative ':require './:" -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -e "s:require_relative ':require './:" \
+ -e 's/__dir__/"."/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/I s:^:#:' Rakefile || die
}
diff --git a/dev-ruby/debug/debug-1.9.2.ebuild b/dev-ruby/debug/debug-1.9.2.ebuild
index 684a22aacf92..a78a3d956544 100644
--- a/dev-ruby/debug/debug-1.9.2.ebuild
+++ b/dev-ruby/debug/debug-1.9.2.ebuild
@@ -33,6 +33,9 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
- sed -i -e "s:require_relative ':require './:" -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
+ sed -e "s:require_relative ':require './:" \
+ -e 's/__dir__/"."/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/I s:^:#:' Rakefile || die
}