summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2024-03-28 16:13:00 -0300
committerJoseph Mingrone <jrm@FreeBSD.org>2024-03-28 19:29:22 -0300
commite202fa611899daabf0d2c694e7ad2590babcc415 (patch)
tree35840b9c4a7bdbcf45807bdd4595fb56b1e68722
parentmultimedia/libzen: Adjust package version (diff)
lang/fennel: Update to 1.4.2 and fix test
Fix one test that was failing because it could only find lua executables with a version in the filename if it was in the form luax.y (e.g., lua5.4), but not luaxy (e.g., lua54) as we have. Changelog: https://git.sr.ht/~technomancy/fennel/tree/1.4.2/item/changelog.md Sponsored by: The FreeBSD Foundation
-rw-r--r--lang/fennel/Makefile2
-rw-r--r--lang/fennel/distinfo6
-rw-r--r--lang/fennel/files/patch-test_cli.fnl11
3 files changed, 15 insertions, 4 deletions
diff --git a/lang/fennel/Makefile b/lang/fennel/Makefile
index 34c2a535fcad..7c9f7820855e 100644
--- a/lang/fennel/Makefile
+++ b/lang/fennel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fennel
-DISTVERSION= 1.4.0
+DISTVERSION= 1.4.2
CATEGORIES= lang
MASTER_SITES= https://git.sr.ht/~technomancy/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
diff --git a/lang/fennel/distinfo b/lang/fennel/distinfo
index 06b00697e3dd..68920cff0d23 100644
--- a/lang/fennel/distinfo
+++ b/lang/fennel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708266745
-SHA256 (fennel-1.4.0.tar.gz) = 375892126dae7fa80f727db613ccb7480d18c958cd00f9f6c8c3f82ab1751f98
-SIZE (fennel-1.4.0.tar.gz) = 299561
+TIMESTAMP = 1711634594
+SHA256 (fennel-1.4.2.tar.gz) = d507e6a99d856c73ddef117ec8dddcb614d42a424b0dbb8f84a4487b63ecac4c
+SIZE (fennel-1.4.2.tar.gz) = 301195
diff --git a/lang/fennel/files/patch-test_cli.fnl b/lang/fennel/files/patch-test_cli.fnl
new file mode 100644
index 000000000000..4166a1e1d410
--- /dev/null
+++ b/lang/fennel/files/patch-test_cli.fnl
@@ -0,0 +1,11 @@
+--- test/cli.fnl.orig 2024-03-28 21:47:12 UTC
++++ test/cli.fnl
+@@ -14,7 +14,7 @@
+ (p:read :*all)
+ (if (p:close)
+ long
+- "lua")))
++ (or (os.getenv "LUA") "lua"))))
+
+ (fn file-exists? [filename]
+ (let [f (io.open filename)]