diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 07:30:16 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 07:31:47 +0100 |
commit | 6c162a8ddac337d71c61e9d6fe30975209870b16 (patch) | |
tree | 577e7bbc46f6fa70308eee681e3de83fa72d6546 /dev-ruby/parser | |
parent | dev-ruby/globalid: add 1.0.0 (diff) | |
download | gentoo-6c162a8ddac337d71c61e9d6fe30975209870b16.tar.gz gentoo-6c162a8ddac337d71c61e9d6fe30975209870b16.tar.bz2 gentoo-6c162a8ddac337d71c61e9d6fe30975209870b16.zip |
dev-ruby/parser: add 3.0.3.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r-- | dev-ruby/parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/parser/parser-3.0.3.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index f5c54e497675..f5499eb988d8 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -4,3 +4,4 @@ DIST parser-3.0.0.0.tar.gz 269035 BLAKE2B 185cff099ea38813a0db43a0d929a8bf8db0c5 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 DIST parser-3.0.2.0.tar.gz 282150 BLAKE2B 28091cc76a33f606cb5fd1f60612fcd973106449056d920968086bd6a06c45d872f36ed72a58fb760fbd8fdf415563ec94f2fffe07a6257af40ae18dad17c60d SHA512 f21ef02fd41e1d3c65cc3c11772f8dd21247bdd53835874da7f112ef41b202d029e9c73e51bc6f566daa2d36354b157b1e0324f7be931f3dfa31632b23cd7868 +DIST parser-3.0.3.0.tar.gz 284651 BLAKE2B ed6905541642a243514dc95f986939d7cfb1d7d3900f1f6922ab2765943aa0fc751c24bfef3368f7e960c6ad13d47ca13fc49fedb2b9f714e158b295143acaa2 SHA512 579e4fd52af42fe1bcb18e445b367d49ba9bc682276d28024eba9fd8fb74a359d578f712b6da9a1b988e1734aef06effa07c9953a8d3a96e6969bcd215a2c8d3 diff --git a/dev-ruby/parser/parser-3.0.3.0.ebuild b/dev-ruby/parser/parser-3.0.3.0.ebuild new file mode 100644 index 000000000000..70d2b1439d34 --- /dev/null +++ b/dev-ruby/parser/parser-3.0.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 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 +} |