From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/
Date: Sun, 28 Nov 2021 22:25:55 +0000 (UTC) [thread overview]
Message-ID: <1638138350.351c1b5a626680968e5f4e0330000b1f7f32d871.xgqt@gentoo> (raw)
commit: 351c1b5a626680968e5f4e0330000b1f7f32d871
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 28 22:24:44 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 22:25:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351c1b5a
dev-scheme/owl-lisp: new package; add version 0.2 and live
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-scheme/owl-lisp/Manifest | 1 +
dev-scheme/owl-lisp/metadata.xml | 20 +++++++++++++++
dev-scheme/owl-lisp/owl-lisp-0.2.ebuild | 42 ++++++++++++++++++++++++++++++++
dev-scheme/owl-lisp/owl-lisp-9999.ebuild | 42 ++++++++++++++++++++++++++++++++
4 files changed, 105 insertions(+)
diff --git a/dev-scheme/owl-lisp/Manifest b/dev-scheme/owl-lisp/Manifest
new file mode 100644
index 000000000000..0a54360a4209
--- /dev/null
+++ b/dev-scheme/owl-lisp/Manifest
@@ -0,0 +1 @@
+DIST owl-v0.2.tar.gz 515574 BLAKE2B 054a06d33554cc31f5e1c756bf3ff5ea4fb5cec220048fb939aa9dcd19c586cef54ae8ddc80e1ee8befedfa2e42fc1bf9ea4bcfe37e6743154ff678346444e87 SHA512 f0dc4badc84be1ebd1ad8f6a84c8fc292449b0f66a9416f202f9010e89aa2971c6470599173db67bf3db3e4b6a61d777ee369eda76fa7c42114748e8fe48b7b2
diff --git a/dev-scheme/owl-lisp/metadata.xml b/dev-scheme/owl-lisp/metadata.xml
new file mode 100644
index 000000000000..904d4e58388f
--- /dev/null
+++ b/dev-scheme/owl-lisp/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Owl Lisp is a simple programming language. The main motivation for
+ writing it was to get a portable system for writing standalone
+ programs in a subjectively pleasant dialect of LISP, which in this
+ case means a minimal core language and runtime, purely functional
+ operation and support for asynchronous evaluation.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/owl-lisp/owl/-/issues</bugs-to>
+ <remote-id type="gitlab">owl-lisp/owl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild
new file mode 100644
index 000000000000..95d2e9242438
--- /dev/null
+++ b/dev-scheme/owl-lisp/owl-lisp-0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE: Because it is "purely functional" it is not scheme-compatible ootb
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Purely functional dialect of Scheme"
+HOMEPAGE="https://haltp.org/posts/owl.html"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git"
+else
+ SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v0.2/owl-v${PV}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/owl-v${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+ default
+
+ sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die
+}
+
+src_compile(){
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl
+}
+
+src_install() {
+ einstalldocs
+
+ dobin ./bin/ol
+ newbin ./bin/vm ovm
+
+ doman ./doc/*.1
+}
diff --git a/dev-scheme/owl-lisp/owl-lisp-9999.ebuild b/dev-scheme/owl-lisp/owl-lisp-9999.ebuild
new file mode 100644
index 000000000000..95d2e9242438
--- /dev/null
+++ b/dev-scheme/owl-lisp/owl-lisp-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NOTICE: Because it is "purely functional" it is not scheme-compatible ootb
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Purely functional dialect of Scheme"
+HOMEPAGE="https://haltp.org/posts/owl.html"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/owl-lisp/owl.git"
+else
+ SRC_URI="https://gitlab.com/owl-lisp/owl/-/archive/v0.2/owl-v${PV}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/owl-v${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+ default
+
+ sed -i 's|make bin/vm|$(MAKE) bin/vm|g' ./Makefile || die
+}
+
+src_compile(){
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" owl
+}
+
+src_install() {
+ einstalldocs
+
+ dobin ./bin/ol
+ newbin ./bin/vm ovm
+
+ doman ./doc/*.1
+}
next reply other threads:[~2021-11-28 22:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-28 22:25 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-29 13:46 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/ Maciej Barć
2022-03-20 0:38 Sam James
2023-01-01 12:30 Maciej Barć
2023-08-11 13:53 Maciej Barć
2023-10-30 23:15 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638138350.351c1b5a626680968e5f4e0330000b1f7f32d871.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox