1 |
commit: 6ae71597544d7e7b835d955aa2a37a4e5e7de7e0 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 10 07:04:25 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 10 07:25:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae71597 |
7 |
|
8 |
dev-ruby/puppet_forge: fix minitar dep and install locales |
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-r1.ebuild | 43 ++++++++++++++++++++++ |
14 |
1 file changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild b/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..39d04f7b32e |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/puppet_forge/puppet_forge-2.2.9-r1.ebuild |
21 |
@@ -0,0 +1,43 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+USE_RUBY="ruby23 ruby24 ruby25" |
27 |
+ |
28 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
29 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
30 |
+ |
31 |
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" |
32 |
+ |
33 |
+RUBY_FAKEGEM_EXTRAINSTALL=locales |
34 |
+ |
35 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
36 |
+ |
37 |
+inherit ruby-fakegem |
38 |
+ |
39 |
+DESCRIPTION="Tools to access Forge API information on Modules, Users, and Releases" |
40 |
+HOMEPAGE="https://github.com/puppetlabs/forge-ruby" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="2" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="" |
46 |
+ |
47 |
+ruby_add_rdepend " |
48 |
+ >=dev-ruby/faraday-0.9.0:0 |
49 |
+ >=dev-ruby/faraday_middleware-0.9.0:0 |
50 |
+ >=dev-ruby/gettext-setup-0.11:0 |
51 |
+ dev-ruby/minitar |
52 |
+ =dev-ruby/semantic_puppet-1* |
53 |
+" |
54 |
+ |
55 |
+all_ruby_prepare() { |
56 |
+ # Avoid integration and user specs since they all require network access |
57 |
+ rm -rf spec/integration spec/unit/forge/v3/user_spec.rb || die |
58 |
+ |
59 |
+ # Fix overly restrictive dependencies |
60 |
+ sed -i \ |
61 |
+ -e '/faraday/ s/0.14.0/0.99.0/' \ |
62 |
+ -e '/faraday_middleware/ s/0.13.0/0.99.0/' \ |
63 |
+ ${RUBY_FAKEGEM_GEMSPEC} || die |
64 |
+} |