diff options
author | David Seifert <soap@gentoo.org> | 2022-09-05 10:19:59 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-09-05 10:19:59 +0200 |
commit | 818a17909877d016c6baa9ab04ea875e98fd80bb (patch) | |
tree | 1975bb687f8355c6a2752133eb32b395558e439a /dev-lang/lua | |
parent | dev-lang/lua: add 5.1.6 (diff) | |
download | gentoo-818a17909877d016c6baa9ab04ea875e98fd80bb.tar.gz gentoo-818a17909877d016c6baa9ab04ea875e98fd80bb.tar.bz2 gentoo-818a17909877d016c6baa9ab04ea875e98fd80bb.zip |
dev-lang/lua: update EAPI 7 -> 8
Bug: https://bugs.gentoo.org/472230
Bug: https://bugs.gentoo.org/627330
Bug: https://bugs.gentoo.org/689598
Bug: https://bugs.gentoo.org/706378
Bug: https://bugs.gentoo.org/765712
Bug: https://bugs.gentoo.org/791451
Bug: https://bugs.gentoo.org/834911
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang/lua')
-rw-r--r-- | dev-lang/lua/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.3.6-r100.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest index 960ea5685673..34558ae3d99c 100644 --- a/dev-lang/lua/Manifest +++ b/dev-lang/lua/Manifest @@ -2,5 +2,6 @@ DIST lua-5.1.5.tar.gz 221213 BLAKE2B 915eb8e8c9d7e460eacf1d7a59309c60dfc0f5d9d3d DIST lua-5.1.6.tar.xz 397312 BLAKE2B 3555cd8ae8756205935af26399586719c5ab22da75036e553cf935df6463219f33896d72b91271a2bb9244238bef894d469817c8a7c0c8312ac05ec875b0ecbb SHA512 33365c29b6c3bf7c3b6fe764b1525c806cb41b9391f99ca267ccc2deda163afd76fe3f62719ff7f248467f09de11789dffab3c464f7fee108ab9ccfd38df104c DIST lua-5.3.4-tests.tar.gz 103438 BLAKE2B ac82708022e7729039111c3df4fe24302c8d0efb224afb4828871ac085a3d64c41d674a6f9369035de01ed1f7f75a3d2ce16917f37e774e923216aac0be03e09 SHA512 79575d100a2efabc8243f55b55d912443e09ef7e8b0219cb93541d85c2ba802fb9538015e1228703f09ca57bdb28a640a8f1fa0735716ba1e4bca2179c712dfb DIST lua-5.3.6.tar.gz 303770 BLAKE2B 07c37c56f43095a4f6ca8eb8b3adf19afd53107c02b62b2bcb3619565cb2100d5f823493eef93092d5e312b30fc28885a6d9e8f0ba5a23b5bed86dc4515a5d61 SHA512 ccc380d5e114d54504de0bfb0321ca25ec325d6ff1bfee44b11870b660762d1a9bf120490c027a0088128b58bb6b5271bbc648400cab84d2dc22b512c4841681 +DIST lua-5.3.6.tar.xz 541300 BLAKE2B cc2536581f038524fd32cccfbbc4807d0ff0da99d738432e4a89fa837fa2c0036c9465da635e477385316983bcd76040bad32de4cec37a0112fc40c26f64e459 SHA512 e4699c5aede7e54d24830b33ab25a0cf9a278962009beee1b98552501c00285b8bf865b4c9f2020ca299244ee24d087938d079ccd13449b288290142de9b8ba4 DIST lua-5.4.4-tests.tar.gz 134094 BLAKE2B 63f5888a506f504f849fb2000cf551960df8eca3107601dcc8243e8ea5a1b13a70bff7dea4aebe3ab35b7e9df58c2ca44a7a27aa4de82240877eb8d7a017642e SHA512 08b3d764b3f362a2cddf5a23e71b16eea96a234a970fa0048bab358ebbd77f99d9bd132af12254383c5bb5426516e1ce2107e529e88d3963869255f5a41198ef DIST lua-5.4.4.tar.gz 360876 BLAKE2B 8747ef5c83bd4c54b73eeaad6991ab5fccc54ee000973afd9cf3367b8945f03c54e843ec88c48043003cd9d3b42281c593cb485b7165add2744cfea06d8b7668 SHA512 af0c35d5ba00fecbb2dd617bd7b825edf7418a16a73076e04f2a0df58cdbf098dc3ff4402e974afd789eb5d86d2e12ec6df9c84b99b23656ea694a85f83bcd21 diff --git a/dev-lang/lua/lua-5.3.6-r100.ebuild b/dev-lang/lua/lua-5.3.6-r100.ebuild new file mode 100644 index 000000000000..a31377bb535a --- /dev/null +++ b/dev-lang/lua/lua-5.3.6-r100.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic optfeature + +DESCRIPTION="A powerful light-weight programming language designed for extending applications" +HOMEPAGE="https://www.lua.org/" +# tarballs produced from ${PV} branches in https://gitweb.gentoo.org/proj/lua-patches.git +SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz" + +LICENSE="MIT" +SLOT="5.3" +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" +IUSE="+deprecated readline" + +DEPEND=" + >=app-eselect/eselect-lua-3 + readline? ( sys-libs/readline:= ) + !dev-lang/lua:0" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + use deprecated && append-cppflags -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 + econf $(use_with readline) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + eselect lua set --if-unset "${PN}${SLOT}" + + optfeature "Lua support for Emacs" app-emacs/lua-mode +} |