summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-10 08:55:41 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-10 08:55:41 +0100
commit724aa896834444005fead3e87262cd9c20dcd24f (patch)
tree6f8294db28c623ee366066d41752abfc129d6fbc /dev-ruby/em-websocket
parentdev-ruby/facter: cleanup (diff)
downloadgentoo-724aa896834444005fead3e87262cd9c20dcd24f.tar.gz
gentoo-724aa896834444005fead3e87262cd9c20dcd24f.tar.bz2
gentoo-724aa896834444005fead3e87262cd9c20dcd24f.zip
dev-ruby/em-websocket: avoid dependency on git
Fixes: https://bugs.gentoo.org/672418 Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/em-websocket')
-rw-r--r--dev-ruby/em-websocket/em-websocket-0.5.1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
index 42534c143040..2bfcb9ecaf1a 100644
--- a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
+++ b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
@@ -30,6 +30,9 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
+ # Avoid dependency on git
+ sed -i -e '/ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
# Only run unit tests since we require unpackaged code for the
# integration tests.
sed -i -e "/^require 'em-\(spec\|http\|websocket-client\)/ s:^:#:" \