1 |
commit: 4d7f55d4527061e718deab10d603f05effd6ad18 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 12 04:52:11 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 12 04:52:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7f55d4 |
7 |
|
8 |
dev-ruby/safe_yaml: add ruby23 revision |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ruby/safe_yaml/safe_yaml-1.0.4-r3.ebuild | 33 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 33 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/safe_yaml/safe_yaml-1.0.4-r3.ebuild b/dev-ruby/safe_yaml/safe_yaml-1.0.4-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..590b03b |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/safe_yaml/safe_yaml-1.0.4-r3.ebuild |
20 |
@@ -0,0 +1,33 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
28 |
+ |
29 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
30 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
31 |
+RUBY_FAKEGEM_RECIPE_TEST="none" |
32 |
+ |
33 |
+inherit ruby-fakegem |
34 |
+ |
35 |
+DESCRIPTION="Parse YAML safely, alternative implementation of YAML.load" |
36 |
+HOMEPAGE="https://dtao.github.com/safe_yaml" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
+IUSE="test" |
42 |
+ |
43 |
+ruby_add_bdepend "test? ( dev-ruby/hashie |
44 |
+ dev-ruby/heredoc_unindent |
45 |
+ dev-ruby/rspec:3 )" |
46 |
+ |
47 |
+each_ruby_test() { |
48 |
+ # Run specs with monkeypatch |
49 |
+ ${RUBY} -S rspec-3 --tag ~libraries || die |
50 |
+ |
51 |
+ # Running specs without monkeypatch |
52 |
+ ${RUBY} -S rspec-3 --tag libraries || die |
53 |
+} |