Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lua/
Date: Mon, 05 Sep 2022 08:20:16
Message-Id: 1662366000.678e40a0f28403a4e6ef76695e33429fe6cefe00.soap@gentoo
1 commit: 678e40a0f28403a4e6ef76695e33429fe6cefe00
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 08:20:00 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 08:20:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678e40a0
7
8 dev-lang/lua: update EAPI 7 -> 8
9
10 Closes: https://github.com/gentoo/gentoo/pull/27061
11 Bug: https://bugs.gentoo.org/472230
12 Bug: https://bugs.gentoo.org/627330
13 Bug: https://bugs.gentoo.org/689598
14 Bug: https://bugs.gentoo.org/706378
15 Bug: https://bugs.gentoo.org/765712
16 Bug: https://bugs.gentoo.org/791451
17 Bug: https://bugs.gentoo.org/834911
18 Signed-off-by: David Seifert <soap <AT> gentoo.org>
19
20 dev-lang/lua/Manifest | 1 +
21 dev-lang/lua/lua-5.4.4-r100.ebuild | 39 ++++++++++++++++++++++++++++++++++++++
22 2 files changed, 40 insertions(+)
23
24 diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest
25 index 34558ae3d99c..cfd4708e0c06 100644
26 --- a/dev-lang/lua/Manifest
27 +++ b/dev-lang/lua/Manifest
28 @@ -5,3 +5,4 @@ DIST lua-5.3.6.tar.gz 303770 BLAKE2B 07c37c56f43095a4f6ca8eb8b3adf19afd53107c02b
29 DIST lua-5.3.6.tar.xz 541300 BLAKE2B cc2536581f038524fd32cccfbbc4807d0ff0da99d738432e4a89fa837fa2c0036c9465da635e477385316983bcd76040bad32de4cec37a0112fc40c26f64e459 SHA512 e4699c5aede7e54d24830b33ab25a0cf9a278962009beee1b98552501c00285b8bf865b4c9f2020ca299244ee24d087938d079ccd13449b288290142de9b8ba4
30 DIST lua-5.4.4-tests.tar.gz 134094 BLAKE2B 63f5888a506f504f849fb2000cf551960df8eca3107601dcc8243e8ea5a1b13a70bff7dea4aebe3ab35b7e9df58c2ca44a7a27aa4de82240877eb8d7a017642e SHA512 08b3d764b3f362a2cddf5a23e71b16eea96a234a970fa0048bab358ebbd77f99d9bd132af12254383c5bb5426516e1ce2107e529e88d3963869255f5a41198ef
31 DIST lua-5.4.4.tar.gz 360876 BLAKE2B 8747ef5c83bd4c54b73eeaad6991ab5fccc54ee000973afd9cf3367b8945f03c54e843ec88c48043003cd9d3b42281c593cb485b7165add2744cfea06d8b7668 SHA512 af0c35d5ba00fecbb2dd617bd7b825edf7418a16a73076e04f2a0df58cdbf098dc3ff4402e974afd789eb5d86d2e12ec6df9c84b99b23656ea694a85f83bcd21
32 +DIST lua-5.4.4.tar.xz 606400 BLAKE2B 3865704cf23d31715017130ee7c841b98dc0abd35434a14e587c79c9ec0e466351cb64541d40f26d06178950a7180436a7a6d43349ff297e9b3e144451098a88 SHA512 4627d31c16d9048dc1236bb9a6694d7f62de8c8da908f6452c2f1230c0f44326ce3c7f05953af4ee50fd8d593647f69a2ec47f743a3cc081967803dda9b2471a
33
34 diff --git a/dev-lang/lua/lua-5.4.4-r100.ebuild b/dev-lang/lua/lua-5.4.4-r100.ebuild
35 new file mode 100644
36 index 000000000000..bf4b915abf75
37 --- /dev/null
38 +++ b/dev-lang/lua/lua-5.4.4-r100.ebuild
39 @@ -0,0 +1,39 @@
40 +# Copyright 1999-2022 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=8
44 +
45 +inherit flag-o-matic optfeature
46 +
47 +DESCRIPTION="A powerful light-weight programming language designed for extending applications"
48 +HOMEPAGE="https://www.lua.org/"
49 +# tarballs produced from ${PV} branches in https://gitweb.gentoo.org/proj/lua-patches.git
50 +SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz"
51 +
52 +LICENSE="MIT"
53 +SLOT="5.4"
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
55 +IUSE="+deprecated readline"
56 +
57 +DEPEND="
58 + >=app-eselect/eselect-lua-3
59 + readline? ( sys-libs/readline:= )
60 + !dev-lang/lua:0"
61 +RDEPEND="${DEPEND}"
62 +BDEPEND="virtual/pkgconfig"
63 +
64 +src_configure() {
65 + use deprecated && append-cppflags -DLUA_COMPAT_5_3
66 + econf $(use_with readline)
67 +}
68 +
69 +src_install() {
70 + default
71 + find "${ED}" -name '*.la' -delete || die
72 +}
73 +
74 +pkg_postinst() {
75 + eselect lua set --if-unset "${PN}${SLOT}"
76 +
77 + optfeature "Lua support for Emacs" app-emacs/lua-mode
78 +}