summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-05-07 07:54:50 +0200
committerHans de Graaff <graaff@gentoo.org>2021-05-07 07:54:50 +0200
commit97b2f57b3d0e97fe52b6e4a332812bd81925c33c (patch)
tree2f7a77c4a0d0ae7c1b70e6a259e8617fa764259a /dev-ruby/parser
parentdev-ruby/activestorage: fix marcel dependency (diff)
downloadgentoo-97b2f57b3d0e97fe52b6e4a332812bd81925c33c.tar.gz
gentoo-97b2f57b3d0e97fe52b6e4a332812bd81925c33c.tar.bz2
gentoo-97b2f57b3d0e97fe52b6e4a332812bd81925c33c.zip
dev-ruby/parser: add 3.0.1.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-3.0.1.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 26abb3332893..2718207bb899 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -2,3 +2,4 @@ DIST parser-2.7.1.5.gem 791552 BLAKE2B 813b05fd6cbf69fe6c5c96e15b1a4542fe00710ca
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
DIST parser-3.0.1.0.tar.gz 269562 BLAKE2B 95a75fabd5818439bace9e0a8bdf30cbd08eb13f07b8c63ef6d86916359bb38dad36c907556f2e64a2a1f8c7283e79ac8d158914364ae550de7cb427f21cab05 SHA512 e65cc11ea9573dfc7535d302770067f206e67ff1d86d44c95061d92b6d64331bd1694053c26aa71e301aa0b00af6a39ccc4a5491f3b8a934f45176f6ddb2fd40
+DIST parser-3.0.1.1.tar.gz 281414 BLAKE2B b0299ceb03907db8edd876be10c8b7fc5c5e94be7f377ba3788db003741d3e1906ea58facc2ce98ad91d53e60990dbdccd3161cfe99b7a1fc6b0bc36c923035b SHA512 5dca487d190ebf003a115937c62cdb0fe8e38e69c32d79422fad1b3fa9d64efd1ec20cb7706fb4182fa93733634657c26a5ce9f35fab9a7558a42f47b822b4b3
diff --git a/dev-ruby/parser/parser-3.0.1.1.ebuild b/dev-ruby/parser/parser-3.0.1.1.ebuild
new file mode 100644
index 000000000000..9fcc1bd5357f
--- /dev/null
+++ b/dev-ruby/parser/parser-3.0.1.1.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
+}