pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-rocks



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Mon Jan  5 22:10:35 UTC 2026

Modified Files:
        pkgsrc/devel/lua-rocks: Makefile PLIST distinfo
        pkgsrc/devel/lua-rocks/patches: patch-GNUmakefile
            patch-src_luarocks_core_cfg.lua

Log Message:
Update luarocks to 3.13.0.

Changes:
- Supports Lua 5.5!
- documentation fixes
- fix: check_lua_libdir reads liblua in binary mode


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/lua-rocks/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/lua-rocks/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/lua-rocks/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile \
    pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua

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

Modified files:

Index: pkgsrc/devel/lua-rocks/Makefile
diff -u pkgsrc/devel/lua-rocks/Makefile:1.20 pkgsrc/devel/lua-rocks/Makefile:1.21
--- pkgsrc/devel/lua-rocks/Makefile:1.20        Tue Jan 21 11:00:11 2025
+++ pkgsrc/devel/lua-rocks/Makefile     Mon Jan  5 22:10:35 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2025/01/21 11:00:11 nia Exp $
+# $NetBSD: Makefile,v 1.21 2026/01/05 22:10:35 alnsn Exp $
 
-DISTNAME=      luarocks-3.9.2
+DISTNAME=      luarocks-3.13.0
 PKGNAME=       ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/}
 CATEGORIES=    devel lua
 MASTER_SITES=  https://luarocks.org/releases/

Index: pkgsrc/devel/lua-rocks/PLIST
diff -u pkgsrc/devel/lua-rocks/PLIST:1.5 pkgsrc/devel/lua-rocks/PLIST:1.6
--- pkgsrc/devel/lua-rocks/PLIST:1.5    Wed Jan  4 22:27:08 2023
+++ pkgsrc/devel/lua-rocks/PLIST        Mon Jan  5 22:10:35 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/01/04 22:27:08 nikita Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/01/05 22:10:35 alnsn Exp $
 bin/luarocks-${LUADOTVER}
 bin/luarocks-admin-${LUADOTVER}
 ${LUA_EXAMPLESDIR}/config-${LUADOTVER}.lua
@@ -8,7 +8,6 @@ ${LUA_LDIR}/luarocks/admin/cmd/make_mani
 ${LUA_LDIR}/luarocks/admin/cmd/refresh_cache.lua
 ${LUA_LDIR}/luarocks/admin/cmd/remove.lua
 ${LUA_LDIR}/luarocks/admin/index.lua
-${LUA_LDIR}/luarocks/argparse.lua
 ${LUA_LDIR}/luarocks/build.lua
 ${LUA_LDIR}/luarocks/build/builtin.lua
 ${LUA_LDIR}/luarocks/build/cmake.lua
@@ -36,12 +35,16 @@ ${LUA_LDIR}/luarocks/cmd/unpack.lua
 ${LUA_LDIR}/luarocks/cmd/upload.lua
 ${LUA_LDIR}/luarocks/cmd/which.lua
 ${LUA_LDIR}/luarocks/cmd/write_rockspec.lua
+${LUA_LDIR}/luarocks/config.lua
 ${LUA_LDIR}/luarocks/core/cfg.lua
 ${LUA_LDIR}/luarocks/core/dir.lua
 ${LUA_LDIR}/luarocks/core/manif.lua
 ${LUA_LDIR}/luarocks/core/path.lua
 ${LUA_LDIR}/luarocks/core/persist.lua
 ${LUA_LDIR}/luarocks/core/sysdetect.lua
+${LUA_LDIR}/luarocks/core/types/query.lua
+${LUA_LDIR}/luarocks/core/types/result.lua
+${LUA_LDIR}/luarocks/core/types/rockspec.lua
 ${LUA_LDIR}/luarocks/core/util.lua
 ${LUA_LDIR}/luarocks/core/vers.lua
 ${LUA_LDIR}/luarocks/deplocks.lua
@@ -79,6 +82,7 @@ ${LUA_LDIR}/luarocks/path.lua
 ${LUA_LDIR}/luarocks/persist.lua
 ${LUA_LDIR}/luarocks/queries.lua
 ${LUA_LDIR}/luarocks/remove.lua
+${LUA_LDIR}/luarocks/repo_writer.lua
 ${LUA_LDIR}/luarocks/repos.lua
 ${LUA_LDIR}/luarocks/require.lua
 ${LUA_LDIR}/luarocks/results.lua
@@ -97,3 +101,5 @@ ${LUA_LDIR}/luarocks/type_check.lua
 ${LUA_LDIR}/luarocks/upload/api.lua
 ${LUA_LDIR}/luarocks/upload/multipart.lua
 ${LUA_LDIR}/luarocks/util.lua
+${LUA_LDIR}/luarocks/vendor/argparse.lua
+${LUA_LDIR}/luarocks/vendor/dkjson.lua

Index: pkgsrc/devel/lua-rocks/distinfo
diff -u pkgsrc/devel/lua-rocks/distinfo:1.13 pkgsrc/devel/lua-rocks/distinfo:1.14
--- pkgsrc/devel/lua-rocks/distinfo:1.13        Wed Jan  4 22:27:08 2023
+++ pkgsrc/devel/lua-rocks/distinfo     Mon Jan  5 22:10:35 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2023/01/04 22:27:08 nikita Exp $
+$NetBSD: distinfo,v 1.14 2026/01/05 22:10:35 alnsn Exp $
 
-BLAKE2s (luarocks-3.9.2.tar.gz) = 1bd8d012aaf04434ee67cb79eaedabee488073e1c78df7770f25d70d41bb8f66
-SHA512 (luarocks-3.9.2.tar.gz) = 7e93164bdcf35338e993822931a8e59957ab69c6e23236a7a075649c2f7cd173305c4ca6e9d115fc5e282cb76c21754d7adac92b21885006e5ee3bc06a9d0059
-Size (luarocks-3.9.2.tar.gz) = 256117 bytes
-SHA1 (patch-GNUmakefile) = 1f84ae6e926a57b07abcc65789d784c8e6a0fa75
-SHA1 (patch-src_luarocks_core_cfg.lua) = 24c8c7e66fa12b2daf67924ac8ae0a2458380250
+BLAKE2s (luarocks-3.13.0.tar.gz) = ef2940aa7ef02f117ea742fbc75950cc82905037e2f1f8555fe3602afdf5e3c5
+SHA512 (luarocks-3.13.0.tar.gz) = 44381bb7fd3d474f92b0d2d0bf492246907f88ac6d5bdbb30b889222d755681777042195cfbfa136c068e05db78896760d5aea28c2f60a46d2f30c4c28ba704b
+Size (luarocks-3.13.0.tar.gz) = 441909 bytes
+SHA1 (patch-GNUmakefile) = c4eff41351aa082e42ec0165ce3b299a48c22c14
+SHA1 (patch-src_luarocks_core_cfg.lua) = 55e853ef7e4d2dd428998316e17229de919b05b9

Index: pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile
diff -u pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile:1.1 pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile:1.2
--- pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile:1.1        Wed Jul  1 11:06:40 2020
+++ pkgsrc/devel/lua-rocks/patches/patch-GNUmakefile    Mon Jan  5 22:10:35 2026
@@ -1,43 +1,29 @@
-$NetBSD: patch-GNUmakefile,v 1.1 2020/07/01 11:06:40 nia Exp $
+$NetBSD: patch-GNUmakefile,v 1.2 2026/01/05 22:10:35 alnsn Exp $
 
 - Install suffixed binaries so multiple Lua versions can coexist.
 - Install config file to LUA_EXAMPLESDIR.
 
---- GNUmakefile.orig   2020-02-07 10:24:14.000000000 +0000
+--- GNUmakefile.orig   2025-12-28 23:01:55.000000000 +0000
 +++ GNUmakefile
-@@ -103,20 +103,20 @@ $(buildbinarydir)/luarocks-admin.exe: sr
- # Regular install
- # ----------------------------------------
+@@ -109,8 +109,8 @@ INSTALL_FILES =
  
--INSTALL_FILES = $(DESTDIR)$(bindir)/luarocks \
--      $(DESTDIR)$(bindir)/luarocks-admin \
--      $(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua \
-+INSTALL_FILES = $(DESTDIR)$(bindir)/luarocks-$(LUA_VERSION) \
-+      $(DESTDIR)$(bindir)/luarocks-admin-$(LUA_VERSION) \
-+      $(DESTDIR)$(PREFIX)/$(LUA_EXAMPLESDIR)/config-$(LUA_VERSION).lua \
-       $(patsubst src/%, $(DESTDIR)$(luadir)/%, $(LUAROCKS_FILES))
- 
- install: $(INSTALL_FILES)
- 
--install-config: $(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua
-+install-config: $(DESTDIR)$(PREFIX)/$(LUA_EXAMPLESDIR)/config-$(LUA_VERSION).lua
- 
--$(DESTDIR)$(bindir)/luarocks: $(builddir)/luarocks
-+$(DESTDIR)$(bindir)/luarocks-$(LUA_VERSION): $(builddir)/luarocks
-       mkdir -p "$(@D)"
-       $(INSTALL) "$<" "$@"
- 
--$(DESTDIR)$(bindir)/luarocks-admin: $(builddir)/luarocks-admin
-+$(DESTDIR)$(bindir)/luarocks-admin-$(LUA_VERSION): $(builddir)/luarocks-admin
-       mkdir -p "$(@D)"
-       $(INSTALL) "$<" "$@"
- 
-@@ -124,7 +124,7 @@ $(DESTDIR)$(luadir)/luarocks/%.lua: src/
-       mkdir -p "$(@D)"
-       $(INSTALL_DATA) "$<" "$@"
- 
--$(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua: $(builddir)/config-$(LUA_VERSION).lua
-+$(DESTDIR)$(PREFIX)/$(LUA_EXAMPLESDIR)/config-$(LUA_VERSION).lua: $(builddir)/config-$(LUA_VERSION).lua
-       mkdir -p "$(@D)"
-       $(INSTALL_DATA) "$<" "$@"
+ install: all install-config
+       mkdir -p '$(DESTDIR)$(bindir)/'
+-      $(INSTALL) '$(builddir)/luarocks' '$(DESTDIR)$(bindir)/luarocks'
+-      $(INSTALL) '$(builddir)/luarocks-admin' '$(DESTDIR)$(bindir)/luarocks-admin'
++      $(INSTALL) '$(builddir)/luarocks' '$(DESTDIR)$(bindir)/luarocks-$(LUA_VERSION)'
++      $(INSTALL) '$(builddir)/luarocks-admin' '$(DESTDIR)$(bindir)/luarocks-admin-$(LUA_VERSION)'
+       find src/luarocks/ -type d | while read f; \
+       do \
+          mkdir -p '$(DESTDIR)$(luadir)'/`echo $$f | sed 's,^src/,,'`; \
+@@ -131,8 +131,8 @@ ifeq (,$(findstring $(LUA_VERSION),"5.3"
+ endif
+ 
+ install-config:
+-      mkdir -p '$(DESTDIR)$(luarocksconfdir)/'
+-      $(INSTALL_DATA)  '$(builddir)/config-$(LUA_VERSION).lua' '$(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua'
++      mkdir -p '$(DESTDIR)$(PREFIX)/$(LUA_EXAMPLESDIR)/'
++      $(INSTALL_DATA)  '$(builddir)/config-$(LUA_VERSION).lua' '$(DESTDIR)$(PREFIX)/$(LUA_EXAMPLESDIR)/config-$(LUA_VERSION).lua'
  
+ uninstall:
+       rm -rf $(DESTDIR)$(bindir)/luarocks \
Index: pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua
diff -u pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua:1.1 pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua:1.2
--- pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua:1.1  Thu Jul  2 12:13:36 2020
+++ pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua      Mon Jan  5 22:10:35 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_luarocks_core_cfg.lua,v 1.1 2020/07/02 12:13:36 nia Exp $
+$NetBSD: patch-src_luarocks_core_cfg.lua,v 1.2 2026/01/05 22:10:35 alnsn Exp $
 
 It seems to not like NetBSD unzip(1).
 
---- src/luarocks/core/cfg.lua.orig     2020-02-07 10:24:14.000000000 +0000
+--- src/luarocks/core/cfg.lua.orig     2025-12-28 23:01:55.000000000 +0000
 +++ src/luarocks/core/cfg.lua
-@@ -253,7 +253,7 @@ local function make_defaults(lua_version
+@@ -251,7 +251,7 @@ local function make_defaults(lua_version
           MKTEMP = "mktemp",
  
           ZIP = "zip",



Home | Main Index | Thread Index | Old Index