commit: 03193af6b4aa79cc1f6f1930e150872f8d6a5db2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Jul 13 05:33:58 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Jul 13 05:36:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03193af6
dev-ruby/ruby_parser: add 3.21.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/ruby_parser/Manifest | 1 + dev-ruby/ruby_parser/ruby_parser-3.21.1.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest index c023cf6d0a45..63d195481276 100644 --- a/dev-ruby/ruby_parser/Manifest +++ b/dev-ruby/ruby_parser/Manifest @@ -1,3 +1,4 @@ DIST ruby_parser-3.20.0.gem 852992 BLAKE2B fd261c46e1fd0dbdbe13f02aa0c063334294a82a22af1491d760af2f1922a0c71355d2c002dcaa1fcf7c24fc9a157a4a640969ed946750ba90dfb87dcf8e785a SHA512 4cbd35703c35a799d8e06b78708adff378ff82d53f658908fb6cccfddbd6c200892bb2a3b4923fc17d2c4f7f611af12e3c942495a511d5470a05abb61ee1fba7 DIST ruby_parser-3.20.3.gem 854528 BLAKE2B 0451390ffd1b5c9e9d8abb557f0e87a7f15024ee2f187a2a03802e0406242489b952c97250982610a52f94453078ce15b3e6cb9f47adb16624b10c0e94d0f62b SHA512 1d7b0956fdd6dc01ca280d7c3ac2875b4b24074b017e1952aa660896b0c7838b967c872bb9d425a4505a0ae6b17a4642f265f082c7e3bf8e5dc00fb6dd221ce4 DIST ruby_parser-3.21.0.gem 765952 BLAKE2B 7a616e7b5af08a12d40ec6c8761dc0a6edbdbda60cd024bbae6710303cd569ff59b4b0c1168c555a08aa8f374350e7cec6a524f884ec715fc4b31f2c1139cec2 SHA512 2d911adf41651ab942ea6acfffb4a97b036aea41f209476182361622bc93771d0fb8dff4b8d10d89ed0041dc9590783be0264282985ebcfc03bd610bbd46b69b +DIST ruby_parser-3.21.1.gem 766464 BLAKE2B d33d1c395ad38851a59ff63ed95a495208ee630723028dc3b10a0e526243f89065da1fe442282e324deff1f9ed377c8f13fc23ebbe8373dfbb1f2475a657933f SHA512 2613c229cd61808aa2edd54f597d6f0ecfd1c95b2f87999adf8d64f47bb1e7c7428a8cb4640999138c889299c6836b1437565b90d33d396c0490edc0ba26ca42 diff --git a/dev-ruby/ruby_parser/ruby_parser-3.21.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.21.1.ebuild new file mode 100644 index 000000000000..5a47083ce2d0 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.21.1.ebuild @@ -0,0 +1,33 @@ +# 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_EXTRADOC="README.rdoc History.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A ruby parser written in pure ruby" +HOMEPAGE="https://github.com/seattlerb/ruby_parser" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/racc-1.5:0 >=dev-ruby/sexp_processor-4.16.0:4" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.17.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + sed -i -e '/license/d' Rakefile || die + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +}