Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752813 - net-irc/weechat: migrate to lua eclasses
Summary: net-irc/weechat: migrate to lua eclasses
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
Depends on:
Blocks: slotted-lua
  Show dependency tree
Reported: 2020-11-03 15:37 UTC by Marek Szuba
Modified: 2020-12-20 21:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba gentoo-dev 2020-11-03 15:37:27 UTC
In order for Gentoo Linux to properly support side-by-side installation of
different versions of Lua (including LuaJIT), please migrate this package as
to lua.eclass (for packages which should support multiple Lua implementations
at the same time, i.e. most likely Lua modules) or lua-single.eclass (for
packages which only have to support one Lua implementation at a time). For
details, consult documentation of respective eclasses as well as
already-migrated ebuilds in the tree.

Please note that since slotted dev-lang/lua is currently masked, your
migrated ebuilds should be masked as well. There is a section of package.mask,
created in September 2020, which you can use for this purpose so that it will
be easier in the future to unmask them all in one go.

Thank you in advance for your effort!
Comment 1 Larry the Git Cow gentoo-dev 2020-12-20 21:25:13 UTC
The bug has been closed via the following commit(s):

commit 6c7badd7786ba4a87ea407be061329bfd7904f8b
Author:     Marek Szuba <>
AuthorDate: 2020-12-20 21:20:46 +0000
Commit:     Marek Szuba <>
CommitDate: 2020-12-20 21:25:04 +0000

    net-irc/weechat: migrate to lua-single.eclass
    Both the latest release and the live ebuild.
    Upstream build scripts use pkg-config to find Lua so there is no need
    to pass Lua version to cmake + it might support LuaJIT. On the other hand,
    they only fall back to unversioned module name having enumerated
    supported versions so some patching is still necessary.
    Both migrated ebuilds build, test and install fine for all supported Lua
    Signed-off-by: Marek Szuba <>

 .../files/weechat-3.0-cmake_lua_version.patch      |   9 ++
 net-irc/weechat/weechat-3.0-r100.ebuild            | 170 +++++++++++++++++++++
 net-irc/weechat/weechat-9999.ebuild                |  11 +-
 profiles/package.mask                              |   1 +
 4 files changed, 189 insertions(+), 2 deletions(-)