dev-scheme/guile-nyacc: switch to new guile mechanism

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
Alfred Wingate
2024-08-27 02:24:19 +03:00
committed by Arsen Arsenović
parent 59c7ac4e3c
commit 96c7ae14ca
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GUILE_COMPAT=( 2-2 3-0 )
inherit guile
DESCRIPTION="Guile modules for generating parsers and lexical analyzers"
HOMEPAGE="http://www.nongnu.org/nyacc/"
SRC_URI="mirror://nongnu/nyacc/nyacc-${PV}.tar.gz"
S="${WORKDIR}/nyacc-${PV}"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
${GUILE_DEPS}
>=dev-scheme/bytestructures-2.0.2-r100[${GUILE_USEDEP}]
"
DEPEND="${RDEPEND}"
src_install() {
guile_src_install
# Fix docs location
mv "${ED}"/usr/share/doc/nyacc "${ED}"/usr/share/doc/${PF} || die
}

View File

@@ -378,6 +378,7 @@ dev-scheme/guile:3.0
>=dev-scheme/guile-libyaml-20211124-r100
>=dev-scheme/guile-lzlib-0.0.2-r100
>=dev-scheme/guile-ncurses-3.1-r100
>=dev-scheme/guile-nyacc-1.06.7-r100
# Eli Schwartz <eschwartz@gentoo.org> (2024-08-15)
# Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of