From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1248814-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8CBBC1382C5
	for <garchives@archives.gentoo.org>; Sun,  7 Feb 2021 08:32:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 72205E0829;
	Sun,  7 Feb 2021 08:32:35 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 59A57E0829
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Feb 2021 08:32:35 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EF8413439D2
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Feb 2021 08:32:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 815DE4BE
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Feb 2021 08:32:32 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1612686746.6957bf379c6990d6e7d0cebd949d387bb0c2eb3b.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/parser/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/parser/Manifest dev-ruby/parser/parser-3.0.0.0.ebuild
X-VCS-Directories: dev-ruby/parser/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 6957bf379c6990d6e7d0cebd949d387bb0c2eb3b
X-VCS-Branch: master
Date: Sun,  7 Feb 2021 08:32:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: da4765cd-d04b-40de-8bd9-6c15a0cb568f
X-Archives-Hash: 42afbd6e8732e257767da2360e8f3475

commit:     6957bf379c6990d6e7d0cebd949d387bb0c2eb3b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  7 08:32:26 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb  7 08:32:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6957bf37

dev-ruby/parser: add 3.0.0.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/parser/Manifest              |  1 +
 dev-ruby/parser/parser-3.0.0.0.ebuild | 43 +++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index eb5af129e83..99deaeffb3a 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -1,2 +1,3 @@
 DIST parser-2.7.1.5.gem 791552 BLAKE2B 813b05fd6cbf69fe6c5c96e15b1a4542fe00710cad9ab6f4e97ccc4cabef59d29dcef052dde0770adc67634d2cfa1d11d6afd5a7624c09eb65069d90da6d577a SHA512 8ae6901901c58e6dab7f0d54d113aeb8cccb27f80d7df69a51c70b13284a680cce1b34661c1ccec97ea2234768d90e507b89d43732af7abc4261b18dd024fc67
 DIST parser-2.7.2.0.tar.gz 266318 BLAKE2B 5bb3e4649eeccaa4a72fb2478755185a749b28f53898b361d5a6f35a57eb9cfbddeb149cd4a793243e60b7421966662992c2ebd6e42298e0f5828a1a7fb43e47 SHA512 e9754d6d334115fb272c3df0a6620da0b0a014aa7c49914556d72259a11229a6c71f797cfa814c87eec052097c2f6e3cc18adf50cc30690549c74b57733f0c72
+DIST parser-3.0.0.0.tar.gz 269035 BLAKE2B 185cff099ea38813a0db43a0d929a8bf8db0c50e5550a69a85e676d0471523fd4bd8c8fbe61b7b5c656310f23c85563d302f2d452b964993e3bc03600a25dce3 SHA512 32848628d084e4d75fd2da13d39d31653f28549cf35d6144c4eee3c3ee4fb60522b261c972afceb284aabe1e2c38c58331fcf65b1db32e36a78e02e12885eb16

diff --git a/dev-ruby/parser/parser-3.0.0.0.ebuild b/dev-ruby/parser/parser-3.0.0.0.ebuild
new file mode 100644
index 00000000000..9fcc1bd5357
--- /dev/null
+++ b/dev-ruby/parser/parser-3.0.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="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.}"
+
+RUBY_FAKEGEM_GEMSPEC="parser.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A production-ready Ruby parser written in pure Ruby"
+HOMEPAGE="https://github.com/whitequark/parser"
+SRC_URI="https://github.com/whitequark/parser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND+=" =dev-util/ragel-6*"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/minitest:5
+		dev-ruby/racc )
+	dev-ruby/cliver
+"
+ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1"
+
+all_ruby_prepare() {
+	sed -i -e "/[Bb]undler/d" Rakefile || die
+	sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die
+}
+
+each_ruby_compile() {
+	${RUBY} -S rake generate || die
+}