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 4C5CC158086 for ; Sun, 28 Nov 2021 18:27:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F372E084A; Sun, 28 Nov 2021 18:27:36 +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 DBBABE084A for ; Sun, 28 Nov 2021 18:27:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C7FD0342D7D for ; Sun, 28 Nov 2021 18:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37F98164 for ; Sun, 28 Nov 2021 18:27:33 +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: <1638124032.190d6e9fff6f51a1d7e7a818f21c5e323a0714bb.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/fennel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/fennel/Manifest dev-lang/fennel/fennel-0.9.1.ebuild dev-lang/fennel/metadata.xml X-VCS-Directories: dev-lang/fennel/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 190d6e9fff6f51a1d7e7a818f21c5e323a0714bb X-VCS-Branch: master Date: Sun, 28 Nov 2021 18:27:33 +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: 393e5b1e-8406-4fc5-8351-1475a5ca2cab X-Archives-Hash: 11f35ad7c71728a562766e63c1fe95fe commit: 190d6e9fff6f51a1d7e7a818f21c5e323a0714bb Author: Maciej Barć gentoo org> AuthorDate: Sun Nov 28 18:27:03 2021 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Nov 28 18:27:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=190d6e9f dev-lang/fennel: new package; add version 0.9.1 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> dev-lang/fennel/Manifest | 1 + dev-lang/fennel/fennel-0.9.1.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-lang/fennel/metadata.xml | 29 +++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest new file mode 100644 index 000000000000..fc8d0dcd8dd1 --- /dev/null +++ b/dev-lang/fennel/Manifest @@ -0,0 +1 @@ +DIST fennel-0.9.1.tar.gz 203441 BLAKE2B 74f461b3e7a24cdae0c8dde590814cb9753a12ab62e797746cc8753d178007a09084037e443d8309fa11ff309a5c6bf6c2e369942ef357aa0402883cef278542 SHA512 87e7ffbef0b49499a93255f50e77f53b9be4faa6d4609d8d65e3a64470bbf07b49a55e7dd547fda4b0e5fe0f4f1e6ece18282cc89955a57ed0a50be8dc01261c diff --git a/dev-lang/fennel/fennel-0.9.1.ebuild b/dev-lang/fennel/fennel-0.9.1.ebuild new file mode 100644 index 000000000000..856dc1383b01 --- /dev/null +++ b/dev-lang/fennel/fennel-0.9.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +inherit lua-single + +DESCRIPTION="Lisp-like language that compiles to Lua" +HOMEPAGE="https://fennel-lang.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~technomancy/fennel" +else + SRC_URI="https://git.sr.ht/~technomancy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" + +src_install() { + emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install + doman ${PN}.1 + dodoc *.md +} diff --git a/dev-lang/fennel/metadata.xml b/dev-lang/fennel/metadata.xml new file mode 100644 index 000000000000..7be4ec2ae425 --- /dev/null +++ b/dev-lang/fennel/metadata.xml @@ -0,0 +1,29 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + Fennel is a lisp that compiles to Lua. It aims to be easy to use, + expressive, and has almost zero overhead compared to handwritten Lua. + + - Full Lua compatibility - You can use any function or library from Lua. + - Zero overhead - Compiled code should be just as or more efficient + than hand-written Lua. + - Compile-time macros - Ship compiled code with no runtime dependency + on Fennel. + - Embeddable - Fennel is a one-file library as well as an executable. + Embed it in other programs to support runtime extensibility and + interactive development. + + At https://fennel-lang.org there's a live in-browser REPL you can use + without installing anything. + + + https://github.com/bakpakin/Fennel/issues + bakpakin/Fennel + +