1 |
commit: 8aeffe04a171c96a90e16c4dc02563487afd9f82 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 21 09:34:54 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 22 06:37:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aeffe04 |
7 |
|
8 |
dev-ruby/xml-simple: add 1.1.9 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/xml-simple/Manifest | 1 + |
14 |
dev-ruby/xml-simple/xml-simple-1.1.9.ebuild | 31 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/xml-simple/Manifest b/dev-ruby/xml-simple/Manifest |
18 |
index ee8078d5dcf6..fe766a96746e 100644 |
19 |
--- a/dev-ruby/xml-simple/Manifest |
20 |
+++ b/dev-ruby/xml-simple/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xml-simple-1.1.5.tar.gz 126288 BLAKE2B 0fb7f8cebee23e422d2941de790426e494bce51af90cda8a3b7f3b27129f6272aa277a80fce004aca2658d5ae5f62b7aa9f251b53839d14e6d5b7f5a33b819af SHA512 df81a05a0c32141cb5a0328fb782292438ec3ad6037c150e2ff4fee07b65ba9a739987f25f28c196ff8565af53c62120c3a729820a94dd3da0551fe43948f9a3 |
23 |
+DIST xml-simple-1.1.9.tar.gz 119573 BLAKE2B fd23d75f45265093f7d7a6a1a96a5872bc12d918f775a88339f82bd3a5f710c3db23390769b3d88832b145aee04863734061b27210f129dc23b62ce8c6b02824 SHA512 3bc53558adb65b0d9c4c1e7f2980b5d3cd2fa7f2b0ec1969c1631bd95960be504eacc459830ce83f08d11c080250346e6059c8c463faf372c1e61bbc1fc86804 |
24 |
|
25 |
diff --git a/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild b/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..705a80683e40 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+USE_RUBY="ruby26 ruby27 ruby30" |
36 |
+ |
37 |
+COMMIT=7b8bdf7b33ab872bb4d1fb8eeecba5c5e1a4a421 |
38 |
+ |
39 |
+RUBY_FAKEGEM_GEMSPEC="xml-simple.gemspec" |
40 |
+ |
41 |
+inherit ruby-fakegem |
42 |
+ |
43 |
+SRC_URI="https://github.com/maik/xml-simple/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
+DESCRIPTION="Easy API to maintain XML. A Ruby port of Grant McLean's Perl module XML::Simple" |
45 |
+HOMEPAGE="https://github.com/maik/xml-simple" |
46 |
+ |
47 |
+LICENSE="Ruby" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RUBY_S="${PN}-${COMMIT}" |
53 |
+ |
54 |
+ruby_add_rdepend "dev-ruby/rexml" |
55 |
+ |
56 |
+each_ruby_test() { |
57 |
+ cd test || die |
58 |
+ for i in *.rb; do |
59 |
+ ${RUBY} -I../lib ${i} || die |
60 |
+ done |
61 |
+} |