pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-rocks lua-rocks: Update to 3.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd77955f4117
branches:  trunk
changeset: 443674:fd77955f4117
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 19 11:30:24 2020 +0000

description:
lua-rocks: Update to 3.5.0

## What's new in LuaRocks 3.4.0

### Features

* `luarocks make` now supports `--only-deps`
* `luarocks make` new flag: `--no-install`, which only performs
  the compilation step
* `--deps-only` is now an alias for `--only-deps` (useful in case
  you always kept getting it wrong, like me!)
* `luarocks build` and `luarocks make` now support using
  `--pin` and `--only-deps` at the same time, to produce a lock
  file of dependencies in use without installing the main package.
* `luarocks show` can now accept a substring of the rock's name,
  like `list`.
* `luarocks config`: when running without system-wide permissions,
  try storing the config locally by default.
  Also, if setting both lua_dir and --lua-version explicitly,
  auto-switch the default Lua version.
* `luarocks` with no arguments now prints more info about the
  location of the Lua interpreter which is being used
* `luarocks new_version` now keeps the old URL if the MD5 doesn't
  change.
* `DEPS_DIR` is now accepted as a generic variable for dependency
  directories (e.g. `luarocks install foo DEPS_DIR=/usr/local`)
* Handle quoting of arguments at the application level, for
  improved Windows support
* All-in-one binary bundles `dkjson`, so it runs `luarocks upload`
  without requiring any additional dependencies.
* Tweaks for Terra compatibility

### Fixes

* win32: generate proper temp filename
* No longer assume that Lua 5.3 is built with compat libraries and
  bundles `bit32`
* `luarocks show`: do not crash when rockspec description is empty
* When detecting the location of `lua.h`, check that its version
  matches the version of Lua being used
* Fail gracefully when a third-party tool (wget, etc.) is missing
* Fix logic for disabling mirrors that return network errors
* Fix detection of Lua path based on arg variable
* Fix regression on dependency matching of luarocks.loader

diffstat:

 devel/lua-rocks/Makefile |   9 +++++----
 devel/lua-rocks/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (42 lines):

diff -r 70eba3db2bac -r fd77955f4117 devel/lua-rocks/Makefile
--- a/devel/lua-rocks/Makefile  Sat Dec 19 11:28:06 2020 +0000
+++ b/devel/lua-rocks/Makefile  Sat Dec 19 11:30:24 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2020/07/02 20:53:10 nia Exp $
+# $NetBSD: Makefile,v 1.16 2020/12/19 11:30:24 nia Exp $
 
-DISTNAME=      luarocks-3.3.1
+DISTNAME=      luarocks-3.5.0
 PKGNAME=       ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/}
-PKGREVISION=   1
 CATEGORIES=    devel lua
 MASTER_SITES=  https://luarocks.org/releases/
 
@@ -20,7 +19,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PREFER.unzip=  pkgsrc
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.unzip=  # it seems to not like netbsd unzip(1)
+.endif
 
 HAS_CONFIGURE= yes
 USE_LANGUAGES= # none
diff -r 70eba3db2bac -r fd77955f4117 devel/lua-rocks/distinfo
--- a/devel/lua-rocks/distinfo  Sat Dec 19 11:28:06 2020 +0000
+++ b/devel/lua-rocks/distinfo  Sat Dec 19 11:30:24 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2020/07/02 12:13:36 nia Exp $
+$NetBSD: distinfo,v 1.8 2020/12/19 11:30:24 nia Exp $
 
-SHA1 (luarocks-3.3.1.tar.gz) = b85a4afd890d172994f4ebc95fe647f71de7eeb4
-RMD160 (luarocks-3.3.1.tar.gz) = 937a2d6d62474e3245927dc77fbe982b8ca4f2bb
-SHA512 (luarocks-3.3.1.tar.gz) = 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a
-Size (luarocks-3.3.1.tar.gz) = 241636 bytes
+SHA1 (luarocks-3.5.0.tar.gz) = 6bede6287c588f0501e601da058c6d4724af21ad
+RMD160 (luarocks-3.5.0.tar.gz) = f0dbd59585cee9d53f461d31e55c614e94f9641d
+SHA512 (luarocks-3.5.0.tar.gz) = fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a
+Size (luarocks-3.5.0.tar.gz) = 244798 bytes
 SHA1 (patch-GNUmakefile) = 1f84ae6e926a57b07abcc65789d784c8e6a0fa75
 SHA1 (patch-src_luarocks_core_cfg.lua) = 24c8c7e66fa12b2daf67924ac8ae0a2458380250



Home | Main Index | Thread Index | Old Index