Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752813

Summary: net-irc/weechat: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 657722    

Description Marek Szuba archtester 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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7badd7786ba4a87ea407be061329bfd7904f8b

commit 6c7badd7786ba4a87ea407be061329bfd7904f8b
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-20 21:20:46 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
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
    implementations.
    
    Closes: https://bugs.gentoo.org/752813
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../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(-)