Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752834 - sci-geosciences/osm2pgsql: migrate to lua eclasses
Summary: sci-geosciences/osm2pgsql: 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: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slotted-lua
  Show dependency tree
 
Reported: 2020-11-03 15:37 UTC by Marek Szuba
Modified: 2020-12-23 11:48 UTC (History)
1 user (show)

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:37:35 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 11:48:50 UTC
The bug has been closed via the following commit(s):

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

commit 73b87ef1bb28bd52657bcbb89e22c32e4a46579f
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-23 11:46:26 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-23 11:48:41 +0000

    sci-geosciences/osm2pgsql: migrate to lua-single.eclass
    
    The usual CMake deal. According to upstream scripts supports all the Lua
    implementations currently in the tree, I have confirmed that it builds
    and installs (tests are restricted) fine against: lua5.1, lua5.4, and luajit.
    
    Both the latest release and the live ebuild.
    
    Closes: https://bugs.gentoo.org/752834
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/package.mask                              |  1 +
 .../files/osm2pgsql-1.4.0-cmake_lua_version.patch  | 11 +++++
 .../osm2pgsql/osm2pgsql-1.4.0-r100.ebuild          | 55 ++++++++++++++++++++++
 .../osm2pgsql/osm2pgsql-99999999.ebuild            | 22 +++++++--
 4 files changed, 84 insertions(+), 5 deletions(-)