1 |
commit: ab4b3e3d9814ca59c403425d20b3915898db8daf |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 5 09:09:20 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 5 09:39:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4b3e3d |
7 |
|
8 |
dev-ruby/brotli: avoid dep on git |
9 |
|
10 |
Closes: https://bugs.gentoo.org/733520 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
13 |
|
14 |
dev-ruby/brotli/brotli-0.2.3.ebuild | 8 +++++++- |
15 |
1 file changed, 7 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-ruby/brotli/brotli-0.2.3.ebuild b/dev-ruby/brotli/brotli-0.2.3.ebuild |
18 |
index fab2f12fe16..3684034a1b8 100644 |
19 |
--- a/dev-ruby/brotli/brotli-0.2.3.ebuild |
20 |
+++ b/dev-ruby/brotli/brotli-0.2.3.ebuild |
21 |
@@ -2,7 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
26 |
+USE_RUBY="ruby25 ruby26 ruby27" |
27 |
|
28 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
29 |
|
30 |
@@ -29,6 +29,12 @@ DEPEND+=" >=app-arch/brotli-1.0.7" |
31 |
# Depends on the test data in app-arch/brotli |
32 |
RESTRICT="test" |
33 |
|
34 |
+all_ruby_prepare() { |
35 |
+ sed -e 's/git ls-files -z -- spec/find spec -print0/' \ |
36 |
+ -e 's/git ls-files -z/find . -print0/' \ |
37 |
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die |
38 |
+} |
39 |
+ |
40 |
each_ruby_configure() { |
41 |
${RUBY} -Cext/brotli extconf.rb || die |
42 |
} |