summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-05 08:05:26 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-05 08:05:26 +0200
commitf493962347ae4b51bf674c71b4293fb07543c050 (patch)
tree82327913e2b32b9163cc629354c3ffc1d5d24496 /dev-ruby/parser
parentdev-ruby/mime-types-data: add 3.2023.1003 (diff)
downloadgentoo-f493962347ae4b51bf674c71b4293fb07543c050.tar.gz
gentoo-f493962347ae4b51bf674c71b4293fb07543c050.tar.bz2
gentoo-f493962347ae4b51bf674c71b4293fb07543c050.zip
dev-ruby/parser: add 3.2.2.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-3.2.2.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index e2e3651fc6d9..d9b95bd17086 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -1,3 +1,4 @@
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
DIST parser-3.2.2.3.tar.gz 315525 BLAKE2B c2dbfb33ff100367ae0b14ebbb6de8bd45d85de0508c23f0068a411cf7c393883ca5e3aa62863f9f0bb76757b5c05f5ce0a189b04cf3e16bb6760fd2bae8132d SHA512 0aae73fd410f9b67cd66f954af3c0f8c4fe6a1f3fb8ade7f0c3ad93bc5a2953c2c794d62c510ec93836476816d7758ff368c9f79d32f4510c5e20c744bfaff04
+DIST parser-3.2.2.4.tar.gz 315784 BLAKE2B 4dadbc75ef6f3b7598d7e51222bac37cdbcb0ef2c9d156f910080d2f1a77ec568d34f57198f54e261ffc97faf0fffcd0d9f84f0710e1fbb31ac680cf08764608 SHA512 dc755f4acf9bdbe9312e622eaae96e44efd5a4db5e9cb31cc93ca225b5e8f8cb7f9bb408225ceeaa63d543a9f47e89aba00d1b1353a558ab53219f4611d19955
diff --git a/dev-ruby/parser/parser-3.2.2.4.ebuild b/dev-ruby/parser/parser-3.2.2.4.ebuild
new file mode 100644
index 000000000000..ae52a5886cef
--- /dev/null
+++ b/dev-ruby/parser/parser-3.2.2.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 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"
+IUSE=""
+
+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
+}