blob: a941d8cca0464ec301bbd8d15a58ad7e6dae8e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
COMMIT=7b8bdf7b33ab872bb4d1fb8eeecba5c5e1a4a421
RUBY_FAKEGEM_GEMSPEC="xml-simple.gemspec"
inherit ruby-fakegem
DESCRIPTION="Easy API to maintain XML. A Ruby port of Grant McLean's Perl module XML::Simple"
HOMEPAGE="https://github.com/maik/xml-simple"
SRC_URI="https://github.com/maik/xml-simple/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc x86"
RUBY_S="${PN}-${COMMIT}"
ruby_add_rdepend "dev-ruby/rexml"
each_ruby_test() {
cd test || die
for i in *.rb; do
${RUBY} -I../lib ${i} || die
done
}
|