1 |
commit: e1f925fa03202c116e7f8f1981983d68cae12f00 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 10:55:05 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 11:47:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f925fa |
7 |
|
8 |
dev-ruby/parser: add 3.1.0.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/parser/Manifest | 1 + |
14 |
dev-ruby/parser/parser-3.1.0.0.ebuild | 43 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest |
18 |
index c156536571df..a333f9c7da73 100644 |
19 |
--- a/dev-ruby/parser/Manifest |
20 |
+++ b/dev-ruby/parser/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST parser-3.0.2.0.tar.gz 282150 BLAKE2B 28091cc76a33f606cb5fd1f60612fcd9731064 |
22 |
DIST parser-3.0.3.0.tar.gz 284651 BLAKE2B ed6905541642a243514dc95f986939d7cfb1d7d3900f1f6922ab2765943aa0fc751c24bfef3368f7e960c6ad13d47ca13fc49fedb2b9f714e158b295143acaa2 SHA512 579e4fd52af42fe1bcb18e445b367d49ba9bc682276d28024eba9fd8fb74a359d578f712b6da9a1b988e1734aef06effa07c9953a8d3a96e6969bcd215a2c8d3 |
23 |
DIST parser-3.0.3.1.tar.gz 285932 BLAKE2B 957e56bf4deb47e0c118543e1078d845fcace0f4d0a5a9a1073bd95544f80544de9c0c736768194ce43402d939599934191e00738464972fd32020a3c193bae8 SHA512 37a1d53b14a9d436b413abe55932f95211531fbd5d4e4af98e26fbf923ae5edffeec907dd39a5dd8dd484a4fdcc4aca557cd20c0e2560e64c271274f955a4355 |
24 |
DIST parser-3.0.3.2.tar.gz 285975 BLAKE2B 3772e78d3e92469940c21b9167d9bc5bb7a31d4ddd74c3872d99c5de7fc12b59cda72209f0983758e81259f2effdd6f5221a71dd24f0e19351485bf41c2bcb7e SHA512 c2f6f822d9a60fb038b66fb44e8bc6339ca9329865e3a2c4bb05ee8db80826df7f96766b661d94156c6e4bcc3d5d4fc3624a4e1373a8919ad19ef1a1acd41797 |
25 |
+DIST parser-3.1.0.0.tar.gz 287924 BLAKE2B 042f325c12718a8d05dbbe1052cf3792bfab5421a0eb279b81b7c4e3ab9584e4f806de6823f9a74c47e81a949d676d2f903b77ceb5369a656b6047dd9856333d SHA512 68191906b6fd7183233875da3ba4937d3e90c491ffeec451048d3dbee6c0c979eb50b474135f57cd6fd9a42abb6629668b97eec00a4879760a362d1cc5bb38a3 |
26 |
|
27 |
diff --git a/dev-ruby/parser/parser-3.1.0.0.ebuild b/dev-ruby/parser/parser-3.1.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..0bc9672c1a19 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/parser/parser-3.1.0.0.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+USE_RUBY="ruby26 ruby27 ruby30" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_DOC="yard" |
40 |
+RUBY_FAKEGEM_TASK_TEST="test" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" |
44 |
+ |
45 |
+RUBY_FAKEGEM_GEMSPEC="parser.gemspec" |
46 |
+ |
47 |
+inherit ruby-fakegem |
48 |
+ |
49 |
+DESCRIPTION="A production-ready Ruby parser written in pure Ruby" |
50 |
+HOMEPAGE="https://github.com/whitequark/parser" |
51 |
+SRC_URI="https://github.com/whitequark/parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64" |
56 |
+IUSE="" |
57 |
+ |
58 |
+DEPEND+=" =dev-util/ragel-6*" |
59 |
+ |
60 |
+ruby_add_bdepend " |
61 |
+ test? ( |
62 |
+ dev-ruby/minitest:5 |
63 |
+ dev-ruby/racc ) |
64 |
+ dev-ruby/cliver |
65 |
+" |
66 |
+ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1" |
67 |
+ |
68 |
+all_ruby_prepare() { |
69 |
+ sed -i -e "/[Bb]undler/d" Rakefile || die |
70 |
+ sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die |
71 |
+} |
72 |
+ |
73 |
+each_ruby_compile() { |
74 |
+ ${RUBY} -S rake generate || die |
75 |
+} |