diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-10-29 07:54:47 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-10-29 08:02:57 +0200 |
commit | cd0d6c24d81ef035e31ab2e65f949fa99d2cb6db (patch) | |
tree | ef31e2d7695c9c345d307211763fd1fc855b7137 /dev-ruby/ruby_parser | |
parent | dev-ruby/sexp_processor: add 4.16.0 (diff) | |
download | gentoo-cd0d6c24d81ef035e31ab2e65f949fa99d2cb6db.tar.gz gentoo-cd0d6c24d81ef035e31ab2e65f949fa99d2cb6db.tar.bz2 gentoo-cd0d6c24d81ef035e31ab2e65f949fa99d2cb6db.zip |
dev-ruby/ruby_parser: add 3.18.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
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.18.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest index 9d65280ad382..a4905eec7077 100644 --- a/dev-ruby/ruby_parser/Manifest +++ b/dev-ruby/ruby_parser/Manifest @@ -3,3 +3,4 @@ DIST ruby_parser-3.15.0.gem 527360 BLAKE2B c27b98052c0850df8decf123a471fbe541190 DIST ruby_parser-3.15.1.gem 527360 BLAKE2B bb8c486f5c1e5da82aa6f0c2e0c08a8fa21928cb6fe1468f68d93cf79159848ae9f88f9eaa446d4d2a41b3f49e2cc961048f3bd6341da639aac99755095f5b8c SHA512 221af19b0b3d035af1b57a098076989f93f8237da3a0833aa2dbc85d5840b343215a2e1421d4685f9cb49f1d85af8640623ce387fd5a22af440432f0699097a8 DIST ruby_parser-3.16.0.gem 584704 BLAKE2B 87b9308beb4434565b4238bc3e0faaff4c19fbb9531b534121e1e707a9c890be3450137a4190e819ac3cd77241abdbf4db04f4378c2f1f682d31b7bc6325c26d SHA512 224c316097f11fc37e46d20edbfaa4f1bb29a7fc0ef5c86e6852d1df42673b50762941ca4f6a3386047e24fadeaaa8041f0322934b6df5a9e651fde5e3cc3703 DIST ruby_parser-3.17.0.gem 586752 BLAKE2B 4d3b7d2105e7c4529eb69e4459f73255907ff17cd7008f5282a92598b014dc4a107e723e44d91e907e1fbac17ae2495aed3daaa8e2473d6dc20d042d6a3ae83b SHA512 6786f58aa4007b407e04669554add6d2fac2260c1ad12db78a4b7816799b7b30d163a554d93d4fa7f043a8e45dd11316854e9f42d63bbd5a542cd2f950c05278 +DIST ruby_parser-3.18.0.gem 634880 BLAKE2B dce4a90d4b80a5d2d77e7d52ae7ecb2b0a4b98bf0d7ab1e47bed4b2d4e2c2d30ff6d379dbc50192683a82326d4f6b6e63a7d51bd1d9a498b0abc90daf18adbf0 SHA512 e34b42770a44a32f91ef29d7575db26b2fd24188b4e80fda1cc69d99469a454699ff76c715a9acd0342709989140bd5783b629996f89c1a58a422dd971a1271f diff --git a/dev-ruby/ruby_parser/ruby_parser-3.18.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.18.0.ebuild new file mode 100644 index 000000000000..8c3041fafc92 --- /dev/null +++ b/dev-ruby/ruby_parser/ruby_parser-3.18.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +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.16.0:4 )" + +DEPEND+=" test? ( dev-util/unifdef )" + +all_ruby_prepare() { + # Remove reference to perforce method that is not in a released + # version of hoe-seattlerb. + #sed -i -e '/perforce/d' Rakefile || die + 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 +} |