From: "Maciej Barć" <xgqt@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/fennel/
Date: Fri, 16 Apr 2021 19:38:51 +0000 (UTC) [thread overview]
Message-ID: <1618601882.6c8bd373b7a11ae00c4aec2a588a2e63181c4a31.xgqt@gentoo> (raw)
commit: 6c8bd373b7a11ae00c4aec2a588a2e63181c4a31
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Fri Apr 16 19:37:53 2021 +0000
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Fri Apr 16 19:38:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c8bd373
dev-lang/fennel: new pkg; add 0.9.1 and live
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
dev-lang/fennel/Manifest | 1 +
dev-lang/fennel/fennel-0.9.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++
dev-lang/fennel/fennel-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++++
dev-lang/fennel/metadata.xml | 26 +++++++++++++++++++++++
4 files changed, 109 insertions(+)
diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest
new file mode 100644
index 000000000..fc8d0dcd8
--- /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 000000000..d2adba074
--- /dev/null
+++ b/dev-lang/fennel/fennel-0.9.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua-single
+
+DESCRIPTION="Fennel is a lisp 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"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="${LUA_DEPS}"
+RDEPEND="${BDEPEND}"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ lua-single_pkg_setup
+}
+
+src_compile() {
+ emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr"
+}
+
+src_install() {
+ emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr" install
+ doman "${PN}.1"
+ dodoc *.md
+}
diff --git a/dev-lang/fennel/fennel-9999.ebuild b/dev-lang/fennel/fennel-9999.ebuild
new file mode 100644
index 000000000..d2adba074
--- /dev/null
+++ b/dev-lang/fennel/fennel-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua-single
+
+DESCRIPTION="Fennel is a lisp 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"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="${LUA_DEPS}"
+RDEPEND="${BDEPEND}"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ lua-single_pkg_setup
+}
+
+src_compile() {
+ emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/usr"
+}
+
+src_install() {
+ emake LUA_VERSION="$(lua_get_version)" PREFIX="${D}/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 000000000..52244949b
--- /dev/null
+++ b/dev-lang/fennel/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@riseup.net</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">bakpakin/Fennel</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2021-04-16 19:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 19:38 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-16 20:16 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/fennel/ Maciej Barć
2021-04-16 20:17 Maciej Barć
2021-04-17 23:06 Theo Anderson
2021-05-10 22:07 Maciej Barć
2021-05-11 23:23 Maciej Barć
2021-07-16 19:01 Maciej Barć
2021-08-16 11:30 Maciej Barć
2021-08-16 11:30 Maciej Barć
2021-11-28 18:28 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=1618601882.6c8bd373b7a11ae00c4aec2a588a2e63181c4a31.xgqt@gentoo \
--to=xgqt@riseup.net \
--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