Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877413 - dev-lua/luajson-1.3.4-r100: add support for lua version 5.4
Summary: dev-lua/luajson-1.3.4-r100: add support for lua version 5.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-10-17 09:54 UTC by Jocelyn Mayer
Modified: 2022-10-23 20:33 UTC (History)
2 users (show)

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


Attachments
output from emerge --info =dev-lua/luajson-1.3.4-r100 (emerge_infos,23.67 KB, text/plain)
2022-10-17 09:54 UTC, Jocelyn Mayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Mayer 2022-10-17 09:54:39 UTC
Created attachment 824563 [details]
output from emerge --info =dev-lua/luajson-1.3.4-r100

luajson package currently builds against lua5-{1..3} & luajit
As for many lua depending packages, it can also build with lua version 5.4 in order to avoid keeping multiple lua version installed.
Comment 1 Jocelyn Mayer 2022-10-17 09:55:52 UTC
Ebuild just need to be patched this way to make it build with lua version 5.4:

-LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
[+] Comment 2 Conrad Kostecki gentoo-dev 2022-10-23 20:27:36 UTC Comment hidden (obsolete)
Comment 3 Larry the Git Cow gentoo-dev 2022-10-23 20:33:26 UTC
The bug has been closed via the following commit(s):

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

commit e34bda53d05e86d98ce4dfa0490e0458e79d91f2
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-10-23 20:31:43 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-10-23 20:33:15 +0000

    dev-lua/luajson: add 1.3.4, drop 1.3.4-r100
    
    Added lua5.4 support, dropped -r100 suffix, as I don't expect any new
    release in next time. Also taking ownership.
    
    Closes: https://bugs.gentoo.org/877413
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../{luajson-1.3.4-r100.ebuild => luajson-1.3.4.ebuild}       |  6 +++---
 dev-lua/luajson/metadata.xml                                  | 11 +++++++----
 2 files changed, 10 insertions(+), 7 deletions(-)