Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752717 - games-strategy/megaglest: migrate to lua eclasses
Summary: games-strategy/megaglest: migrate to lua eclasses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slotted-lua
  Show dependency tree
 
Reported: 2020-11-03 15:36 UTC by Marek Szuba
Modified: 2020-12-23 14:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2020-11-03 15:36:49 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-23 14:52:18 UTC
The bug has been closed via the following commit(s):

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

commit 00faca18e3b5d8a30bc3550195038f8a6b681b10
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-23 14:49:17 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-23 14:52:09 +0000

    games-strategy/megaglest: migrate to EAPI-7 and lua-single.eclass
    
    Lua migration: simple enough, needed the usual version-override patch.
    Upstream build scripts only use Lua up to and including 5.2, have
    confirmed that building against 5.3 fails.
    
    EAPI migration: don't talk to me about the old version of this ebuild.
    EVER.
    
    Closes: https://bugs.gentoo.org/752717
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/megaglest-3.11.1-cmake-lua.patch         |  25 ++++
 .../megaglest/megaglest-3.11.1-r100.ebuild         | 166 +++++++++++++++++++++
 profiles/package.mask                              |   1 +
 3 files changed, 192 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit d82c3cfbf857635eb7140cd0b4d191e8531b3c74
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-23 12:16:30 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-23 14:52:00 +0000

    games-strategy/megaglest-data: bump to EAPI-7
    
    Part of the migration of the game itself to lua-single.eclass. Note that
    since the files are now installed into /usr/share rather than /usr/games
    as per the current policy regarding game install locations and ownership,
    mixing EAPI-5 and EAPI-7 Megaglest ebuilds will badly break things.
    
    Bug: https://bugs.gentoo.org/752717
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../megaglest-data/megaglest-data-3.11.1-r1.ebuild | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)