commit: 27498ff3d2904897d51928b631696e194370943c Author: Mathis Winterer <mrmagic223325 <AT> fedora <DOT> email> AuthorDate: Sat Dec 31 16:07:24 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sat Dec 31 16:07:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27498ff3
dev-util/lua-language-server: update SRC_URI Signed-off-by: Mathis Winterer <mrmagic223325 <AT> fedora.email> dev-util/lua-language-server/Manifest | 2 +- .../lua-language-server-3.6.4.ebuild | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/dev-util/lua-language-server/Manifest b/dev-util/lua-language-server/Manifest index d507c5d7c..7144f1ceb 100644 --- a/dev-util/lua-language-server/Manifest +++ b/dev-util/lua-language-server/Manifest @@ -1 +1 @@ -DIST lua-language-server-3.6.4.tar.gz 3223008 BLAKE2B fed2819164e99f8773d7d51dc675588b61be997072abfe4ed9baa84b1fae68d53f997a29a5ecb887952ead827894eb5038bd8df867dd4cc7c04e75257317faf1 SHA512 201c6637c4bd07b037df0fd3bdf15eaa20cc756cdd50a3aa166ccf7092e1dd48132ca4b70097aba0ee45cd8e931c3bd48867922cd9afef31ada14c0fbb216068 +DIST lua-language-server-3.6.4.zip 32188348 BLAKE2B 4d249af12cdf151d77b7af1c63cff2de103d7cf80416422bf3cf9fbb6031546963f59dcf1d39f8b8dbe41a3cde29dbdf04ba9fc5760cb310575ebdc0494ec604 SHA512 9f47becc9ade0f205d28ad75abeb5895b06486a21c3afa2b16331c34db25fce70a20a80599f48aa0ba485bad75316e1c0d4080f8bb49eaeb30ccc6eff7b12d13 diff --git a/dev-util/lua-language-server/lua-language-server-3.6.4.ebuild b/dev-util/lua-language-server/lua-language-server-3.6.4.ebuild index 3636feded..665b2e9e1 100644 --- a/dev-util/lua-language-server/lua-language-server-3.6.4.ebuild +++ b/dev-util/lua-language-server/lua-language-server-3.6.4.ebuild @@ -3,29 +3,31 @@ EAPI=8 -inherit ninja-utils git-r3 +inherit ninja-utils DESCRIPTION="Lua language server" HOMEPAGE="https://github.com/sumneko/lua-language-server" -SRC_URI="https://github.com/sumneko/lua-language-server/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/sumneko/lua-language-server/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip" +S="${WORKDIR}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="test" BDPEND=" - "${NINJA_DEPEND}" + ${NINJA_DEPEND} + app-arch/unzip dev-util/ninja sys-devel/gcc " - -EGIT_REPO_URI="https://github.com/sumneko/lua-language-server" +RESTRICT="!test? ( test )" src_compile() { - (cd 3rd/luamake && ./compile/install.sh) || die - ./3rd/luamake/luamake make || die + eninja -C 3rd/luamake -f compile/ninja/linux.ninja $(usex test '' 'luamake') + ./3rd/luamake/luamake $(usex test '' 'all') || die } src_install() { - dobin bin/{main.lua,lua-language-server} + dobin ./bin/{main.lua,lua-language-server} dodoc changelog.md README.md }