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 BF1CF15802E for ; Thu, 27 Jun 2024 22:42:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F8BFE2B01; Thu, 27 Jun 2024 22:42:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10A11E2B01 for ; Thu, 27 Jun 2024 22:42:29 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 155B7335DC3 for ; Thu, 27 Jun 2024 22:42:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF0371D79 for ; Thu, 27 Jun 2024 22:42:24 +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: <1719528141.9aef446279680eb39edfddc91a8106bb18fdb117.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-1.5.0.ebuild X-VCS-Directories: dev-lang/fennel/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 9aef446279680eb39edfddc91a8106bb18fdb117 X-VCS-Branch: master Date: Thu, 27 Jun 2024 22:42:24 +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: cb49cf80-7dc7-473b-a1c9-9a8fd767a669 X-Archives-Hash: 300c6b2e51ec934309327d293f25fb53 commit: 9aef446279680eb39edfddc91a8106bb18fdb117 Author: Maciej Barć gentoo org> AuthorDate: Thu Jun 27 21:22:13 2024 +0000 Commit: Maciej Barć gentoo 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ć 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 +}