spack/var/spack/repos/builtin/packages/byacc/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

28 lines
1.1 KiB
Python

# Copyright 2013-2023 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)
from spack.package import *
class Byacc(AutotoolsPackage):
"""Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has
been made as compatible as possible with AT&T Yacc. Berkeley Yacc
can accept any input specification that conforms to the AT&T Yacc
documentation. Specifications that take advantage of undocumented
features of AT&T Yacc will probably be rejected."""
homepage = "https://invisible-island.net/byacc/byacc.html"
url = "ftp://ftp.invisible-island.net/pub/byacc/byacc-20210808.tgz"
# Check FTP directory ftp://ftp.invisible-island.net/byacc/ to find the latest version
version("20210808", sha256="f158529be9d0594263c7f11a87616a49ea23e55ac63691252a2304fbbc7d3a83")
provides("yacc")
depends_on("m4", type="build")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")