dev-ruby/multi_xml: add 0.7.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-05-01 06:21:51 +02:00
parent 8e56d5953e
commit 700c7333af
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST multi_xml-0.7.1.tar.gz 17122 BLAKE2B 09b8006a12ae99d85435b85c2c32afe20009cdd6bd0970ce5129c37411274aa402ed955f7ca692e90e7641120a90883b75a03a9ae8d88bd4a53e295095e040c4 SHA512 c578b6b4cadc48182ab94219d5f1550f645398c08460576cb5f6c72d8d6d01ef90b982437848d27e72f1157b9eff03dcafc29d04f298e52c14ae5b76df9082b0
DIST multi_xml-0.7.2.tar.gz 17006 BLAKE2B e7d2e570913e974129634a7a26903c42ca08c0c3efbe1eb9fefd9bb41cc17e1c6422e810fc470864cfd936be6bc467143d67397b42e4c327724dbb431c26a56c SHA512 419d18a08bc6610ab1f7ce7b61e1418ca9aeebf86a7c4078d12cea389881a1848f9a51eba8d44ef16e8674b49ccf08fc019a012a48707162a11d5578968756a1

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC="yard"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="A generic swappable back-end for XML parsing"
HOMEPAGE="https://github.com/sferik/multi_xml"
SRC_URI="https://github.com/sferik/multi_xml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
IUSE="doc test"
ruby_add_rdepend ">=dev-ruby/bigdecimal-3.1:0"
ruby_add_bdepend "doc? ( dev-ruby/yard )"
ruby_add_bdepend "test? ( dev-ruby/ox )"
all_ruby_prepare() {
sed -e 's:_relative ": "./:' \
-e 's/__dir__/"."/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
sed -e '/bundler/I s:^:#:' \
-e '/yardstick/,/end/ s:^:#:' \
-e '/rubocop/I s:^:#:' \
-i Rakefile || die
}
each_ruby_test() {
CI=true each_fakegem_test
}