From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DD94158086 for ; Sun, 28 Nov 2021 22:25:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77FA92BC02B; Sun, 28 Nov 2021 22:25:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FEF22BC02B for ; Sun, 28 Nov 2021 22:25:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C5EB342BCB for ; Sun, 28 Nov 2021 22:25:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D22D210C for ; Sun, 28 Nov 2021 22:25:55 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1638138350.351c1b5a626680968e5f4e0330000b1f7f32d871.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/owl-lisp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/owl-lisp/Manifest dev-scheme/owl-lisp/metadata.xml dev-scheme/owl-lisp/owl-lisp-0.2.ebuild dev-scheme/owl-lisp/owl-lisp-9999.ebuild X-VCS-Directories: dev-scheme/owl-lisp/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 351c1b5a626680968e5f4e0330000b1f7f32d871 X-VCS-Branch: master Date: Sun, 28 Nov 2021 22:25:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e94ed94b-50c7-42f4-a000-cfefa54a66ed X-Archives-Hash: ac6771e69b2f98d446facd8ac2502b03 commit: 351c1b5a626680968e5f4e0330000b1f7f32d871 Author: Maciej Barć gentoo org> AuthorDate: Sun Nov 28 22:24:44 2021 +0000 Commit: Maciej Barć gentoo 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ć 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 @@ + + + + + + scheme@gentoo.org + Gentoo Scheme Project + + + 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. + + + https://gitlab.com/owl-lisp/owl/-/issues + owl-lisp/owl + + 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 +}