pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/fennel



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Fri Dec 26 20:19:26 UTC 2025

Modified Files:
        pkgsrc/lang/fennel: Makefile distinfo
        pkgsrc/lang/fennel/patches: patch-Makefile

Log Message:
fennel: update to 1.6.0

* Support `extra-compiler-env` in options table when compiling.
* Accept `path` in options table of `fennel.install`.
* Improve printing of large integers in Lua 5.3+.
* Allow disk reads from compiler sandbox.
* Add `--to-be-closed` option for better stack traces in `with-open`
  on Lua 5.4.
* Stack traces from macro errors shouldn't contain compiler
  internals.
* Look for macros in `.fnlm` files in addition to `.fnl` files.
* Support `extra-env` in compiler API when evaluating in compiler
  scope.
* Allow `--compile-binary` to work on `.lua` and `.luac` files.
* Add `--lambda-as-fn` option to remove overhead from arg checking.
* Fix a bug where `,find` repl command didn't work on files with long
  names.
* Some 3-decimal string escapes ignored the 3rd digit;
  e.g. `\x7f` -> `\127` -> `\f7`.
* In PUC Lua 5.1, the escape `"\127"` compiled to a literal byte in
  the string.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/fennel/Makefile \
    pkgsrc/lang/fennel/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/fennel/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/fennel/Makefile
diff -u pkgsrc/lang/fennel/Makefile:1.5 pkgsrc/lang/fennel/Makefile:1.6
--- pkgsrc/lang/fennel/Makefile:1.5     Sun Oct 13 21:04:52 2024
+++ pkgsrc/lang/fennel/Makefile Fri Dec 26 20:19:25 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2024/10/13 21:04:52 yhardy Exp $
+# $NetBSD: Makefile,v 1.6 2025/12/26 20:19:25 ktnb Exp $
 
-DISTNAME=      1.5.1
-PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.5.1
+DISTNAME=      1.6.0
+PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.6.0
 CATEGORIES=    lang
 MASTER_SITES=  https://git.sr.ht/~technomancy/fennel/archive/
 DIST_SUBDIR=   fennel
Index: pkgsrc/lang/fennel/distinfo
diff -u pkgsrc/lang/fennel/distinfo:1.5 pkgsrc/lang/fennel/distinfo:1.6
--- pkgsrc/lang/fennel/distinfo:1.5     Sun Oct 13 21:04:52 2024
+++ pkgsrc/lang/fennel/distinfo Fri Dec 26 20:19:25 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2024/10/13 21:04:52 yhardy Exp $
+$NetBSD: distinfo,v 1.6 2025/12/26 20:19:25 ktnb Exp $
 
-BLAKE2s (fennel/1.5.1.tar.gz) = 7d22fcbc060374a63b2a9b60f41412ee3368fe16b08309262330d9b71b010705
-SHA512 (fennel/1.5.1.tar.gz) = 723f85d62ffc8fc2a958ba52ae491681274ed0b300352cf49067a3456b6f074e74e1540ae27ca102a3e7ccb47e32b3c4dbec6346ae2ede7282903246ef8c5b1d
-Size (fennel/1.5.1.tar.gz) = 306440 bytes
-SHA1 (patch-Makefile) = 8f3341ea92174e784bb64171886f25035a8bd640
+BLAKE2s (fennel/1.6.0.tar.gz) = b78ad999b139e7d605445203a5e5e83f89f016af706c6fa90f88f18a8fb3429f
+SHA512 (fennel/1.6.0.tar.gz) = ab08fdf6c084cf63e1e5eaa1b1819f22b2fffda5d7488f6b52a8266b990d8f40e15979f3db89698dd3e7f0b851fd91a2c9a09213f3f4f020b2d31e03ba989de6
+Size (fennel/1.6.0.tar.gz) = 318201 bytes
+SHA1 (patch-Makefile) = e3b0ce56b1705e917f841fd2d523fc438d701445

Index: pkgsrc/lang/fennel/patches/patch-Makefile
diff -u pkgsrc/lang/fennel/patches/patch-Makefile:1.4 pkgsrc/lang/fennel/patches/patch-Makefile:1.5
--- pkgsrc/lang/fennel/patches/patch-Makefile:1.4       Sun Oct 13 21:04:52 2024
+++ pkgsrc/lang/fennel/patches/patch-Makefile   Fri Dec 26 20:19:25 2025
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile,v 1.4 2024/10/13 21:04:52 yhardy Exp $
+$NetBSD: patch-Makefile,v 1.5 2025/12/26 20:19:25 ktnb Exp $
 
 Let pkgsrc add the shebang to the fennel launcher script
 Install manual pages relative to PKGMANDIR
 
---- Makefile.orig      2024-08-25 01:34:54.000000000 +0000
+--- Makefile.orig      2025-12-26 20:14:29.918851004 +0000
 +++ Makefile
-@@ -46,7 +46,7 @@ format: ; for f in $(SRC); do fnlfmt --f
+@@ -48,7 +48,7 @@ format: ; for f in $(SRC); do fnlfmt --f
  
  # All-in-one pure-lua script:
- fennel: src/launcher.fnl $(SRC) bootstrap/view.lua
+ fennel: src/launcher.fnl $(SRC) bootstrap/aot.lua $(PRECOMPILED)
 -      @echo "#!/usr/bin/env $(LUA)" > $@
 +      @echo "#!$(LUA_INTERPRETER)" > $@
        @echo "-- SPDX-License-Identifier: MIT" >> $@
        @echo "-- SPDX-FileCopyrightText: Calvin Rose and contributors" >> $@
        FENNEL_PATH=src/?.fnl $(LUA) bootstrap/aot.lua $< --require-as-include >> $@
-@@ -125,8 +125,8 @@ $(BIN_LUA_DIR)/src/liblua-mingw.a: $(BIN
+@@ -130,8 +130,8 @@ $(BIN_LUA_DIR)/src/liblua-mingw.a: $(LUA
  
  ## Install-related tasks:
  
@@ -25,7 +25,7 @@ Install manual pages relative to PKGMAND
  
  # The empty line in maninst is necessary for it to emit distinct commands
  define maninst =
-@@ -138,7 +138,7 @@ install: fennel fennel.lua
+@@ -143,7 +143,7 @@ install: fennel fennel.lua
        mkdir -p $(DESTDIR)$(BIN_DIR) && cp fennel $(DESTDIR)$(BIN_DIR)/
        mkdir -p $(DESTDIR)$(LUA_LIB_DIR) && cp fennel.lua $(DESTDIR)$(LUA_LIB_DIR)/
        $(foreach doc,$(MAN_DOCS),\
@@ -33,4 +33,4 @@ Install manual pages relative to PKGMAND
 +              $(call maninst,man/$(doc),$(DESTDIR)$(MAN_DIR)/$(doc)))
  
  uninstall:
-       rm $(DESTDIR)$(BIN_DIR)/fennel
+       rm -f $(DESTDIR)$(BIN_DIR)/fennel



Home | Main Index | Thread Index | Old Index