1 |
commit: 47323424c44cc7f75a2363ffcd9d9c59e5da54f1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 9 10:55:33 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 10 07:25:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47323424 |
7 |
|
8 |
dev-ruby/puppet_forge: fix gemspec to match deps in ebuild |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild | 8 ++++++++ |
14 |
1 file changed, 8 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild |
17 |
index 7223fbcbc0f..e343cdbdd5d 100644 |
18 |
--- a/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild |
19 |
+++ b/dev-ruby/puppet_forge/puppet_forge-2.2.9.ebuild |
20 |
@@ -9,6 +9,8 @@ RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
21 |
|
22 |
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" |
23 |
|
24 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
25 |
+ |
26 |
inherit ruby-fakegem |
27 |
|
28 |
DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" |
29 |
@@ -30,4 +32,10 @@ ruby_add_rdepend " |
30 |
all_ruby_prepare() { |
31 |
# Avoid integration and user specs since they all require network access |
32 |
rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die |
33 |
+ |
34 |
+ # Fix overly restrictive dependencies |
35 |
+ sed -i \ |
36 |
+ -e '/faraday/ s/0.14.0/0.99.0/' \ |
37 |
+ -e '/faraday_middleware/ s/0.13.0/0.99.0/' \ |
38 |
+ ${RUBY_FAKEGEM_GEMSPEC} || die |
39 |
} |