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:           Thu May 30 20:17:34 UTC 2024

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

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

Changelog:

== 1.4.2 / 2024-02-23

=== Bug Fixes

* Fix a bug where `(tail! (f x))` could sometimes compile to
  `return return f(x)`
* Make `tail!` ensure its target is not a special form call
  like `(tail! (or x (f)))`
* Fix broken man page installation on `make install` in Fennel 1.4.1

== 1.4.1 / 2024-02-19

This was the last release that provided Linux arm32 binaries.

=== New Features

* Iterators accept locals wrapped in parens like all other multi-value
  bindings.
* `fennel.repl` is now a callable table, allowing the default
  `(fennel.repl)` options to be customized by setting option fields
  on the table itself.

=== Bug Fixes

* Fix a bug with metadata tables in `lambda` being ignored.
* Fix identity value for `band` operator.
* Fix a bug in `icollect` with `&into` and multiple values.
* `assert-repl`, as a drop-in replacement for `assert`, no longer
  takes an `opts` param
* Fix a bug where `(. (a-macro) k)` bypassed protections against
  invalid Lua output

=== Changes and Removals

* Deprecate the `__fennelrest` destructuring metamethod.

== 1.4.0 / 2023-12-01

=== Bug Fixes
* Prevent metadata from being accessible in compiler sandbox.

=== New Forms
* Add `tail!` which asserts that the argument is called in tail
  position.
* Add `assert-repl` to make an assertion which opens a repl when
  it fails.

=== New Features
* Add `--assert-as-repl` flag to replace `assert` calls with
  `assert-repl`.
* Allow you to return a value from the repl with `,return FORM`
  command.
* Save previous REPL values in `*1`, `*2`, and `*3` locals.
* Make repl prompt change when repl sessions get nested.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/fennel/Makefile \
    pkgsrc/lang/fennel/distinfo
cvs rdiff -u -r1.2 -r1.3 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.3 pkgsrc/lang/fennel/Makefile:1.4
--- pkgsrc/lang/fennel/Makefile:1.3     Sat Jul 22 21:38:17 2023
+++ pkgsrc/lang/fennel/Makefile Thu May 30 20:17:34 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2023/07/22 21:38:17 yhardy Exp $
+# $NetBSD: Makefile,v 1.4 2024/05/30 20:17:34 yhardy Exp $
 
-DISTNAME=      1.3.1
-PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.3.1
+DISTNAME=      1.4.2
+PKGNAME=       ${LUA_PKGPREFIX}-fennel-1.4.2
 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.3 pkgsrc/lang/fennel/distinfo:1.4
--- pkgsrc/lang/fennel/distinfo:1.3     Sat Jul 22 21:38:17 2023
+++ pkgsrc/lang/fennel/distinfo Thu May 30 20:17:34 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2023/07/22 21:38:17 yhardy Exp $
+$NetBSD: distinfo,v 1.4 2024/05/30 20:17:34 yhardy Exp $
 
-BLAKE2s (fennel/1.3.1.tar.gz) = 875fbe943b39ff69668c85ca2f4a3cd6c4ca23ff9da6ae6a5783bc9fd83f01bb
-SHA512 (fennel/1.3.1.tar.gz) = 421d479c4527898123020ecc231e5eea38c5f5f1216f4a0bed0a39b8123d6a21ba1b0e876d281dfde447fe000e34a81f706303b4daa2626cc7559c063990cd5f
-Size (fennel/1.3.1.tar.gz) = 293564 bytes
-SHA1 (patch-Makefile) = 37791a1b917854256dd2715b77297f3bf1d8fb04
+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

Index: pkgsrc/lang/fennel/patches/patch-Makefile
diff -u pkgsrc/lang/fennel/patches/patch-Makefile:1.2 pkgsrc/lang/fennel/patches/patch-Makefile:1.3
--- pkgsrc/lang/fennel/patches/patch-Makefile:1.2       Sat Jul 22 21:38:18 2023
+++ pkgsrc/lang/fennel/patches/patch-Makefile   Thu May 30 20:17:34 2024
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile,v 1.2 2023/07/22 21:38:18 yhardy Exp $
+$NetBSD: patch-Makefile,v 1.3 2024/05/30 20:17:34 yhardy Exp $
 
 Let pkgsrc add the shebang to the fennel launcher script
 Install manual pages relative to PKGMANDIR
 
---- Makefile.orig      2023-07-07 20:09:35.000000000 +0000
+--- Makefile.orig      2024-02-24 05:07:03.000000000 +0000
 +++ Makefile
-@@ -42,7 +42,7 @@ format: ; for f in $(SRC); do fnlfmt --f
+@@ -46,7 +46,7 @@ format: ; for f in $(SRC); do fnlfmt --f
  
  # All-in-one pure-lua script:
  fennel: src/launcher.fnl $(SRC) bootstrap/view.lua
--      echo "#!/usr/bin/env $(LUA)" > $@
-+      echo "#!$(LUA_INTERPRETER)" > $@
+-      @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 >> $@
-       chmod 755 $@
- 
-@@ -134,8 +134,8 @@ coverage: fennel
+@@ -143,8 +143,8 @@ coverage: fennel
        $(LUA) -lluacov test/init.lua
        @echo "generated luacov.report.out"
  
@@ -23,9 +23,9 @@ Install manual pages relative to PKGMAND
 +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
  define maninst =
- mkdir -p $(dir $(2)) && cp $(1) $(2)
-@@ -146,7 +146,7 @@ install: fennel fennel.lua
+@@ -156,7 +156,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