[Bug 278202] databases/lua-lsqlite3: update to 0.9.6

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Apr 2025 09:08:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278202

--- Comment #5 from Pat Maddox <pat@patmaddox.com> ---
(In reply to Zsolt Udvari from comment #2)

> I want add test target and add lua-lunit to TEST_DEPENDS. The 'make test' fails

I investigated this some, here's what I found:

1. lunit is no longer maintained:
https://github.com/mrothNET/lunit?tab=readme-ov-file#actual-state
2. lunit originally released for Lua 5.1 only, no mention of it being updated:
https://github.com/mrothNET/lunit?tab=readme-ov-file#2008-01-05--release-04
3. lunit uses the Lua 5.1 module system:
https://github.com/mrothNET/lunit/blob/master/DOCUMENTATION#L16 which seems to
have changed. There's no mention of "module" function in 5.4 documentation,
hence the nil error
4. It looks like lunitx is now required to run the tests:
https://lua.sqlite.org/home/doc/tip/doc/lsqlite3.wiki#verification_tests

lunitx supports 5.4, and there's a commented out line in
https://lua.sqlite.org/home/file?name=test/tests-sqlite3.lua&ci=tip to require
lunitx instead of lunit.

Basically if you want `make test`, I think we need to have a lunitx port first.

Also note that the master site has changed to https://lua.sqlite.org/home/zip/

-- 
You are receiving this mail because:
You are the assignee for the bug.