summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-02-15 15:32:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-02-15 15:33:05 +0100
commit5647361c823fdf0d5ed4837c152bebd91a7b652e (patch)
tree03368b343a78552f818b59d0c9934b750101d369 /dev-scheme
parentdev-vcs/cvs-fast-export: Version bump to 1.59 (diff)
downloadgentoo-5647361c823fdf0d5ed4837c152bebd91a7b652e.tar.gz
gentoo-5647361c823fdf0d5ed4837c152bebd91a7b652e.tar.bz2
gentoo-5647361c823fdf0d5ed4837c152bebd91a7b652e.zip
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>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-nyacc/Manifest1
-rw-r--r--dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild38
-rw-r--r--dev-scheme/guile-nyacc/metadata.xml18
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-scheme/guile-nyacc/Manifest b/dev-scheme/guile-nyacc/Manifest
new file mode 100644
index 000000000000..15c0095e0139
--- /dev/null
+++ b/dev-scheme/guile-nyacc/Manifest
@@ -0,0 +1 @@
+DIST nyacc-1.06.7.tar.gz 1270540 BLAKE2B dfd5a961881126fbc285de0cb67cdfdadd14d1cb30c112da633ff776cd6d776658a2834c87c347a4020f9114516c4770247f54d71aada1731ca353a1c6210e1b SHA512 8e0c80a529a55742a7bd342deba8b450a8fef9201cf109f3416cead89ded8db53768a049ba3c9196f455e036645deb2e1b763889cb293068e486e6362c44aad5
diff --git a/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild
new file mode 100644
index 000000000000..9c5026a9a62b
--- /dev/null
+++ b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7.ebuild
@@ -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}
+}
diff --git a/dev-scheme/guile-nyacc/metadata.xml b/dev-scheme/guile-nyacc/metadata.xml
new file mode 100644
index 000000000000..235f03fb4487
--- /dev/null
+++ b/dev-scheme/guile-nyacc/metadata.xml
@@ -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>