diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-02-10 08:40:01 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-02-10 08:40:01 +0100 |
commit | ee17896ea77d28ef2423a967e8793e771edfde28 (patch) | |
tree | d3f2e1f28175088118b9945299df1c79811fdd85 /dev-ruby/parser | |
parent | app-editors/neovim: fixes for 9999 (see details) (diff) | |
download | gentoo-ee17896ea77d28ef2423a967e8793e771edfde28.tar.gz gentoo-ee17896ea77d28ef2423a967e8793e771edfde28.tar.bz2 gentoo-ee17896ea77d28ef2423a967e8793e771edfde28.zip |
dev-ruby/parser: add 3.2.1.0
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.2.1.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index 4bfb09b47dd1..91d650a0e665 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -3,3 +3,4 @@ DIST parser-3.1.2.0.tar.gz 299753 BLAKE2B b5c991ab0834ed5e5b7107935500659828a6f8 DIST parser-3.1.2.1.tar.gz 299885 BLAKE2B 2fe56279be003825a25e6fdfc99dbb13b93dc167f7da3fe636da368bc10a6506afd7510bf3d7c55122321de1cd0bf46afce2ee0ff0a9d914e507c0333225e5ea SHA512 9bbaae6436f41668621fdb1f45dd2a30ea5485dca19b0024a19e8be0684c4a961e914040e3b53f725f06c98822392cfef87113332124272f895bb571e56cc961 DIST parser-3.1.3.0.tar.gz 301000 BLAKE2B 3b7984966643d983e8606ba4de13a08de9130aa58b5adebdc9cfb273e00e700086f99f8a678ccb6db1ac70dac2da429dbfa1b45661c4f9764b676beae5c64633 SHA512 23ef12043706ba810ade3ac94f376082d5b45db8b451634d469a26f834890e7a82a9669132df4654aef4cb7650f0e13d2f33aad489ebbbb76ab547cb9e64f498 DIST parser-3.2.0.0.tar.gz 302043 BLAKE2B 8a02ca62560fc976fbe62d02ecf24713248a9f522e1cc9daa1deaa153d900628dce4f59c7791cc61652199358addca1432403a3f3849b0ef8f9495639282697d SHA512 58b9011c22af76f5eccf7035dd53da705ddc952c6185ebbb48c33c5486b5852ba8a543093f8c1f2a2c7aea8e78407c04a9dc49abf43edb27c460cf8b038338cf +DIST parser-3.2.1.0.tar.gz 315249 BLAKE2B 57013e299541e0b1d589be8640611c3deb04b11cd39ada33dd2ae0b43fa68b7ffa55d6074d53559a2a5f552e539bf80ea7406a91e4b5dbc7fae345d9d399bc09 SHA512 f79f84188650a210424558c9f0d131de25ea7d879487331db9d5a55127fd72e28946a78f7596896bd837b4b17e8602b908fc818f467f77cee04c4ffdce545f76 diff --git a/dev-ruby/parser/parser-3.2.1.0.ebuild b/dev-ruby/parser/parser-3.2.1.0.ebuild new file mode 100644 index 000000000000..1831dac09aaf --- /dev/null +++ b/dev-ruby/parser/parser-3.2.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 ~sparc" +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 +} |