commit: ec7d24b696fac4f025fee438775f7265bd7090a5 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jul 30 07:18:11 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jul 30 09:32:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7d24b6
dev-ruby/rexml: add 3.2.6 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/rexml/Manifest | 1 + dev-ruby/rexml/rexml-3.2.6.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 0c14806a161e..7bfade16f178 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -1 +1,2 @@ DIST rexml-3.2.5.tar.gz 447881 BLAKE2B 4b922d51f9331ae17c2deaf3c617fbb6130b111ec0fe27892e524b89f298c3b962e64ab276b71213f3482c0a480b52cf71b3866aacc45fd6de82589baff81354 SHA512 9c62b789988b407bf4b02906768300b256734bfa342ef6b3551428ba2c1792b7e7e5a5480251d7df52318a5e5155757ab1377c0cc8d1d7c33278f33e367a5ca5 +DIST rexml-3.2.6.tar.gz 459069 BLAKE2B 737b4a8836cae8614bc7a8e579f5c141e3d0e2114a6f6084a186795fa2d0a0008a7cb5d5a8c493b3a4204a901a26c617054ef3b93a7ed845b2f3398f5e25f5ca SHA512 bbf278ed25fbf4d814de9df3cbca691ab43d4e502a02b081e894ce82c161b1931d850df54074ef81c9cb470dca10a81c631da7ccbf908401818fca4c9a4aa5c4 diff --git a/dev-ruby/rexml/rexml-3.2.6.ebuild b/dev-ruby/rexml/rexml-3.2.6.ebuild new file mode 100644 index 000000000000..ae71241986ff --- /dev/null +++ b/dev-ruby/rexml/rexml-3.2.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An XML toolkit for Ruby" +HOMEPAGE="https://github.com/ruby/rexml" +SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="3" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} test/run.rb || die +}