public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/fennel/
Date: Thu, 27 Jun 2024 22:42:24 +0000 (UTC)	[thread overview]
Message-ID: <1719528141.9aef446279680eb39edfddc91a8106bb18fdb117.xgqt@gentoo> (raw)

commit:     9aef446279680eb39edfddc91a8106bb18fdb117
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 21:22:13 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 22:42:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aef4462

dev-lang/fennel: bump to 1.5.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/fennel/Manifest            |  1 +
 dev-lang/fennel/fennel-1.5.0.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest
index 2969695a6497..3369c7970130 100644
--- a/dev-lang/fennel/Manifest
+++ b/dev-lang/fennel/Manifest
@@ -1 +1,2 @@
 DIST fennel-1.4.2.tar.gz 301195 BLAKE2B f5a124725b4d2573275f179090b0400ed07dcc50d6ae661dd588887b8774a2cb48ab9f720dfb7bc7049d1e353f430e75da48e9a08b716cc1a80e4e09bf269bc7 SHA512 13b6020314d010566c7521b85065a446e09f8a0cfec9b9cb4bc2e23fe59369d105538bcb8a3a7cd865c399742d98a1742da932f8bde993c1136422f803069071
+DIST fennel-1.5.0.tar.gz 304755 BLAKE2B f7e7661b48925a40194aa8feaf2baf3209fa50ed87ae6e1c9976484682fee91206643cb7361200ca7f30f55a89e4534f1dcdf0e4a6bf73e084229e86979c5490 SHA512 64403e187cf9fa8939784cfeb518d26e52aee4eac3533592021e5c45864a16f1e1f6a7fd95838110f38ec8478eec7f78b961b70fc79c89da5959de81230b1e22

diff --git a/dev-lang/fennel/fennel-1.5.0.ebuild b/dev-lang/fennel/fennel-1.5.0.ebuild
new file mode 100644
index 000000000000..59c8d6da9566
--- /dev/null
+++ b/dev-lang/fennel/fennel-1.5.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Fails to build with "lua5-1".
+LUA_COMPAT=( lua5-{3,4} luajit )
+
+inherit lua-single
+
+DESCRIPTION="Lisp-like language that compiles to Lua"
+HOMEPAGE="https://fennel-lang.org/
+	https://sr.ht/~technomancy/fennel/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://git.sr.ht/~technomancy/${PN}"
+else
+	SRC_URI="https://git.sr.ht/~technomancy/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+	${LUA_DEPS}
+"
+BDEPEND="
+	${RDEPEND}
+"
+
+src_prepare() {
+	default
+
+	# Turn off failing tests. bug https://bugs.gentoo.org/906351
+	sed -e 's|"failures",||' -e 's|"repl",||' -i test/init.lua || die
+
+	# Remove bad tests, bug #923281
+	rm test/macro.fnl || die
+	sed -i test/init.lua -e 's|"test.macro",||' || die
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install
+
+	dodoc *.md
+}


             reply	other threads:[~2024-06-27 22:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 22:42 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 15:00 [gentoo-commits] repo/gentoo:master commit in: dev-lang/fennel/ Maciej Barć
2024-04-13 22:56 Maciej Barć
2024-02-24 21:50 Maciej Barć
2024-01-30 19:58 Maciej Barć
2024-01-30 19:58 Maciej Barć
2024-01-21  7:58 Viorel Munteanu
2024-01-15  3:32 Ionen Wolkens
2023-12-14  4:15 Sam James
2023-09-16 14:48 Maciej Barć
2023-09-02 14:30 Maciej Barć
2023-07-10 18:56 Maciej Barć
2023-07-10 18:56 Maciej Barć
2023-05-15 19:33 Maciej Barć
2023-05-06  9:59 Arthur Zamarin
2023-02-14 10:42 Maciej Barć
2023-02-14 10:42 Maciej Barć
2023-02-14 10:42 Maciej Barć
2023-01-21  9:22 Arthur Zamarin
2022-10-17  2:13 Maciej Barć
2022-10-17  2:13 Maciej Barć
2022-08-29  2:38 Maciej Barć
2022-08-29  2:38 Maciej Barć
2022-08-14 20:06 Sam James
2022-04-16 16:29 Maciej Barć
2022-02-01 22:23 Maciej Barć
2022-02-01 22:23 Maciej Barć
2021-11-28 18:27 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=1719528141.9aef446279680eb39edfddc91a8106bb18fdb117.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