diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-02-29 16:00:24 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-01 07:01:38 +0100 |
commit | bf748b30d97d97371ff11ed85c2a2cc410390957 (patch) | |
tree | 94ea43b2706b18885c47d840e118ecf63262ca0e /dev-ruby/ruby_parser | |
parent | dev-ruby/ruby-oembed: add 0.17.0 (diff) | |
download | gentoo-bf748b30d97d97371ff11ed85c2a2cc410390957.tar.gz gentoo-bf748b30d97d97371ff11ed85c2a2cc410390957.tar.bz2 gentoo-bf748b30d97d97371ff11ed85c2a2cc410390957.zip |
dev-ruby/ruby_parser: add 3.21.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby_parser')
-rw-r--r-- | dev-ruby/ruby_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby_parser/ruby_parser-3.21.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest index 226f55655be9..c5eef809819d 100644 --- a/dev-ruby/ruby_parser/Manifest +++ b/dev-ruby/ruby_parser/Manifest @@ -2,3 +2,4 @@ DIST ruby_parser-3.19.2.gem 778240 BLAKE2B b9a136f8aa93fe915eedc5ca16a54a8c21446 DIST ruby_parser-3.20.0.gem 852992 BLAKE2B fd261c46e1fd0dbdbe13f02aa0c063334294a82a22af1491d760af2f1922a0c71355d2c002dcaa1fcf7c24fc9a157a4a640969ed946750ba90dfb87dcf8e785a SHA512 4cbd35703c35a799d8e06b78708adff378ff82d53f658908fb6cccfddbd6c200892bb2a3b4923fc17d2c4f7f611af12e3c942495a511d5470a05abb61ee1fba7 DIST ruby_parser-3.20.1.gem 856576 BLAKE2B 8944c8c1403bb23aeb77ea19fe5ff7596879c94350609fcffc839c15b9009efe7c172369363aa99edd561cfdf4fcf081e665dea494cf87d88b105c797cea25a4 SHA512 50e77dcf4893e0b56399e10804e7c6652f57b812444edcd247d3c70f89cf4e5308a90103dd63e032588557472513bc2e6ac49988fddeea81f9f7262e14653abd DIST ruby_parser-3.20.3.gem 854528 BLAKE2B 0451390ffd1b5c9e9d8abb557f0e87a7f15024ee2f187a2a03802e0406242489b952c97250982610a52f94453078ce15b3e6cb9f47adb16624b10c0e94d0f62b SHA512 1d7b0956fdd6dc01ca280d7c3ac2875b4b24074b017e1952aa660896b0c7838b967c872bb9d425a4505a0ae6b17a4642f265f082c7e3bf8e5dc00fb6dd221ce4 +DIST ruby_parser-3.21.0.gem 765952 BLAKE2B 7a616e7b5af08a12d40ec6c8761dc0a6edbdbda60cd024bbae6710303cd569ff59b4b0c1168c555a08aa8f374350e7cec6a524f884ec715fc4b31f2c1139cec2 SHA512 2d911adf41651ab942ea6acfffb4a97b036aea41f209476182361622bc93771d0fb8dff4b8d10d89ed0041dc9590783be0264282985ebcfc03bd610bbd46b69b diff --git a/dev-ruby/ruby_parser/ruby_parser-3.21.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.21.0.ebuild new file mode 100644 index 000000000000..d46e4e00c0f0 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.21.0.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/sexp_processor-4.16.0:4" + +ruby_add_bdepend "test? ( dev-ruby/racc >=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 +} |