Hi all,

I have the following use cases and I want to know the best way to handle them.
(currently, I've published simple rockspec which can not handle variants)

1) lua-CoatPersistent - https://github.com/fperrad/lua-CoatPersistent
2 variants, the first over LuaSQL, the second over lsqlite3.
I'll handle that with 2 rockspec : lua-CoatPersistent-LuaSQL and
lua-CoatPersistent-lsqlite3 (like variants of LuaSQL).

2) lua-CodeGen - https://github.com/fperrad/lua-CodeGen
2 variants, the first uses Lua regex, the second uses LPeg.
I'll handle that with 2 rockspec : lua-CodeGen and lua-CodeGen-LPeg.

3) ljsyscall - https://github.com/justincormack/ljsyscall
The initial rockspec installs all files. Hisham tweaks it, with
conditional platform (OS: linux, osx, ...).
It could be nice to add condition on architecture (arm, mips, x86,
...) when the info is available (ie. jit.arch with LuaJIT)

4) lua-MessagePack - https://github.com/fperrad/lua-MessagePack (not urgent)
2 variants, the first for all current Lua intepreters, the second for
Lua 5.3 (heavy use of the new idiv operator).
How to add conditional in a single rockspec for this case ?
With multiple rockspec, which is the naming convention ? like for lrandom ?

Thanks for your attention.

Francois

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to