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

Bug 752936

Summary: dev-lua/luassert: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=752921
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 752945    
Bug Blocks: 657722, 752909, 752921    

Description Marek Szuba archtester gentoo-dev 2020-11-03 15:38:15 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 Marek Szuba archtester gentoo-dev 2020-11-10 12:29:01 UTC
The dev-lua/busted ticket is now a see-also rather than a hard dependency in order to avoid circular dependencies - busted depends *unconditionally* on luassert but the *test phase* of the latter requires busted.
Comment 2 Larry the Git Cow gentoo-dev 2020-11-28 16:17:42 UTC
The bug has been closed via the following commit(s):

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

commit e36ce11c257fb088b5e889c9b68f31ced1eb849b
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-11-28 16:00:16 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-11-28 16:16:38 +0000

    dev-lua/luassert: migrate to lua eclass
    
    Also adding and fixing tests.
    
    Bug: https://bugs.gentoo.org/628758
    Closes: https://bugs.gentoo.org/629658
    Closes: https://bugs.gentoo.org/752936
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 ...uassert-1.8.0-disable-highlightcolor-test.patch | 57 ++++++++++++++++++++++
 dev-lua/luassert/luassert-1.8.0-r100.ebuild        | 55 +++++++++++++++++++++
 dev-lua/luassert/metadata.xml                      |  6 ++-
 profiles/package.mask                              |  1 +
 4 files changed, 118 insertions(+), 1 deletion(-)