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
*: Drop maintainership.
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.8.0
## What's new in LuaRocks 3.8.0
* Support GitHub's protocol security changes transparently.
* The raw git:// protocol will stop working on GitHub. LuaRocks already
supports git+https:// as an alternative, but to avoid having to update
every rockspec in the repository that uses git://github.com, which would
require a large coordinated effort, LuaRocks now auto-converts github.com
and www.github.com URLs that use git:// to git+https://
* `luarocks test` has a new flag `--prepare` that checks, downloads and
installs the tool requirements and rockspec dependencies but does not
run the test suite for the rockspec being tested.
* Code tweaks so that LuaRocks can run on a Lua interpreter built without
the `debug` library.
* `luarocks upload` supports uploading pre-packaged `.src.rock` files.
* Configuration fixes for OpenBSD.
* Respect the existing value for the `variables.LUALIB` configuration
variable if given explicitly by the user in the config file, rather
than trying to override it with auto-detection.
* Windows fixes for setting file permissions:
* Revert the use of `Everyone` back to `*S-1-1-0`
* Quote the use of the `%USERNAME%` variable to support names with spaces
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.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
lua-rocks: mine.
Reset maintainership.
lua-rocks: Substitute PREFIX properly
lua-rocks: Force pkgsrc unzip. Otherwise it complains: Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-digestif-0.3-1-B5qFAU/digestif-0.3-1.src.rock: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/pkg/etc/luarocks/config-5.4.lua')
Add 'lua' category to Lua modules. While here, normalize some packages with strange variable order.
lua-rocks: Update to 3.3.1 This adds Lua 5.4 support, among many other features.
lua-rocks: Add LUA_VERSIONS_ACCEPTED
lua-rocks: Requires unzip.
Update devel/lua-rocks to version 2.4.4. Changes since version 2.4.3: * All platfoms: Do not halt a package deletion process when a file from the package is missing * Windows: Updated bundled binaries: Lua 5.1.5, Wget 1.19.4, 7zip 18.01 * Windows: updated installer to better handle gcc toolchains * Windows: fix detection of directories * Windows: fixes .def generation
Update luarocks to version 2.4.3. Version 2.4.3 - 12/Sep/2017 - Fixed display of pathnames in `luarocks show` - Improved check for write permissions when installing - Plus assorted bugfixes and improvements
Drop maintainership.
Update devel/lua-rocks to version 2.4.2. Version 2.4.2 - 30/Nov/2016 * Fixed conflict resolution on deploy/delete * Improved dependency check messages * Performance improvements when removing packages * Support user-defined `platforms` array in config file * Improvements in Lua interpreter version detection in Unix configure script * Relaxed Lua version detection to improve support for alternative implementations (e.g. Ravi) * Plus assorted bugfixes and improvements
Follow some http redirects.
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