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:   yhardy
Date:           Sun Oct 13 21:04:53 UTC 2024

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

Log Message:
lang/fennel: update to fennel-1.5.1

== 1.5.1 / 2024-08-24

--- Bug Fixes

* `,doc`/`fennel.doc`: Don't mutate `:fnl/arglist` directly when
  showing callable form
* `(set (. tgt k1 ...) v)` now works on known globals and
  `$, $1 ... $9` in hashfns
* Macro quote expansion no longer breaks when `sym`, `list` or
  `sequence` is shadowed
* Bring `fennel.traceback` behavior closer to Lua's `traceback` by
  not modifying non-string and non-`nil` values.
* Avoid losing precision when compiling large numbers on LuaJIT.
* Add syntax for representing infinity and NaN values.

== 1.5.0 / 2024-06-23

--- New Features

* Macro `pick-values` is now a special, allowing it to emit better
  Lua output.
* Add `fennel.getinfo` as source-map-aware equivalent of
  `debug.getinfo`.
* Optimize allocation away when destructuring tables to tables.
* Allow `&` and `&as` in the same destructure clause.
* More consistent module-not-found warnings for `--require-as-include`.
* Improve compiler output for `and`/`or` forms with potential
  side-effects.
* Allow locals in places where they make sense rather than
  mid-expression.
* Accept `--keywords` option to add to the list of built-in
  Lua keywords.
* REPL completion now works on partial REPL commands:
  e.g. `,complete ,d` -> `,doc`.
* Tables in the REPL default to printing with limited depth.
* View settings in REPL can be changed:
  `(set ___repl___.view-opts.depth 100)`.
* Support dynamic field names in `(set (. tbl field) val)`.
* The `fennel.compile` function now accepts an AST, iterator, or file.
* Catch typos when a space is missing after a string.

--- Bug Fixes

* `(pick-values 0 (side-effects))` now correctly preserves side
  effects
* Don't non-nil assert on `_foo` arguments in `lambda`.
* Propagate compile options into `,compile` repl command.
* IIFEs emitted by `and`/`or` inside `(fn [...])` now propagate
  varargs.
* `macrodebug` on cyclic macro expansions now serialize to valid code
  (no `@1, ..`)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/fennel/Makefile \
    pkgsrc/lang/fennel/distinfo
cvs rdiff -u -r1.3 -r1.4 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.4 pkgsrc/lang/fennel/Makefile:1.5
--- pkgsrc/lang/fennel/Makefile:1.4     Thu May 30 20:17:34 2024
+++ pkgsrc/lang/fennel/Makefile Sun Oct 13 21:04:52 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2024/05/30 20:17:34 yhardy Exp $
+# $NetBSD: Makefile,v 1.5 2024/10/13 21:04:52 yhardy Exp $
 
-DISTNAME=      1.4.2
-PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.4.2
+DISTNAME=      1.5.1
+PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.5.1
 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.4 pkgsrc/lang/fennel/distinfo:1.5
--- pkgsrc/lang/fennel/distinfo:1.4     Thu May 30 20:17:34 2024
+++ pkgsrc/lang/fennel/distinfo Sun Oct 13 21:04:52 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2024/05/30 20:17:34 yhardy Exp $
+$NetBSD: distinfo,v 1.5 2024/10/13 21:04:52 yhardy Exp $
 
-BLAKE2s (fennel/1.4.2.tar.gz) = d546f3031d3a57468bfbfb73371dced0701fc9d5d7d28d4b4a47a00f7d5e46ab
-SHA512 (fennel/1.4.2.tar.gz) = 13b6020314d010566c7521b85065a446e09f8a0cfec9b9cb4bc2e23fe59369d105538bcb8a3a7cd865c399742d98a1742da932f8bde993c1136422f803069071
-Size (fennel/1.4.2.tar.gz) = 301195 bytes
-SHA1 (patch-Makefile) = c4f164619767ac323d8291cf40c0fa279af9995b
+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

Index: pkgsrc/lang/fennel/patches/patch-Makefile
diff -u pkgsrc/lang/fennel/patches/patch-Makefile:1.3 pkgsrc/lang/fennel/patches/patch-Makefile:1.4
--- pkgsrc/lang/fennel/patches/patch-Makefile:1.3       Thu May 30 20:17:34 2024
+++ pkgsrc/lang/fennel/patches/patch-Makefile   Sun Oct 13 21:04:52 2024
@@ -1,9 +1,9 @@
-$NetBSD: patch-Makefile,v 1.3 2024/05/30 20:17:34 yhardy Exp $
+$NetBSD: patch-Makefile,v 1.4 2024/10/13 21:04:52 yhardy Exp $
 
 Let pkgsrc add the shebang to the fennel launcher script
 Install manual pages relative to PKGMANDIR
 
---- Makefile.orig      2024-02-24 05:07:03.000000000 +0000
+--- Makefile.orig      2024-08-25 01:34:54.000000000 +0000
 +++ Makefile
 @@ -46,7 +46,7 @@ format: ; for f in $(SRC); do fnlfmt --f
  
@@ -14,18 +14,18 @@ Install manual pages relative to PKGMAND
        @echo "-- SPDX-License-Identifier: MIT" >> $@
        @echo "-- SPDX-FileCopyrightText: Calvin Rose and contributors" >> $@
        FENNEL_PATH=src/?.fnl $(LUA) bootstrap/aot.lua $< --require-as-include >> $@
-@@ -143,8 +143,8 @@ coverage: fennel
-       $(LUA) -lluacov test/init.lua
-       @echo "generated luacov.report.out"
+@@ -125,8 +125,8 @@ $(BIN_LUA_DIR)/src/liblua-mingw.a: $(BIN
+ 
+ ## Install-related tasks:
  
 -MAN_DOCS := man/man1/fennel.1 man/man3/fennel-api.3 man/man5/fennel-reference.5\
 -          man/man7/fennel-tutorial.7
 +MAN_DOCS := man1/fennel.1 man3/fennel-api.3 man5/fennel-reference.5\
 +          man7/fennel-tutorial.7
  
- ## The empty line in maninst is necessary for it to emit distinct commands
+ # The empty line in maninst is necessary for it to emit distinct commands
  define maninst =
-@@ -156,7 +156,7 @@ install: fennel fennel.lua
+@@ -138,7 +138,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),\



Home | Main Index | Thread Index | Old Index