diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-13 09:26:54 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-13 09:28:43 +0100 |
commit | d42c4c35f32485489e2a9f3926c9f7d9e201971b (patch) | |
tree | 5687d07583e8b22360297ab20a79aae60183f1df /dev-ruby/parser | |
parent | dev-ruby/net-scp: enable ruby33 (diff) | |
download | gentoo-d42c4c35f32485489e2a9f3926c9f7d9e201971b.tar.gz gentoo-d42c4c35f32485489e2a9f3926c9f7d9e201971b.tar.bz2 gentoo-d42c4c35f32485489e2a9f3926c9f7d9e201971b.zip |
dev-ruby/parser: add 3.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.3.0.3.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index cb0ca26a9466..54ff56b24e3e 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -4,3 +4,4 @@ DIST parser-3.2.2.3.tar.gz 315525 BLAKE2B c2dbfb33ff100367ae0b14ebbb6de8bd45d85d DIST parser-3.2.2.4.tar.gz 315784 BLAKE2B 4dadbc75ef6f3b7598d7e51222bac37cdbcb0ef2c9d156f910080d2f1a77ec568d34f57198f54e261ffc97faf0fffcd0d9f84f0710e1fbb31ac680cf08764608 SHA512 dc755f4acf9bdbe9312e622eaae96e44efd5a4db5e9cb31cc93ca225b5e8f8cb7f9bb408225ceeaa63d543a9f47e89aba00d1b1353a558ab53219f4611d19955 DIST parser-3.3.0.0.tar.gz 317456 BLAKE2B 57a943fd08fd2ba143b445e28954cb0f50e591ce2b863c7e3890dbedd738db603efe100235f1bf6213d48fe0cc3560461c7a07a6d86e5795fcdd99c48a1d7ad8 SHA512 434c739ea8706e92d0ac71bd21f503f3bb040b38d1a508a3e5acb9b19eaa7c0052e269a3b0383ce7cd0d1d458cb48dd3d576e32bbc31c139f07c09a890eb177f DIST parser-3.3.0.1.tar.gz 317871 BLAKE2B 4f77b804037155e6ba3dfa015906e9b21eb56f1cb25c7d956cfb87aa8192b74b3098b8ff87dfa58c66cd1e9e2264074690abbc6be49b9d955cbc264bfd3d640b SHA512 af9c455356dc3704dfde6882c802bfff1372fec12806ed9447b92512ef1acf7705b06395a531c160b1d8d1c0338fa3f7f14566988877381baeff4ddb9495ec44 +DIST parser-3.3.0.3.tar.gz 318017 BLAKE2B 3322de46055839d6be751914c4d1cf020ed6a62795432427aac2c267df2a46af5e970e757ee4d7d357660d65fc14fbc143239f33a6f83905f9457c5eda523e13 SHA512 8248009f285b727b029596c931f067b14e5e5811c940dbdce41155ea2489c0a348a4f4a425cc0af7c1bcea5fafbdfa48fd97ef448be3092a879abfcfd2c2438c diff --git a/dev-ruby/parser/parser-3.3.0.3.ebuild b/dev-ruby/parser/parser-3.3.0.3.ebuild new file mode 100644 index 000000000000..48b258f91620 --- /dev/null +++ b/dev-ruby/parser/parser-3.3.0.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="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" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend " + test? ( dev-ruby/minitest:5 ) + dev-ruby/cliver +" +ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1 dev-ruby/racc" + +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 +} |