Postsync update gentoo
This commit is contained in:
parent
be815026c3
commit
d67683bb1d
51
dev-util/emmylua_ls/emmylua_ls-9999.ebuild
Normal file
51
dev-util/emmylua_ls/emmylua_ls-9999.ebuild
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 2020-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
CRATES="
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit cargo
|
||||||
|
|
||||||
|
DESCRIPTION="A modern lua lsp"
|
||||||
|
HOMEPAGE="https://github.com/EmmyLuaLs/emmylua-analyzer-rust"
|
||||||
|
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/EmmyLuaLs/emmylua-analyzer-rust.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aeghn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${CARGO_CRATE_URIS}
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~ppc64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# LICENSE=""
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
|
||||||
|
# QA_FLAGS_IGNORED="usr/bin/btm"
|
||||||
|
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
cargo_live_src_unpack
|
||||||
|
else
|
||||||
|
cargo_src_unpack
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cargo_src_install --path ./crates/emmylua_ls
|
||||||
|
}
|
||||||
12
metadata/md5-cache/dev-util/emmylua_ls-9999
Normal file
12
metadata/md5-cache/dev-util/emmylua_ls-9999
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
BDEPEND=|| ( >=dev-lang/rust-bin-1.74.1:* >=dev-lang/rust-1.74.1:* ) >=dev-vcs/git-1.8.2.1[curl]
|
||||||
|
DEFINED_PHASES=compile configure install setup test unpack
|
||||||
|
DESCRIPTION=A modern lua lsp
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/EmmyLuaLs/emmylua-analyzer-rust
|
||||||
|
INHERIT=cargo git-r3
|
||||||
|
IUSE=debug
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
PROPERTIES=live
|
||||||
|
SLOT=0
|
||||||
|
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f rust 2c958ff95a0fd21c1cb19e961cb2946d rust-toolchain 76468983281b0a7fc167ca224f84ecfd cargo 5da01b45ec362e78575502b4fb82773a git-r3 875eb471682d3e1f18da124be97dcc81
|
||||||
|
_md5_=fc9bdd03c464f075f11fa7d499f79f0d
|
||||||
Loading…
Reference in New Issue
Block a user