Gentoo Archives: gentoo-commits

From: Matt Smith <matt@×××××××××.uk>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-scheme/chez/
Date: Sat, 19 Jun 2021 21:06:19
Message-Id: 1624136765.2d13609e67d8887260351ce855fa87374004f103.MattSmith@gentoo
1 commit: 2d13609e67d8887260351ce855fa87374004f103
2 Author: Matt Smith <matt <AT> offtopica <DOT> uk>
3 AuthorDate: Sat Jun 19 21:06:05 2021 +0000
4 Commit: Matt Smith <matt <AT> offtopica <DOT> uk>
5 CommitDate: Sat Jun 19 21:06:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d13609e
7
8 dev-scheme/chez: Init at 9.5.4
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
12
13 dev-scheme/chez/Manifest | 1 +
14 dev-scheme/chez/chez-9.5.4.ebuild | 33 +++++++++++++++++++++++++++++++++
15 dev-scheme/chez/metadata.xml | 25 +++++++++++++++++++++++++
16 3 files changed, 59 insertions(+)
17
18 diff --git a/dev-scheme/chez/Manifest b/dev-scheme/chez/Manifest
19 new file mode 100644
20 index 000000000..25b85f466
21 --- /dev/null
22 +++ b/dev-scheme/chez/Manifest
23 @@ -0,0 +1 @@
24 +DIST csv9.5.4.tar.gz 32313134 BLAKE2B ef8ec4e40389cfdc5bd1f631b02b5439f5353e73f95c48ecf1ec813cd6dc651b305cf019bb3e3083907f402b6578c31a10b2490bce32de6fa621f55d850ae168 SHA512 bc377fc5a7355703193849a21fbcd633f35b56f1f898c747fbddedc63ac979c124d966bdd9ed32366bb466881abdf44e03085af16e9795b10975a72c0d0b6123
25
26 diff --git a/dev-scheme/chez/chez-9.5.4.ebuild b/dev-scheme/chez/chez-9.5.4.ebuild
27 new file mode 100644
28 index 000000000..435cba4d3
29 --- /dev/null
30 +++ b/dev-scheme/chez/chez-9.5.4.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="A programming language based on R6RS"
38 +HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme"
39 +SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/csv${PV}.tar.gz"
40 +
41 +# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2),
42 +# Nanopass (MIT), stex (MIT), and zlib (ZLIB).
43 +LICENSE="Apache-2.0 BSD-2 MIT ZLIB"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="examples"
47 +
48 +S="${WORKDIR}"/csv${PV}
49 +
50 +src_configure() {
51 + local myconfargs=(
52 + --installprefix="${EPREFIX}"/usr
53 + --nogzip-man-pages
54 + --disable-curses # TODO: ncurses USE flag.
55 + --disable-x11 # TODO: X USE flag.
56 + )
57 +
58 + ./configure "${myconfargs[@]}" || die
59 +}
60 +
61 +src_install() {
62 + emake install TempRoot="${D}"
63 + use examples || rm -r "${D}"/usr/lib/csv${PV}/examples || die
64 +}
65
66 diff --git a/dev-scheme/chez/metadata.xml b/dev-scheme/chez/metadata.xml
67 new file mode 100644
68 index 000000000..75836ec56
69 --- /dev/null
70 +++ b/dev-scheme/chez/metadata.xml
71 @@ -0,0 +1,25 @@
72 +<?xml version="1.0" encoding="UTF-8"?>
73 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
74 +<pkgmetadata>
75 + <maintainer type="person">
76 + <email>matt@×××××××××.uk</email>
77 + <name>Matt Smith</name>
78 + </maintainer>
79 + <longdescription lang="en">
80 + Chez Scheme is both a programming language and an implementation
81 + of that language, with supporting tools and documentation.
82 +
83 + As a superset of the language described in the Revised6 Report on
84 + the Algorithmic Language Scheme (R6RS), Chez Scheme supports all
85 + standard features of Scheme, including first-class procedures,
86 + proper treatment of tail calls, continuations, user-defined
87 + records, libraries, exceptions, and hygienic macro expansion.
88 +
89 + Chez Scheme also includes extensive support for interfacing with C
90 + and other languages, support for multiple threads possibly running
91 + on multiple cores, non-blocking I/O, and many other features.
92 + </longdescription>
93 + <upstream>
94 + <remote-id type="github">cisco/ChezScheme</remote-id>
95 + </upstream>
96 +</pkgmetadata>