1 |
commit: 5a66debc7fa99c6d48ddbe737123b479ee3025ec |
2 |
Author: Peter Wilmott <p <AT> p8952 <DOT> info> |
3 |
AuthorDate: Wed Dec 4 20:27:03 2013 +0000 |
4 |
Commit: Peter Wilmott <p <AT> p8952 <DOT> info> |
5 |
CommitDate: Wed Dec 4 20:27:03 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=5a66debc |
7 |
|
8 |
dev-ruby/little-plugger: EAPI bump, add ruby20 target, remove ree18 target, use rdoc recipe |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
dev-ruby/little-plugger/ChangeLog | 11 ++++++++ |
14 |
.../files/little-plugger-1.1.3-ruby20-spec.patch | 11 ++++++++ |
15 |
.../little-plugger/little-plugger-1.1.3.ebuild | 32 ++++++++++++++++++++++ |
16 |
dev-ruby/little-plugger/metadata.xml | 5 ++++ |
17 |
4 files changed, 59 insertions(+) |
18 |
|
19 |
diff --git a/dev-ruby/little-plugger/ChangeLog b/dev-ruby/little-plugger/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..40fbcec |
22 |
--- /dev/null |
23 |
+++ b/dev-ruby/little-plugger/ChangeLog |
24 |
@@ -0,0 +1,11 @@ |
25 |
+# ChangeLog for dev-ruby/little-plugger |
26 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*little-plugger-1.1.3 (04 Dec 2013) |
30 |
+ |
31 |
+ 04 Dec 2013; Peter Wilmott <p@×××××.info> |
32 |
+ +files/little-plugger-1.1.3-ruby20-spec.patch, +little-plugger-1.1.3.ebuild, |
33 |
+ +metadata.xml: |
34 |
+ dev-ruby/little-plugger: EAPI bump, add ruby20 target, remove ree18 target, |
35 |
+ use rdoc recipe |
36 |
|
37 |
diff --git a/dev-ruby/little-plugger/files/little-plugger-1.1.3-ruby20-spec.patch b/dev-ruby/little-plugger/files/little-plugger-1.1.3-ruby20-spec.patch |
38 |
new file mode 100644 |
39 |
index 0000000..71b9611 |
40 |
--- /dev/null |
41 |
+++ b/dev-ruby/little-plugger/files/little-plugger-1.1.3-ruby20-spec.patch |
42 |
@@ -0,0 +1,11 @@ |
43 |
+--- a/spec/little-plugger_spec.rb 2013-12-03 19:30:13.104060898 +0000 |
44 |
++++ b/spec/little-plugger_spec.rb 2013-12-03 19:31:18.716236041 +0000 |
45 |
+@@ -18,7 +18,7 @@ |
46 |
+ it "generates a default plugin module" do |
47 |
+ LittlePlugger.default_plugin_module('little_plugger').should be == LittlePlugger |
48 |
+ lambda {LittlePlugger.default_plugin_module('little_plugger/plugins')}. |
49 |
+- should raise_error(NameError, 'uninitialized constant LittlePlugger::Plugins') |
50 |
++ should raise_error(NameError, /uninitialized constant (LittlePlugger::)?Plugins/) |
51 |
+ LittlePlugger.default_plugin_module('process/status').should be == Process::Status |
52 |
+ end |
53 |
+ end |
54 |
|
55 |
diff --git a/dev-ruby/little-plugger/little-plugger-1.1.3.ebuild b/dev-ruby/little-plugger/little-plugger-1.1.3.ebuild |
56 |
new file mode 100644 |
57 |
index 0000000..f40cb01 |
58 |
--- /dev/null |
59 |
+++ b/dev-ruby/little-plugger/little-plugger-1.1.3.ebuild |
60 |
@@ -0,0 +1,32 @@ |
61 |
+# Copyright 1999-2013 Gentoo Foundation |
62 |
+# Distributed under the terms of the GNU General Public License v2 |
63 |
+# $Header: $ |
64 |
+ |
65 |
+EAPI=5 |
66 |
+ |
67 |
+USE_RUBY="ruby18 ruby19 ruby20 jruby" |
68 |
+ |
69 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
70 |
+ |
71 |
+RUBY_FAKEGEM_TASK_DOC="rdoc" |
72 |
+ |
73 |
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
74 |
+ |
75 |
+inherit ruby-fakegem eutils |
76 |
+ |
77 |
+DESCRIPTION="Module that provides Gem based plugin management" |
78 |
+HOMEPAGE="http://github.com/TwP/${PN}" |
79 |
+ |
80 |
+IUSE="test" |
81 |
+LICENSE="MIT" |
82 |
+SLOT="0" |
83 |
+KEYWORDS="~amd64 ~x86" |
84 |
+ |
85 |
+ruby_add_bdepend "doc? ( dev-ruby/bones )" |
86 |
+ |
87 |
+all_ruby_prepare() { |
88 |
+ # Remove default metadata because it confused jruby. |
89 |
+ rm ../metadata || die |
90 |
+ |
91 |
+ epatch "${FILESDIR}"/${P}-ruby20-spec.patch |
92 |
+} |
93 |
|
94 |
diff --git a/dev-ruby/little-plugger/metadata.xml b/dev-ruby/little-plugger/metadata.xml |
95 |
new file mode 100644 |
96 |
index 0000000..8521361 |
97 |
--- /dev/null |
98 |
+++ b/dev-ruby/little-plugger/metadata.xml |
99 |
@@ -0,0 +1,5 @@ |
100 |
+<?xml version="1.0" encoding="UTF-8"?> |
101 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
102 |
+<pkgmetadata> |
103 |
+<herd>ruby</herd> |
104 |
+</pkgmetadata> |