Gentoo Archives: gentoo-commits

From: Peter Wilmott <p@×××××.info>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/little-plugger/, dev-ruby/little-plugger/files/
Date: Tue, 06 May 2014 20:28:11
Message-Id: 1399408004.dc4974b6bc3e898b303e87f9f9023e07f360c9b0.p8952@gentoo
1 commit: dc4974b6bc3e898b303e87f9f9023e07f360c9b0
2 Author: Peter Wilmott <p <AT> p8952 <DOT> info>
3 AuthorDate: Tue May 6 20:26:44 2014 +0000
4 Commit: Peter Wilmott <p <AT> p8952 <DOT> info>
5 CommitDate: Tue May 6 20:26:44 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=dc4974b6
7
8 dev-ruby/little-plugger: Drop ruby18 target, add ruby21 target.
9
10 Package-Manager: portage-2.2.8-r1
11
12 ---
13 dev-ruby/little-plugger/ChangeLog | 72 ++++++++++++++++++++++
14 .../files/little-plugger-1.1.3-ruby20-spec.patch | 11 ++++
15 .../little-plugger/little-plugger-1.1.3-r2.ebuild | 30 +++++++++
16 dev-ruby/little-plugger/metadata.xml | 5 ++
17 4 files changed, 118 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..7b0e9b1
22 --- /dev/null
23 +++ b/dev-ruby/little-plugger/ChangeLog
24 @@ -0,0 +1,72 @@
25 +# ChangeLog for dev-ruby/little-plugger
26 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/ChangeLog,v 1.12 2014/01/14 19:35:38 mrueg Exp $
28 +
29 +*little-plugger-1.1.3-r2 (06 May 2014)
30 +
31 + 06 May 2014; Peter Wilmott <p8952@g.o>
32 + +files/little-plugger-1.1.3-ruby20-spec.patch,
33 + +little-plugger-1.1.3-r2.ebuild, +metadata.xml:
34 + dev-ruby/little-plugger: Drop ruby18 target, add ruby21 target.
35 +
36 + 14 Jan 2014; Manuel Rüger <mrueg@g.o>
37 + -files/little-plugger-1.1.2-rubylib.patch, -little-plugger-1.1.3.ebuild:
38 + Cleanup old.
39 +
40 +*little-plugger-1.1.3-r1 (14 Dec 2013)
41 +
42 + 14 Dec 2013; Hans de Graaff <graaff@g.o>
43 + +little-plugger-1.1.3-r1.ebuild,
44 + +files/little-plugger-1.1.3-ruby20-spec.patch:
45 + EAPI=5. Add ruby20. Drop circular dependency on bones. Ebuild by Peter
46 + Wilmott in the ruby overlay.
47 +
48 + 25 Aug 2012; Hans de Graaff <graaff@g.o>
49 + -little-plugger-1.1.2-r1.ebuild:
50 + Cleanup.
51 +
52 + 14 Aug 2012; Diego E. Pettenò <flameeyes@g.o>
53 + little-plugger-1.1.3.ebuild:
54 + Port to rspec helper for testing. Bump to EAPI 4. Breaks cyclic dependency
55 + with USE=test on bones.
56 +
57 + 02 Feb 2012; Thomas Kahle <tomka@g.o> little-plugger-1.1.3.ebuild:
58 + ~x86 per bug 325471
59 +
60 +*little-plugger-1.1.3 (18 Dec 2011)
61 +
62 + 18 Dec 2011; Hans de Graaff <graaff@g.o> +little-plugger-1.1.3.ebuild:
63 + Version bump.
64 +
65 + 02 Jun 2011; Hans de Graaff <graaff@g.o>
66 + little-plugger-1.1.2-r1.ebuild:
67 + Add ree18.
68 +
69 + 11 Feb 2011; Hans de Graaff <graaff@g.o>
70 + little-plugger-1.1.2-r1.ebuild:
71 + Drop bones-extras dependency because this is now a no-op. Fix tests
72 + accordingly.
73 +
74 + 22 May 2010; Diego E. Pettenò <flameeyes@g.o>
75 + -little-plugger-1.1.1.ebuild, -little-plugger-1.1.2.ebuild,
76 + little-plugger-1.1.2-r1.ebuild:
77 + Cleanup old versions, use new syntax.
78 +
79 +*little-plugger-1.1.2-r1 (19 Apr 2010)
80 +
81 + 19 Apr 2010; Diego E. Pettenò <flameeyes@g.o>
82 + +little-plugger-1.1.2-r1.ebuild,
83 + +files/little-plugger-1.1.2-rubylib.patch:
84 + Add patch to properly load plugins on Ruby 1.9.
85 +
86 +*little-plugger-1.1.2 (02 Feb 2010)
87 +
88 + 02 Feb 2010; Diego E. Pettenò <flameeyes@g.o>
89 + +little-plugger-1.1.2.ebuild:
90 + Version bump.
91 +
92 +*little-plugger-1.1.1 (31 Jan 2010)
93 +
94 + 31 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
95 + +little-plugger-1.1.1.ebuild, +metadata.xml:
96 + Initial import of bones and related dependencies.
97
98 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
99 new file mode 100644
100 index 0000000..71b9611
101 --- /dev/null
102 +++ b/dev-ruby/little-plugger/files/little-plugger-1.1.3-ruby20-spec.patch
103 @@ -0,0 +1,11 @@
104 +--- a/spec/little-plugger_spec.rb 2013-12-03 19:30:13.104060898 +0000
105 ++++ b/spec/little-plugger_spec.rb 2013-12-03 19:31:18.716236041 +0000
106 +@@ -18,7 +18,7 @@
107 + it "generates a default plugin module" do
108 + LittlePlugger.default_plugin_module('little_plugger').should be == LittlePlugger
109 + lambda {LittlePlugger.default_plugin_module('little_plugger/plugins')}.
110 +- should raise_error(NameError, 'uninitialized constant LittlePlugger::Plugins')
111 ++ should raise_error(NameError, /uninitialized constant (LittlePlugger::)?Plugins/)
112 + LittlePlugger.default_plugin_module('process/status').should be == Process::Status
113 + end
114 + end
115
116 diff --git a/dev-ruby/little-plugger/little-plugger-1.1.3-r2.ebuild b/dev-ruby/little-plugger/little-plugger-1.1.3-r2.ebuild
117 new file mode 100644
118 index 0000000..fab3554
119 --- /dev/null
120 +++ b/dev-ruby/little-plugger/little-plugger-1.1.3-r2.ebuild
121 @@ -0,0 +1,30 @@
122 +# Copyright 1999-2014 Gentoo Foundation
123 +# Distributed under the terms of the GNU General Public License v2
124 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/little-plugger-1.1.3-r1.ebuild,v 1.1 2013/12/14 13:51:01 graaff Exp $
125 +
126 +EAPI=5
127 +
128 +USE_RUBY="ruby19 ruby20 ruby21 jruby"
129 +
130 +RUBY_FAKEGEM_RECIPE_TEST="rspec"
131 +
132 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
133 +
134 +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
135 +
136 +inherit ruby-fakegem eutils
137 +
138 +DESCRIPTION="Module that provides Gem based plugin management"
139 +HOMEPAGE="http://github.com/TwP/${PN}"
140 +
141 +IUSE="test"
142 +LICENSE="MIT"
143 +SLOT="0"
144 +KEYWORDS="~amd64 ~x86"
145 +
146 +all_ruby_prepare() {
147 + # Remove default metadata because it confused jruby.
148 + rm ../metadata || die
149 +
150 + epatch "${FILESDIR}"/${P}-ruby20-spec.patch
151 +}
152
153 diff --git a/dev-ruby/little-plugger/metadata.xml b/dev-ruby/little-plugger/metadata.xml
154 new file mode 100644
155 index 0000000..8521361
156 --- /dev/null
157 +++ b/dev-ruby/little-plugger/metadata.xml
158 @@ -0,0 +1,5 @@
159 +<?xml version="1.0" encoding="UTF-8"?>
160 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
161 +<pkgmetadata>
162 +<herd>ruby</herd>
163 +</pkgmetadata>