diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-10 16:50:47 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-10 20:55:57 +0200 |
commit | ca0a5dc844f79476539c145188becac5b6d9325f (patch) | |
tree | 44d784983faa7399ae8a2643e3c20622e826d842 /dev-lang/fennel | |
parent | dev-lang/fennel: drop old 1.2.1 (diff) | |
download | gentoo-ca0a5dc844f79476539c145188becac5b6d9325f.tar.gz gentoo-ca0a5dc844f79476539c145188becac5b6d9325f.tar.bz2 gentoo-ca0a5dc844f79476539c145188becac5b6d9325f.zip |
dev-lang/fennel: bump to 1.3.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/fennel')
-rw-r--r-- | dev-lang/fennel/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/fennel/fennel-1.3.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-lang/fennel/Manifest b/dev-lang/fennel/Manifest index 86444fffab37..ed06aecc5add 100644 --- a/dev-lang/fennel/Manifest +++ b/dev-lang/fennel/Manifest @@ -1 +1,2 @@ DIST fennel-1.3.0.tar.gz 280241 BLAKE2B b8b79b7c439d68e8e3e3eedbd50e8789cccad2a278df908d7432501722077ab884a0d18927a853fea70fc1ec682e929d5337b087662b64b0da4e0fffcad62d9f SHA512 b4b9b96f71d1cbbf5c81eae737aca01f7d417a227925d19008a923f5045a86a355297f927ecdb719653097f73d6d6df148955b1973e4483dd14e863384ca0ff3 +DIST fennel-1.3.1.tar.gz 293564 BLAKE2B 9fc465a06d8df86468197408dbb2c4e1c20a630911d1d999763cb274ed5bafa8dc4260416f10edc294bb9b7e56379f7842137d016059f0f2bc61d15391449447 SHA512 421d479c4527898123020ecc231e5eea38c5f5f1216f4a0bed0a39b8123d6a21ba1b0e876d281dfde447fe000e34a81f706303b4daa2626cc7559c063990cd5f diff --git a/dev-lang/fennel/fennel-1.3.1.ebuild b/dev-lang/fennel/fennel-1.3.1.ebuild new file mode 100644 index 000000000000..adcd82b5141e --- /dev/null +++ b/dev-lang/fennel/fennel-1.3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Fails to build with 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 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +BDEPEND="${RDEPEND}" + +src_prepare() { + default + + # Turn off broken(?) tests. bug https://bugs.gentoo.org/906351 + sed -i -e 's|"failures",||' -e 's|"repl",||' test/init.lua || die +} + +src_install() { + emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install + + dodoc *.md +} |