diff options
-rw-r--r-- | dev-ruby/parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/parser/parser-3.1.1.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index a333f9c7da73..b96abb68a851 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -5,3 +5,4 @@ DIST parser-3.0.3.0.tar.gz 284651 BLAKE2B ed6905541642a243514dc95f986939d7cfb1d7 DIST parser-3.0.3.1.tar.gz 285932 BLAKE2B 957e56bf4deb47e0c118543e1078d845fcace0f4d0a5a9a1073bd95544f80544de9c0c736768194ce43402d939599934191e00738464972fd32020a3c193bae8 SHA512 37a1d53b14a9d436b413abe55932f95211531fbd5d4e4af98e26fbf923ae5edffeec907dd39a5dd8dd484a4fdcc4aca557cd20c0e2560e64c271274f955a4355 DIST parser-3.0.3.2.tar.gz 285975 BLAKE2B 3772e78d3e92469940c21b9167d9bc5bb7a31d4ddd74c3872d99c5de7fc12b59cda72209f0983758e81259f2effdd6f5221a71dd24f0e19351485bf41c2bcb7e SHA512 c2f6f822d9a60fb038b66fb44e8bc6339ca9329865e3a2c4bb05ee8db80826df7f96766b661d94156c6e4bcc3d5d4fc3624a4e1373a8919ad19ef1a1acd41797 DIST parser-3.1.0.0.tar.gz 287924 BLAKE2B 042f325c12718a8d05dbbe1052cf3792bfab5421a0eb279b81b7c4e3ab9584e4f806de6823f9a74c47e81a949d676d2f903b77ceb5369a656b6047dd9856333d SHA512 68191906b6fd7183233875da3ba4937d3e90c491ffeec451048d3dbee6c0c979eb50b474135f57cd6fd9a42abb6629668b97eec00a4879760a362d1cc5bb38a3 +DIST parser-3.1.1.0.tar.gz 299759 BLAKE2B c4fdf278c1ae90529de414d9cda2770524f051f05d457ebe3224c49a84c55abfe8ac11799b0caf4d74200c4be494c3f655ed7f9c03e11d198436a7f54bec77ce SHA512 9c51aaa7d19e4a679d9d4c40716a90ef4c15d22728a21a8a4c278245114cd8cdeace19018d54dbb73b77897d531f3eb446b99c6dfaf9e205aa54346933ada215 diff --git a/dev-ruby/parser/parser-3.1.1.0.ebuild b/dev-ruby/parser/parser-3.1.1.0.ebuild new file mode 100644 index 000000000000..0bc9672c1a19 --- /dev/null +++ b/dev-ruby/parser/parser-3.1.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +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 +} |