summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-3.3.4.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 75ba0b2fd324..984d1bdff04a 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -3,3 +3,4 @@ DIST parser-3.3.1.0.tar.gz 330897 BLAKE2B 343c5c6894a76d77a581e9329945f180671cce
DIST parser-3.3.2.0.tar.gz 330935 BLAKE2B af75234f18450dec61a7c673eb1e5a958ea9edc38f2e64b6ce94c925f910d91053a885e8af9d085bd0a387d7f809e72038316dedbd50ef3819a1bfcfcb790ecf SHA512 a756eec657aa810e005ba24eebbf7674940237178bdd26d6163c807be5133c275557f3b072579546b14c2f10f65e155defe8c6d0a625affe9dea931e20a23c33
DIST parser-3.3.3.0.tar.gz 330893 BLAKE2B dd730e39a82dfb5d97bc11ce9814a5106fc608e33d59ffc7a40cd03f549476bd6984a3a090b894d0bf2d67309c113bf0a79354e1dcb9c7c7026e6b69b500243f SHA512 a519f16f288bc5558d467f8abaca59f1d01b4ccba971a4a83371ab94ba801d750018495aacbf07c2ad6da068e54b41b8c9cc1892128d3aa6ce038f972ea78eab
DIST parser-3.3.4.0.tar.gz 330963 BLAKE2B fbac9486cdf08701a0fba0f24f35c42347e29d74ea203764445fe973e65c93ea801fd986a28e448c080c92a1b104e2692f3d5ed21d76543423cb0fbe5726a6bf SHA512 882330a6e0de62f19a452e587a32eb16732ffb4233e6664d5c90e3030857d4baab33b838489b4a3d122b48b21849ccf2ab291b0cafea6b728423f328a4ec9fe2
+DIST parser-3.3.4.1.tar.gz 331115 BLAKE2B 35417751702bda1ac4fd9240dd453e6c8271ba0443e81a71aacac3375b83e1587333d71fc29395f1f65dba2408351fd19df950c2e6196c1b7b8dd2148de578aa SHA512 5696b9446d7e3b05debc621085b16a4d7e052e32892e82e16e7608a6c14fd58f2d4d977be32e1a9ee1cc930cdd52589f85b77781dc84028e3b0af53bbbc4f693
diff --git a/dev-ruby/parser/parser-3.3.4.1.ebuild b/dev-ruby/parser/parser-3.3.4.1.ebuild
new file mode 100644
index 000000000000..0d50425d80a7
--- /dev/null
+++ b/dev-ruby/parser/parser-3.3.4.1.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 ruby33"
+
+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
+}