lua-users home
lua-l archive

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


I also miss updated Figueiredo's lua libraries in luarocks repository. In my case I was needing `lbc`. So I have created updated rockspecs for `lcomplex` and `lbc` here:

https://gist.github.com/edubart/91c9a02bef7c36a233e6ca923b2de7d3
https://gist.github.com/edubart/85a329726a0668d988a4cca2fb04001a

For example latest `lcomplex` can be easily installed using the rockspecs above with the following command:

luarocks install https://gist.githubusercontent.com/edubart/91c9a02bef7c36a233e6ca923b2de7d3/raw/5c3892a6431fb294225e43ff2c432f2a2ab7a4f0/lcomplex-20180729-1.rockspec

And `lbc` with:
luarocks install https://gist.githubusercontent.com/edubart/85a329726a0668d988a4cca2fb04001a/raw/7a25c81d8b2c0d1f019fec7f83c8cf35cbb435fe/lbc-20180729-1.rockspec

Other ones I miss is `lqd` and `lmapn`, would be nice if someone with access to the `luarocks` user account in the luarocks website could update those libraries, or at least give update access to some trusted user willing to keep those libraries updated.


Em seg, 8 de abr de 2019 às 08:48, Thijs Schreijer <thijs@thijsschreijer.nl> escreveu:


On 8 Apr 2019, at 12:44, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

I am new to Lua. Will you be pushing the most recent version of the
library to luarocks, or is it recommended that the library be installed
"manually".

I wish I knew how to write rockspecs for my libraries so that I could
upload them to LuaRocks. I've asked for help here but I could not
understand the replies. I've attached what I have done, but I'm not
sure it works.
<lcomplex-100-1.rockspec>

It’s simpler than that. Leave the make stuff out of there, and LuaRocks will figure out the platform specifics (since Windows users have most trouble with Make anyway). Most of your modules are on LuaRocks anyway, and you can find the existing rock specs there ( https://luarocks.org/modules/luarocks/lcomplex )

Attached the simplified version, aligned with the previous versions as they live on LuaRocks. I think Hisham used to upload those and used the file-dates as the version number.

@hisham: dunno who owns the account they live under, but can you add this one?

Thijs