Skip to content

Commit

Permalink
add racc
Browse files Browse the repository at this point in the history
  • Loading branch information
TApplencourt committed Sep 19, 2024
1 parent ce04302 commit 613ee18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ruby-nokogiri/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class RubyNokogiri(RubyPackage):
version('1.12.5', sha256='2b20905942acc580697c8c496d0d1672ab617facb9d30d156b3c7676e67902ec', expand=False)

depends_on('ruby@2.5.0:', type=('build', 'run'))
depends_on('ruby-rake@13.0.0:', type=('build'))
depends_on('ruby-racc@1.8.1:', type=('build','run'))
depends_on('ruby-mini-portile2@2.6.1', type=('build', 'run'))
16 changes: 16 additions & 0 deletions packages/ruby-racc/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


class RubyRacc(RubyPackage):
""" Racc is an LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby program."""

homepage = "https://rubygems.org/gems/racc"
url = "https://rubygems.org/downloads/racc-1.8.1.gem"

version('1.8.1', sha256='54f2e6d1e1b91c154013277d986f52a90e5ececbe91465d29172e49342732b98', expand=False)

depends_on('ruby@2.5.0:', type=('build', 'run'))

0 comments on commit 613ee18

Please sign in to comment.