summaryrefslogtreecommitdiff
path: root/dev-ruby/multi_xml
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-01 08:39:32 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-01 08:39:32 +0000
commit129358821b30468316bd6ff04501305b95ab8bed (patch)
tree5e0e2547289be5afc1030b41130ce175a251cc58 /dev-ruby/multi_xml
parent23cdf322153700a1362a7ad7d872834c6f42dd1e (diff)
downloadbaldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.tar.gz
baldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.tar.xz
baldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.zip
Adding metadata
Diffstat (limited to 'dev-ruby/multi_xml')
-rw-r--r--dev-ruby/multi_xml/Manifest1
-rw-r--r--dev-ruby/multi_xml/multi_xml-0.7.2.ebuild47
2 files changed, 48 insertions, 0 deletions
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
+}