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

Bug 752906

Summary: dev-lua/mpack: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba (RETIRED) <marecki>
Component: Current packagesAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 752921    
Bug Blocks: 657722, 752912    

Description Marek Szuba (RETIRED) archtester gentoo-dev 2020-11-03 15:38:03 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-11-28 22:29:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370d960c1d6725cf89e35ea7e542405e532d6059

commit 370d960c1d6725cf89e35ea7e542405e532d6059
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-11-28 22:14:40 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-11-28 22:28:24 +0000

    dev-lua/mpack: migrate to lua.eclass
    
    Had to suppress tests for the luajit target (one of the tests
    checks for memory leaks and LuaJIT does leak memory) as well as prevent
    the module from being unnecessarily linked against liblua (upstream have
    already fixed this, unfortunately a bump to a recent version would not be
    trivial). Otherwise, simple enough.
    
    Closes: https://bugs.gentoo.org/752906
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-lua/mpack/mpack-1.0.4-r100.ebuild | 86 +++++++++++++++++++++++++++++++++++
 profiles/package.mask                 |  1 +
 2 files changed, 87 insertions(+)