summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-03 01:02:15 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-03 02:05:32 +0100
commit6d79d655963e1dd7e225a01f0d986b15c1fe1f1f (patch)
tree6069521e3faa285a512bd75dfcc1c6aaf7dd5b2b /dev-scheme/guile-reader
parentsys-auth/yubico-piv-tool: add 2.3.0 (diff)
downloadgentoo-6d79d655963e1dd7e225a01f0d986b15c1fe1f1f.tar.gz
gentoo-6d79d655963e1dd7e225a01f0d986b15c1fe1f1f.tar.bz2
gentoo-6d79d655963e1dd7e225a01f0d986b15c1fe1f1f.zip
dev-scheme/guile-reader: new package; add 0.6.3
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/guile-reader')
-rw-r--r--dev-scheme/guile-reader/Manifest1
-rw-r--r--dev-scheme/guile-reader/guile-reader-0.6.3.ebuild28
-rw-r--r--dev-scheme/guile-reader/metadata.xml20
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-scheme/guile-reader/Manifest b/dev-scheme/guile-reader/Manifest
new file mode 100644
index 000000000000..adf02596b0ac
--- /dev/null
+++ b/dev-scheme/guile-reader/Manifest
@@ -0,0 +1 @@
+DIST guile-reader-0.6.3.tar.gz 691612 BLAKE2B 504152d3a194705435efa4e2d2b51fd1bc22a998161b09ef0157c13bf46ef593be0101d6b72e197818a8ba18406db0de518423a168d36f54616dfcd4e807f3b9 SHA512 0f9f47ee5f24ebb79894863ac96d63b0c7d2801020a212c59d11c7685ff4006a646be988a696a9b623dc0e0605f46d4a9a8680bfabd299878e41eab92e75efd5
diff --git a/dev-scheme/guile-reader/guile-reader-0.6.3.ebuild b/dev-scheme/guile-reader/guile-reader-0.6.3.ebuild
new file mode 100644
index 000000000000..fe10ccab8ab0
--- /dev/null
+++ b/dev-scheme/guile-reader/guile-reader-0.6.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Simple framework for building readers for GNU Guile"
+HOMEPAGE="https://www.nongnu.org/guile-reader/"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+RDEPEND=">=dev-scheme/guile-2.0.0:="
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/gperf"
+
+# 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
+}
diff --git a/dev-scheme/guile-reader/metadata.xml b/dev-scheme/guile-reader/metadata.xml
new file mode 100644
index 000000000000..c3ad052549f5
--- /dev/null
+++ b/dev-scheme/guile-reader/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+ Guile-Reader is a simple framework for building readers for GNU Guile.
+ The idea is to make it easy to build procedures that extend Guile's read
+ procedure. Readers supporting various syntax variants can easily be
+ written, possibly by re-using existing "token readers" of a standard Scheme
+ readers. For example, it is used to implement Skribilo's R5RS-derived
+ document syntax.
+ Guile-Reader's approach is similar to Common Lisp's "read table", but
+ hopefully more powerful and flexible (for instance, one may instantiate as
+ many readers as needed).
+ </longdescription>
+</pkgmetadata>