It was thus said that the Great Peter Billam once stated:
> Yes :-) downloading the lgdbm-20211118.52-0.src.rock into /tmp and
> luarocks install /tmp/lgdbm-20211118.52-0.src.rock
> installs it just fine :-) (thanks Sean!)
You're welcome.
> One thing that occurred to me is that the rockspec specifies
> dependencies = {
> "lua >=5.2, <5.5" -- 20211118 to allow lua5.4
> }
> but devuan daedalus comes with Lua 5.3.6
> and I'm wondering how 5.3.6 survives that "lua >=5.2, <5.5" criterion
> seeing that >= implies a numerical comparison,
> but 5.3.6 is not a valid number ...
>
> Do I have a good way to rewriting the "lua >=5.2, <5.5" test that will
> handle these NaN llua versions like 5.3.6 ?
It's testing versions, not numbers, so 5.3.6 is a valid version number.
You might want to read <https://semver.org/>. While Lua doesn't following
semantic versioning per that site, it does cover how a lot of software
"compares" version numbers.
-spc
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers