1 |
commit: a5b476cd26582b9220392fa313714c3feb43c0bb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 10:11:28 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 10:49:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b476cd |
7 |
|
8 |
dev-ruby/multi_xml: EAPI 8; add ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/multi_xml/multi_xml-0.6.0-r2.ebuild | 42 ++++++++++++++++++++++++++++ |
14 |
1 file changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/multi_xml/multi_xml-0.6.0-r2.ebuild b/dev-ruby/multi_xml/multi_xml-0.6.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..4fe8cc4c300 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/multi_xml/multi_xml-0.6.0-r2.ebuild |
21 |
@@ -0,0 +1,42 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+USE_RUBY="ruby26 ruby27 ruby30" |
28 |
+ |
29 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
30 |
+RUBY_FAKEGEM_TASK_DOC="yard" |
31 |
+ |
32 |
+RUBY_FAKEGEM_DOCDIR="doc" |
33 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
34 |
+ |
35 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
36 |
+ |
37 |
+inherit ruby-fakegem |
38 |
+ |
39 |
+DESCRIPTION="A generic swappable back-end for XML parsing" |
40 |
+HOMEPAGE="https://www.rubydoc.info/gems/multi_xml" |
41 |
+SRC_URI="https://github.com/sferik/multi_xml/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+LICENSE="MIT" |
43 |
+ |
44 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
45 |
+SLOT="0" |
46 |
+IUSE="" |
47 |
+ |
48 |
+ruby_add_bdepend "doc? ( dev-ruby/yard )" |
49 |
+ruby_add_bdepend "test? ( dev-ruby/ox )" |
50 |
+ |
51 |
+all_ruby_prepare() { |
52 |
+ eapply "${FILESDIR}/${P}-ox24.patch" |
53 |
+ |
54 |
+ sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die |
55 |
+ sed -e '/bundler/I s:^:#:' \ |
56 |
+ -e '/yardstick/,/end/ s:^:#:' \ |
57 |
+ -e '/rubocop/I s:^:#:' \ |
58 |
+ -i Rakefile || die |
59 |
+} |
60 |
+ |
61 |
+each_ruby_test() { |
62 |
+ CI=true each_fakegem_test |
63 |
+} |