public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds
@ 2020-09-30 16:23 Marek Szuba
  2020-09-30 16:23 ` [gentoo-dev] [PATCH 1/4] lua.eclass: split some stuff out as lua-utils.eclass Marek Szuba
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Marek Szuba @ 2020-09-30 16:23 UTC (permalink / raw
  To: gentoo-dev

Same as lua.eclass and python-r1, this is a Lua version of
python-single-r1. Setting LUA_SINGLE_TARGETS allows one to choose the
(slotted) Lua implementation to build your ebuild against, optionally
including both single- and multi-implementation Lua packages as
dependencies.

Tested using modified ebuilds of the following packages:

 - dev-lua/lgi - the multi-impl package I previously used to test
   lua.eclass, rebuilt this time to make sure said eclass still works
   properly after having moved some variables and functions to
   lua-utils.eclass (it does);

 - x11-wm/awesome - single-implementation, unconditionally depends on
   both dev-lang/lua itself and dev-lua/lgi (as well as some other
   dev-lua packages used by the test suite, which however I ignored).
   Links fine against whichever Lua version is selected by
   LUA_SINGLE_TARGET, requiring correct LUA_TARGETS to be enabled for
   dev-lua/lgi in either case;

 - media-gfx/darktable - conditional dependency on dev-lang/lua
   controlled by USE=lua. Also builds fine, although with it only
   supporting lua-5.3+ there wasn't much I could do in terms of version
   switching beyond confirming that LUA_REQUIRED_USE correctly specifies
   that exactly one single target must be specified.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-01 20:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30 16:23 [gentoo-dev] [PATCH 0/4] Eclass for single-impl Lua ebuilds Marek Szuba
2020-09-30 16:23 ` [gentoo-dev] [PATCH 1/4] lua.eclass: split some stuff out as lua-utils.eclass Marek Szuba
2020-09-30 16:23 ` [gentoo-dev] [PATCH 2/4] lua.eclass: die if lua-single.eclass has already been loaded Marek Szuba
2020-09-30 16:23 ` [gentoo-dev] [PATCH 3/4] profiles/desc: describe LUA_SINGLE_TARGET Marek Szuba
2020-09-30 16:23 ` [gentoo-dev] [PATCH 4/4] lua-single.eclass: new eclass for single-implementation Lua ebuilds Marek Szuba
2020-10-01 18:31 ` [gentoo-dev] [PATCH 0/4] Eclass for single-impl " Daniel Pielmeier
2020-10-01 20:24   ` Marek Szuba
2020-10-01 20:49     ` Daniel Pielmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox