Up to [cvs.NetBSD.org] / pkgsrc / devel / lua-rocks
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lua-rocks: fix PLIST for lua51 and lua52
Update luarocks to 3.13.0. Changes: - Supports Lua 5.5! - documentation fixes - fix: check_lua_libdir reads liblua in binary mode
lua-rocks: update to version 3.9.2
## What's new in LuaRocks 3.9.1
* Fixed error message when Lua library is not found
* Fixed build of Windows binary
* A couple of minor feature additions:
* API: `loader.which` has a new mode for searching `package.path/cpath`
* Adds a new second argument, `where`, a string which indicates places
to search for the module. If `where` contains `"l"`, it will search
using the LuaRocks loader; if it contains `"p"`, it will look in the
filesystem using `package.path` and `package.cpath`. You can use both
at the same time.
* `--no-project` flag can be used to override `.luarocks` project directory
detection
## What's new in LuaRocks 3.9.0
* `builtin` build mode now always respects CC, CFLAGS and LDFLAGS
* Check that lua.h version matches the desired Lua version
* Check that the version of the Lua C library matches the desired Lua version
* Fixed deployment of non-wrapped binaries
* Fixed crash when `--lua-version` option is malformed
* Fixed help message for `--pin` option
* Unix: use native methods and don't always rely on $USER to determine user
* Windows: use native CLI tooling more
* macOS: support .tbd extension when checking for libraries
* macOS: add XCode SDK path to search paths
* macOS: add best-effort heuristic for library search using Homebrew paths
* macOS: avoid quoting issues with LIBFLAG
* macOS: deployment target is now 11.0 on macOS 11+
* added DragonFly BSD support
* LuaRocks test suite now runs on Lua 5.4 and LuaJIT
* Internal dependencies of standalone LuaRocks executable were bumped
lua-rocks: update to 3.7.0
## What's new in LuaRocks 3.7.0
* Improved connectivity resiliency
* LuaRocks can now use mirrors for downloading rocks even if downloading
the manifest from the main server succeeds.
In previous versions, LuaRocks would check whether to use a mirror in the first
download operation, when it fetches the manifest. Once the server
(luarocks.org or one of its default mirrors) was chosen, it would stick with
it for the rest of the command.
The resulting behavior was that if the manifest fails to load, it switches to
a mirror and continues from there. But if the manifest fetches ok and the then
actual rock download fails, it would give up, instead of trying that in a
mirror as well.
Now, it retries every download on a mirror whenever the base URL matches one
configured in cfg.rocks_servers. The original behavior was satisfactory if
there was complete downtime in the main server, but this new behavior should
make the CLI much more resilient with regard to any intermittent failures
happening on the main server.
* On Unix, it now respects environment variables $XDG_CACHE_HOME and $XDG_CONFIG_HOME
* This means the user's configuration typically resides in ~/.config/luarocks/
as per the XDG standard
* The legacy path ~/.luarocks/ continues to be tested first, for backwards
compatibility
* Fixes check for the default Lua version set in the user's home configuration
* Fixes an issue on Windows where it would incorrectly revoke permissions
from the current user when installing
## What's new in LuaRocks 3.6.0
* Adds a double-check step to verify that all files from a rock are installed
* Improve resilience of the manifest reader to deal with manifests
written with older versions of LuaRocks lower than 3.0
* `luarocks pack` now checks that the directory inside the archive being packed
as a `.src.rock` actually exists, refusing to pack an invalid rock from
a badly configured rockspec.
* Fixes behavior of `luarocks pack` when the `url` entry of a rockspec
points to a bare file.
* Remove an entry from the manifest if the rock itself is already missing
* The `configure` script now checks that the version of `lua.h`
found matches that of the Lua interpreter detected or configured
* Fixes the renaming of scripts when multiple versions are installed
* Fixes availability check for `svn` for rockspecs using Subversion
* Fixes for running with an empty PATH environment variable
* Portability improvements:
* Windows: vcvarsall.bat output is now properly redirected to NUL
meaning that the output of `luarocks path` can be used in scripts
* Fixes autodetection for Cygwin
* Handles macOS versions greater than 10.10
* Adds platform specific configurations for NetBSD
* Respects CC/CFLAGS/LDFLAGS on FreeBSD
* Luacheck now runs on the LuaRocks CI
* Distributed binaries are built using Lua 5.3
lua-rocks: Update to 3.3.1 This adds Lua 5.4 support, among many other features.
Update devel/lua-rocks to 2.4.1. What's new since 2.3.0: * New test suite based on Busted; runs on Linux, OSX and Windows. This test suite was developed by Robert Karasek as his Google Summer of Code project for LabLua. You can check out the combined coverage of all platforms at CodeCov: https://codecov.io/gh/keplerproject/luarocks/ * git+ssh:// fetch protocol * Improved behavior preserving permissions * Improved listing of dependencies on installation * Improved behavior of argument handling in `pack` * MSYS and Haiku platform detection * Feature-based detection of internal bit32 and utf8 modules * Internal reorganization of luarocks.fs code * `remove` option --force=fast renamed to --force-fast * Plus assorted bugfixes and cleanups What's new since 2.4.0: * Avoid coroutine use inside luarocks.loader, that apparently affected OpenResty's require() * Fix upgrade issues for old versions (e.g. when upgrading from LuaRocks 2.1.0)
Initial import of devel/lua-rocks version 2.3.0. LuaRocks is a deployment and management system for Lua modules. It allows you to install Lua modules as self-contained packages called rocks, which also contain version dependency information. This information can be used both during installation, so that when one rock is requested all rocks it depends on are installed as well, and also optionally at run time, so that when a module is required, the correct version is loaded. LuaRocks supports both local and remote repositories, and multiple local rocks trees.
Initial revision