[MacPorts] #67289: lua-luarocks explicitly does not install `luarocks` command ?
MacPorts
noreply at macports.org
Sat Apr 22 20:39:00 UTC 2023
#67289: lua-luarocks explicitly does not install `luarocks` command ?
---------------------------+--------------------
Reporter: jrjsmrtn | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: lua-luarocks |
---------------------------+--------------------
Description changed by jrjsmrtn:
Old description:
> The `lua-luarocks` Portfile explicitly prevents the installation of
> `luarocks`, `luarocks-admin` commands in its `post-destroot` step:
>
> {{{
> foreach branch ${lua.branches} {
> subport lua[join [split ${branch} .] ""]-luarocks {
> lua.version ${branch}
>
> post-destroot {
> # only install the Lua module files
> foreach dir {bin etc} {
> delete ${destroot}${prefix}/${dir}
> }
> }
> }}}
>
> Moreover, performing a `sudo port select --set luarocks lua51-luarocks`
> creates invalid symbolic links.
>
> Is there a reason for that ? Is there another way of installing Lua rocks
> ?
New description:
The `lua-luarocks` Portfile explicitly prevents the installation of
`luarocks`, `luarocks-admin` commands in its `post-destroot` step:
{{{
foreach branch ${lua.branches} {
subport lua[join [split ${branch} .] ""]-luarocks {
lua.version ${branch}
post-destroot {
# only install the Lua module files
foreach dir {bin etc} {
delete ${destroot}${prefix}/${dir}
}
}
}}}
Moreover, performing a `sudo port select --set luarocks lua51-luarocks`
fails:
{{{
Selecting 'lua51-luarocks' for 'luarocks' failed: The specified version
'lua51-luarocks' is not valid.
}}}
Is there a reason for that ? Is there another way of installing Lua rocks
?
--
--
Ticket URL: <https://trac.macports.org/ticket/67289#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list