diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-02 07:14:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-02 07:16:48 +0200 |
commit | 0c6b30ac6e11f81d8bc05e916efa74fdcfb6d3b6 (patch) | |
tree | d024b92a23bce819ec22106dd6688a467de52c1b /dev-ruby | |
parent | sys-boot/gnu-efi: fix building efi apps (diff) | |
download | gentoo-0c6b30ac6e11f81d8bc05e916efa74fdcfb6d3b6.tar.gz gentoo-0c6b30ac6e11f81d8bc05e916efa74fdcfb6d3b6.tar.bz2 gentoo-0c6b30ac6e11f81d8bc05e916efa74fdcfb6d3b6.zip |
dev-ruby/rexml: add 3.3.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rexml/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rexml/rexml-3.3.4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index acc0bf9168f3..97f3752cb14a 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -3,3 +3,4 @@ DIST rexml-3.2.9.tar.gz 461496 BLAKE2B 9e379b7ad3808461bc738c66c84c0654c256d790b DIST rexml-3.3.0.tar.gz 461623 BLAKE2B d741310000bf06276f7e424fc9a01cf20657d857b79ab80937537f5853cdfd59de86d81547dbc5298de48b63a683a1c09f617923ce123872610641ad08a6aa09 SHA512 b5edd8d06cd404dcd3d39c124ad1ed96a30d1185c9cf045bfcce73d1f71424b05986dc66f8b4701c20b940f78bae640ee46601334f1cbb304537c549ce099afc DIST rexml-3.3.1.tar.gz 462490 BLAKE2B 2332c3233bfdd5bec067c548016dd20e8bd97e82e6c924f418242827503221a5ce01f81d9b747967bb984d9768f0652e6402dff41c358f95a643b3783b18e564 SHA512 df35a2481743ac4f857ba1ba6396c37de26e9a306abe763dba943a464be9d5e063e0618182446b6f51011eb04aa6cf094b17e24d9826dd294e02596d5033ac83 DIST rexml-3.3.2.tar.gz 464607 BLAKE2B 44fc74d6fbdbe213c1bdcb97cb54a5cc74bbc1a74ef2531bb5c3c10c94e5fe061e18c096974e2a94c03918ff5e8d40f5d191d473ae3c49ae0a94a58fd8f641b6 SHA512 fd374b2a2b1751f3762ca95d5d2355e64f8fa0de7fa8c4106f36f700e26dfcb8dad8b239399859fef5268195a3d07a19367afea5f01014ab3122e316d4f2168a +DIST rexml-3.3.4.tar.gz 467302 BLAKE2B d8b86d51233ae277eaa25a796a4c895f4cf4d8e49dbc623990596e001c0404fc1cfafbdf5e87773fd773bbd6894511625d26b6ef9f94f75560849006c39a8a37 SHA512 928fbd0df229118c180791e75c7b86d4c9a937c92ba1161db1692ac3cc332bd5c241e4fc1d0d67be9bf97796dfbabe90fb19085a849130dcf7b53274145d784d diff --git a/dev-ruby/rexml/rexml-3.3.4.ebuild b/dev-ruby/rexml/rexml-3.3.4.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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" + +SLOT="3" +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" + +ruby_add_rdepend "dev-ruby/strscan" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +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 + + # Ensure we use the (new enough) gem version of strscan. The + # versions bundled with ruby up to at least 3.3.1 are all too old. + sed -e '3igem "strscan"' \ + -i test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} test/run.rb || die +} |