diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-25 07:06:08 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-25 07:06:08 +0200 |
commit | f763cfa0a5ed31e7d35b57a39cae14a0c45372c4 (patch) | |
tree | 00caea68281f08f8e005cb2dce65b14596aea062 /dev-ruby/parser | |
parent | profiles: Mask net-im/zoom-5.14.5.2430-r1 for testing (diff) | |
download | gentoo-f763cfa0a5ed31e7d35b57a39cae14a0c45372c4.tar.gz gentoo-f763cfa0a5ed31e7d35b57a39cae14a0c45372c4.tar.bz2 gentoo-f763cfa0a5ed31e7d35b57a39cae14a0c45372c4.zip |
dev-ruby/parser: add 3.2.2.1
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.2.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index df63b6656612..a0f0da1f9e08 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -3,3 +3,4 @@ DIST parser-3.2.0.0.tar.gz 302043 BLAKE2B 8a02ca62560fc976fbe62d02ecf24713248a9f DIST parser-3.2.1.0.tar.gz 315249 BLAKE2B 57013e299541e0b1d589be8640611c3deb04b11cd39ada33dd2ae0b43fa68b7ffa55d6074d53559a2a5f552e539bf80ea7406a91e4b5dbc7fae345d9d399bc09 SHA512 f79f84188650a210424558c9f0d131de25ea7d879487331db9d5a55127fd72e28946a78f7596896bd837b4b17e8602b908fc818f467f77cee04c4ffdce545f76 DIST parser-3.2.1.1.tar.gz 315592 BLAKE2B 5e783269d367fc9f2e98f5bcb038c8f835a930bd3664769da30441a1525908f96c9fa9cb23c42d07614a550d327c406470f59696a22cc58f57c087c3a09a9967 SHA512 ba9077e11864ba816d04f77f1160f46ad697c5a0751ac6991758259054754fdfda59e762c8df5e66d6ddb28ddd561713ba15a11a67d61024180f7e375ac112f1 DIST parser-3.2.2.0.tar.gz 315575 BLAKE2B ad6c25f35809de7148ca156d6928c7b2b6ea49d2808fe5af5876263fd44191e8b43e24932ebfd4d335c367cf7aad0f4fc2594ad5e6dec70d9c05aca1ebd5c4e2 SHA512 b1f6d4ee0ef589e45850fbe339b6168abd662e843ba1bc66e91c19055d9c88296fed926abbe800a860868b2b8e9c33124dce1a8a7fd05e7db6ae62e0cc2e9a24 +DIST parser-3.2.2.1.tar.gz 315506 BLAKE2B d35f3a5aae6188251555bdd3d988ca028b0624cdf15d261d5bac129f7a1da50941087110fa3dd6433d9f7cdb173fb5e33b866983fdf50867885a21395770d254 SHA512 5ddc8a42601168a7acbc07e14ba4761ad862c0473e3cd31d9e76f8e87096d491b22e46c719cbe002dcd710628b913f541c737ab39614d5821311f5ee482c26aa diff --git a/dev-ruby/parser/parser-3.2.2.1.ebuild b/dev-ruby/parser/parser-3.2.2.1.ebuild new file mode 100644 index 000000000000..d743919e3d73 --- /dev/null +++ b/dev-ruby/parser/parser-3.2.2.1.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="ruby30 ruby31 ruby32" + +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 +} |