dev-ruby/parser: add 2.7.0.3
authorHans de Graaff <graaff@gentoo.org>
Thu, 27 Feb 2020 06:03:03 +0000 (07:03 +0100)
committerHans de Graaff <graaff@gentoo.org>
Thu, 27 Feb 2020 06:03:03 +0000 (07:03 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/parser/Manifest
dev-ruby/parser/parser-2.7.0.3.ebuild [new file with mode: 0644]

index e7ed1997cff28e1de8c383f159a4c069731f0bd4..4e04b8b9f13d61f9a3d0d43d38c47a662b089ce2 100644 (file)
@@ -2,3 +2,4 @@ DIST parser-2.6.5.0.gem 710144 BLAKE2B 72ae2ddd179b3d05ed94ff43d80940cf3b9e04445
 DIST parser-2.7.0.0.gem 724480 BLAKE2B 8b9b3c88a8acf96f7befaea0eebf379ad5b0ce5cc75c001075062cf3e7360ed75e713256ec74445edd9d1c7137b0cd65257f6c6d6d6146ab593424d75b278de9 SHA512 5e48df4e6f5f13314da8a23391752561bad90bef20be7d8fd3758b6b996cfa5d43485938cd74ae862948da0a5bdc32df54030d812929c4f0a31890364686ed46
 DIST parser-2.7.0.1.gem 724480 BLAKE2B 6c9322cb594d6db3795e179061c69ffdcb56ea12e78e7075034cfb637cd621da646d9297e66f2a5ed27cb64f69efe6057794e558f5077618a3fc112e878a196c SHA512 34fdfbe9c5424e9383233d5d949d08dbe5b275765dec76c54ece2822d8610bde8c3cb862744fcae0f0a82e30b3e3dad0bf1a208b04f5759187cd7a717eff243b
 DIST parser-2.7.0.2.gem 724480 BLAKE2B 073d15bbeb34f831dcd6f6e2c0ef26ee95bb4865316c6917376ad05e5b97d7f6d0dd3bff404de57f3579d189bba46854d36686fc3131c118c62d1226f2afb30f SHA512 914564fc334c30f61f043e246be8b64cb2ca385e5fb2096d38e4644055b0f246b52f82f318fc499b538669ba5d5a6ea0fe03bdecb7b9e8d4e58806d4bfcee81e
+DIST parser-2.7.0.3.gem 725504 BLAKE2B b665475d3054a7d61492f7c04e2b1039f89bd08d28b58df452542f85570867a161e5e525ae4b8d9d02e8476194486a5c30549971d9f789e1cbc2751e6cc8bb1a SHA512 43355bab41f662f0afb03a8ab929024ecf4c5ed936f987ea55cff2473c8cca4551454802d5b22c3466d3c1abaf14cb9155e8a0b697f1c1cbdc98fe93bf4e71a7
diff --git a/dev-ruby/parser/parser-2.7.0.3.ebuild b/dev-ruby/parser/parser-2.7.0.3.ebuild
new file mode 100644 (file)
index 0000000..a1dfc9b
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_TASK_TEST="test"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A production-ready Ruby parser written in pure Ruby"
+HOMEPAGE="https://github.com/whitequark/parser"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? (
+       dev-ruby/minitest:5
+       dev-ruby/racc
+       dev-ruby/cliver )"
+ruby_add_rdepend "=dev-ruby/ast-2.4*"
+
+all_ruby_prepare() {
+       sed -i -e "/[Bb]undler/d" Rakefile || die
+       sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die
+}