summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-07 08:15:15 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-07 08:22:16 +0100
commitb489a4c49f6b3af3d164a3fe336283d3fb313ea5 (patch)
tree542b8a3f37fd10d4886f7fe90d514bccfd825f95 /dev-ruby
parentdev-ruby/mime-types-data: add 3.2024.1105 (diff)
downloadgentoo-b489a4c49f6b3af3d164a3fe336283d3fb313ea5.tar.gz
gentoo-b489a4c49f6b3af3d164a3fe336283d3fb313ea5.tar.bz2
gentoo-b489a4c49f6b3af3d164a3fe336283d3fb313ea5.zip
dev-ruby/parser: add 3.3.6.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/parser/Manifest1
-rw-r--r--dev-ruby/parser/parser-3.3.6.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest
index 0b1e428d2db4..fa084669c06c 100644
--- a/dev-ruby/parser/Manifest
+++ b/dev-ruby/parser/Manifest
@@ -2,3 +2,4 @@ DIST parser-3.3.3.0.tar.gz 330893 BLAKE2B dd730e39a82dfb5d97bc11ce9814a5106fc608
DIST parser-3.3.4.2.tar.gz 331155 BLAKE2B 8070f7359d9e29470e3d9bb132c4a6e2682b4aa4f8d62287f0230c53935445e0514f7ebd3753c1f9c70e661c01c5d465c7ada5fe0730a60ae8899fa933d62c93 SHA512 ccf9aba5ab642a42acc1246741123825d4c8346af7494ef12c16a3d15aa4f71701dbe4b121be5b48c3bfbacb75a1e8601d554282b46c1d369f518109be27d106
DIST parser-3.3.5.0.tar.gz 331207 BLAKE2B cd60df47b165d88e4e8fa5154ab41d3021f14f41bf0ecb73f0fcfa0762d4956954ce73b5a9e9a7376a9ecfd97c36e1887afa15c91dc1436b8de1e4d2468a4eb4 SHA512 00951144e3539730a9f2b02c9435f23716993e75f51db8f2bddc216d5e25902dad56d574af470190a0a9f91a93a09ef034fbc0fb030ce1a65d23c43e09bcab7b
DIST parser-3.3.5.1.tar.gz 331231 BLAKE2B 24fd5fc06a7c2d28874a100178a693ab84e9b9f0a7f58215d3611d724ad2cd0a346509efb406f824d2f66122058cc16e78dfca71db4168368c3471d8cbbe9337 SHA512 64dec0fa37f941580cef77bff461fbd99ff8cd92e209673ed16b88fd03cfb69b71306d8b468399e77123ed911e4c49f34eaa81c87da51c98652e2d7138f806ac
+DIST parser-3.3.6.0.tar.gz 331236 BLAKE2B 282b11251bb47a13d459344b662f1e0f25c97328304479d8a32bdcce597a270a7bef800da06866da98b0f9be7ccbf0e888e0834c2af96edc4606f6c0d10cf8cd SHA512 c722b596fd5e941235bd7dd4eadbfbf34a83d9886cb21aa7267cae9f060efbb161bbcab4b043f9c9694703398d60358266afbe67d556e2d6f49a97c9fda9242b
diff --git a/dev-ruby/parser/parser-3.3.6.0.ebuild b/dev-ruby/parser/parser-3.3.6.0.ebuild
new file mode 100644
index 000000000000..0d50425d80a7
--- /dev/null
+++ b/dev-ruby/parser/parser-3.3.6.0.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
+}