diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-22 07:34:44 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-22 07:34:44 +0200 |
commit | d8751efb5bd18819ee53b7202b99e6bd23c39360 (patch) | |
tree | 4b612f7439be1b6416cac2b31a392c3ca268eb3c /dev-ruby | |
parent | dev-ruby/puppet_forge: drop 5.0.1-r1, 5.0.2 (diff) | |
download | gentoo-d8751efb5bd18819ee53b7202b99e6bd23c39360.tar.gz gentoo-d8751efb5bd18819ee53b7202b99e6bd23c39360.tar.bz2 gentoo-d8751efb5bd18819ee53b7202b99e6bd23c39360.zip |
dev-ruby/rexml: add 3.3.6
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.6.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 2a6bf80f2806..dfd9449765c8 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -5,3 +5,4 @@ DIST rexml-3.3.1.tar.gz 462490 BLAKE2B 2332c3233bfdd5bec067c548016dd20e8bd97e82e DIST rexml-3.3.2.tar.gz 464607 BLAKE2B 44fc74d6fbdbe213c1bdcb97cb54a5cc74bbc1a74ef2531bb5c3c10c94e5fe061e18c096974e2a94c03918ff5e8d40f5d191d473ae3c49ae0a94a58fd8f641b6 SHA512 fd374b2a2b1751f3762ca95d5d2355e64f8fa0de7fa8c4106f36f700e26dfcb8dad8b239399859fef5268195a3d07a19367afea5f01014ab3122e316d4f2168a DIST rexml-3.3.4.tar.gz 467302 BLAKE2B d8b86d51233ae277eaa25a796a4c895f4cf4d8e49dbc623990596e001c0404fc1cfafbdf5e87773fd773bbd6894511625d26b6ef9f94f75560849006c39a8a37 SHA512 928fbd0df229118c180791e75c7b86d4c9a937c92ba1161db1692ac3cc332bd5c241e4fc1d0d67be9bf97796dfbabe90fb19085a849130dcf7b53274145d784d DIST rexml-3.3.5.tar.gz 467588 BLAKE2B e32270fa6411f776e2e325f942a235eea6ee6cd72e33bf28cea69eeb6dbd40cc334f84d30c962093dd5644fb6c2cb77589229b415ae23e31d3899ae26f325f12 SHA512 401441a7c54533a0e01607af62c142cd9d767aa46dbadc5d18dc57e7542ff4518eba4c77206ff6c4ed6113eba87f30730b96469f64701efb5cb08cb578cd5a48 +DIST rexml-3.3.6.tar.gz 468635 BLAKE2B ce8e4dfb455fb284fdbd2dd11e452190f4eff94665041aadf0211da339d54ff4978101164a85a108cfa5f4c857f0e4c92629bb5464f38b4110d36bb5b4284173 SHA512 02b4555bd8d1474a123f617d2bd5d23a6769ab97ceb672abfec5244e189a4222ab662e509d064e66d91b5f60443d23b1bdf11c334598f203082617d2cd031fae diff --git a/dev-ruby/rexml/rexml-3.3.6.ebuild b/dev-ruby/rexml/rexml-3.3.6.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.6.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 +} |