commit: 700c7333af4016b9a6dec233b823a19dac8e1f2f
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu May 1 04:21:51 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu May 1 05:04:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700c7333
dev-ruby/multi_xml: add 0.7.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/multi_xml/Manifest | 1 +
dev-ruby/multi_xml/multi_xml-0.7.2.ebuild | 47 +++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-ruby/multi_xml/Manifest b/dev-ruby/multi_xml/Manifest
index 19ca12bd2f79..0ab71d066cd2 100644
--- a/dev-ruby/multi_xml/Manifest
+++ b/dev-ruby/multi_xml/Manifest
@@ -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
diff --git a/dev-ruby/multi_xml/multi_xml-0.7.2.ebuild
b/dev-ruby/multi_xml/multi_xml-0.7.2.ebuild
new file mode 100644
index 000000000000..bbaeff5bcac4
--- /dev/null
+++ b/dev-ruby/multi_xml/multi_xml-0.7.2.ebuild
@@ -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
+}