dev-scheme/guile-nyacc: new package; add version 1.06.7

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-02-15 15:32:47 +01:00
parent e2be79c865
commit 5647361c82
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nyacc-1.06.7.tar.gz 1270540 BLAKE2B dfd5a961881126fbc285de0cb67cdfdadd14d1cb30c112da633ff776cd6d776658a2834c87c347a4020f9114516c4770247f54d71aada1731ca353a1c6210e1b SHA512 8e0c80a529a55742a7bd342deba8b450a8fef9201cf109f3416cead89ded8db53768a049ba3c9196f455e036645deb2e1b763889cb293068e486e6362c44aad5

View File

@@ -0,0 +1,38 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
dev-scheme/bytestructures
"
DEPEND="${RDEPEND}"
# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'
src_prepare() {
default
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
find "${S}" -name "*.scm" -exec touch {} + || die
}
src_install() {
default
# Fix docs location
mv "${D}"/usr/share/doc/nyacc "${D}"/usr/share/doc/${PF}
}

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>scheme@gentoo.org</email>
<name>Gentoo Scheme Project</name>
</maintainer>
<longdescription>
NYACC, for Not Yet Another Compiler Compiler, is set of guile modules for
generating parsers and lexical analyzers. It also provides sample parsers
and pretty-printers using SXML trees as an intermediate representation.
It provides a decent C parser and a `FFI Helper' tool to help create Guile
Scheme bindings for C-based libraries.
It provides (partially implemented) compilers based on above mentioned
parsers to allow execution with Guile as extension languages.
</longdescription>
</pkgmetadata>