diff options
Diffstat (limited to 'dev-ruby/rexml')
-rw-r--r-- | dev-ruby/rexml/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rexml/rexml-3.2.5-r1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index f4a3eaa1166c..c54a745a3ba0 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -1,3 +1,4 @@ DIST rexml-3.2.5.tar.gz 447881 BLAKE2B 4b922d51f9331ae17c2deaf3c617fbb6130b111ec0fe27892e524b89f298c3b962e64ab276b71213f3482c0a480b52cf71b3866aacc45fd6de82589baff81354 SHA512 9c62b789988b407bf4b02906768300b256734bfa342ef6b3551428ba2c1792b7e7e5a5480251d7df52318a5e5155757ab1377c0cc8d1d7c33278f33e367a5ca5 +EBUILD rexml-3.2.5-r1.ebuild 879 BLAKE2B eb8515614a67fffd864431f5e5378009258d046722359417bd5e635d631de69add8eb52cc8ea141d44fcfa82e6451dbcf67ed6f027e49e7405299ceaf963b34e SHA512 7bab1ab26b74fdf67e55d1ecf9216c84136c871774505c7f5dc949991f9ab37d9da0bba1ac77d4502e86daa715bd131c09cf980dabfc70acf5e8f605ffd29a74 EBUILD rexml-3.2.5.ebuild 878 BLAKE2B c179e47e33e631650806b40af49f26a0d7c77c4f81b164550f54f181452c457d32f1dd50ed7e5e18d2e16deee7b5be51e9e203b1339bc4a6047eee3a18eb8b12 SHA512 59aaea04f2670b707a1df27424dec4d74888fd9fa3264bbc6d744d3801534b227e161a36a621d6d22f052ea7ef805242d074796ee531a6c8d077993c15170306 MISC metadata.xml 258 BLAKE2B 3c49249352f2cb11df010da6ecd8312a27047557ca5f2686837ad66933be9ea2627c40f91daedf8dcd9099c6cdc0dc2d2ba32aaf9d888c41fb60ee098e1c0c1e SHA512 ce517e35f3c0a2a9807ee68b0a8c84ca28db8dfabb41758cac71f9da22847fe20d259295f0681e38a52a24618450a0ca097939dc1022e3987bb0088762e48326 diff --git a/dev-ruby/rexml/rexml-3.2.5-r1.ebuild b/dev-ruby/rexml/rexml-3.2.5-r1.ebuild new file mode 100644 index 000000000000..1f937256f3eb --- /dev/null +++ b/dev-ruby/rexml/rexml-3.2.5-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 +} |