summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-11 08:03:56 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-11 08:04:05 +0100
commit1373b757f103d3a6a7a5592e82bf6b0f84b951a5 (patch)
treebb4f87032e05b0ec3bbe7be2fc0ec55d0629097a /dev-ruby/ruby_parser
parentdev-ruby/oauth: add 0.5.8 (diff)
downloadgentoo-1373b757f103d3a6a7a5592e82bf6b0f84b951a5.tar.gz
gentoo-1373b757f103d3a6a7a5592e82bf6b0f84b951a5.tar.bz2
gentoo-1373b757f103d3a6a7a5592e82bf6b0f84b951a5.zip
dev-ruby/ruby_parser: add 3.18.1
Package-Manager: Portage-3.0.28, 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/Manifest1
-rw-r--r--dev-ruby/ruby_parser/ruby_parser-3.18.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest
index a4905eec7077..551007d170c9 100644
--- a/dev-ruby/ruby_parser/Manifest
+++ b/dev-ruby/ruby_parser/Manifest
@@ -4,3 +4,4 @@ DIST ruby_parser-3.15.1.gem 527360 BLAKE2B bb8c486f5c1e5da82aa6f0c2e0c08a8fa2192
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
+DIST ruby_parser-3.18.1.gem 634880 BLAKE2B 046ca70510a62e515873039c3846c6dfe7eda204b10c28d1a2892052ee9662be46c99e8f3474577e1e513bee395a404e05d2bcc133d293ae04e2b8b0accdf95b SHA512 820b7dd75f92daef364db9b691ac7c71e460ad0f7f20491036c659310fd08561ae83f227bb5d82748d3b4a40fbb745c57144d8503a395a30eaba934df47f33bc
diff --git a/dev-ruby/ruby_parser/ruby_parser-3.18.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.18.1.ebuild
new file mode 100644
index 000000000000..8c3041fafc92
--- /dev/null
+++ b/dev-ruby/ruby_parser/ruby_parser-3.18.1.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
+}