dev-util/lua-language-server: drop 3.6.9

broken release:
<https://github.com/LuaLS/lua-language-server/issues/1858>

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2023-02-03 21:12:05 +01:00
parent b40c82af32
commit 0fe135e882
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 0 additions and 66 deletions

View File

@ -1,2 +1 @@
DIST lua-language-server-3.6.8.zip 389244327 BLAKE2B 67299716586bd01f2fc48319b68319b48090b87d8f4c72b79c52022af39140490983edfd1145d88616c1fabcb7f6a62bed8defbab7a8f4fe3330176812994a58 SHA512 bf5633e7570fa44d62bb5a2e4414d4f0e197fcef3b1a9876ea90cf37a79ae17afaaecdc5d54917cc7fb44e01b7db34abd6329cef0df4e3207177a0a6a8ec54f2
DIST lua-language-server-3.6.9.zip 389246217 BLAKE2B 33154ef90005e081767fa28b74548bc9a8b56c19c2ae8eefa12d9a9ff1611d5d0e43a3de69236d2228a4875e6ed50e770df038ff3fd0fc79b79cfe078479cf7f SHA512 99aad398e3977288dcd4a1952c3feed8c83da779bba4f4b8f1e7984b5c8b9fe937e76a7d69a3958c2839719a0464596c559bfaf47ce2424eea8c2f2f100446ef

View File

@ -1,65 +0,0 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# TODO: unbundle deps, set flags correctly, verbose luamake, less sed hacks
EAPI=8
LUA_COMPAT=( lua{5-{1,3,4},jit} )
inherit lua-single ninja-utils prefix toolchain-funcs
DESCRIPTION="A language server that offers Lua language support"
HOMEPAGE="https://github.com/sumneko/lua-language-server"
SRC_URI="https://github.com/sumneko/${PN}/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}"
BDEPEND="
app-arch/unzip
dev-util/ninja
"
QA_PREBUILT="/opt/lua-language-server/bin/lua-language-server"
src_prepare() {
sed -i "s/^cc = gcc$/cc = $(tc-getCC)/" \
3rd/luamake/compile/ninja/linux.ninja || die
sed -i "/require \"make.detect_platform\"/a lm.cc = '$(tc-getCC)'" \
make.lua || die
sed -i "s/flags = \"-Wall -Werror\"/flags = \"-Wall ${CXXFLAGS}\"/" \
make/code_format.lua || die
prefixify_ro "${FILESDIR}"/wrapper.sh
default
}
src_compile() {
eninja -C 3rd/luamake -f compile/ninja/linux.ninja $(usex test '' 'luamake')
./3rd/luamake/luamake $(usex test '' 'all') || die
}
src_install() {
newbin "${T}"/wrapper.sh ${PN}
into /opt/${PN}
dobin bin/${PN}
insinto /opt/${PN}/bin
doins bin/main.lua
insinto /opt/${PN}
doins -r debugger.lua main.lua locale meta script
einstalldocs
}