diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-08-12 06:54:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-08-12 06:54:45 +0200 |
commit | c58d39e8978631ee411bf31d29bfde6a1a79156a (patch) | |
tree | e93af5c2f4d6ee6e5dedc5425be2cf5ae14af570 /dev-ruby | |
parent | dev-ruby/public_suffix: amd64 stable (diff) | |
download | gentoo-c58d39e8978631ee411bf31d29bfde6a1a79156a.tar.gz gentoo-c58d39e8978631ee411bf31d29bfde6a1a79156a.tar.bz2 gentoo-c58d39e8978631ee411bf31d29bfde6a1a79156a.zip |
dev-ruby/power_assert: avoid dependency on git
Fixes: https://bugs.gentoo.org/691944
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/power_assert/power_assert-1.1.5.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/power_assert/power_assert-1.1.5.ebuild b/dev-ruby/power_assert/power_assert-1.1.5.ebuild index 57a23fe5da51..c79d9077379e 100644 --- a/dev-ruby/power_assert/power_assert-1.1.5.ebuild +++ b/dev-ruby/power_assert/power_assert-1.1.5.ebuild @@ -29,6 +29,9 @@ all_ruby_prepare() { sed -i -e '1igem "test-unit"' \ -e '/byebug/ s:^:#:' test/test_helper.rb || die + # Avoid git dependency + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + # Avoid circular dependency on byebug when bootstrapping ruby sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die rm test/test_core_ext_helper.rb test/trace_test.rb || die |