summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-20 11:48:56 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-20 11:48:56 -0400
commitaeec91d83961d12d40f2a95bc85ec60a9db38684 (patch)
tree6cccafe9f115d9fb5131a20e2751384d080452cf /dev-util
parentabf75d1be9b098490c22c9a7729e4099d30033eb (diff)
downloadppo-aeec91d83961d12d40f2a95bc85ec60a9db38684.tar.xz
dev-util/rust-analyzer: use git sources
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/rust-analyzer/Manifest3
-rw-r--r--dev-util/rust-analyzer/rust-analyzer-20220718.ebuild6
2 files changed, 5 insertions, 4 deletions
diff --git a/dev-util/rust-analyzer/Manifest b/dev-util/rust-analyzer/Manifest
index 26f0233..bd3b7ce 100644
--- a/dev-util/rust-analyzer/Manifest
+++ b/dev-util/rust-analyzer/Manifest
@@ -1,2 +1 @@
-DIST rust-analyzer-20220718.tar.gz 2300667 BLAKE2B a0daf1c24e682aa749364a28b891c0492440b80201cda9550dcd7d740b43d586ae76d3f02dd9677c5d8a10aef4a9737381eba3f635b7764c8a7f6e8352bbdf17 SHA512 1ae87782cc3a5131c6330c9b60a43efdaa48010be37a3acdfe35c1fd97117697aefb8a796a43799778431cc6f59678b7cdc94860fb23b4a8ceb41f981164e267
-EBUILD rust-analyzer-20220718.ebuild 1180 BLAKE2B be7ba424ab926277dbb8899aeb9c76ddeceecdb7e01ae619117a364a096032f460b728ecd2770520e1bc50fa15407ef25701dd5bdba3a50e7e0beb271c8e3aa3 SHA512 05eb86aeec855669f9848beebc25d599a6cf4f879fca13347f6b5ffba4dddb1c60e59fcdd08edada7b7a6b199582bf39e4c92ac961ab35d5628a7ba23cefcb86
+EBUILD rust-analyzer-20220718.ebuild 1168 BLAKE2B ff9c8a534ce4706e40c29af42b61034b4fe9f45c93f46a2313d1e4c1d065e4618d851a9eaf9ef536e5109efb5f9f260277ca5a721d1eb87cc7b89d2db2c96265 SHA512 4dbe05d4f4a6b3cd48d9f90d8ed1c9c663def9f2716cbfc2a35fa9524b2719bb96ee04ca9e50badeec555ff962395c34aad4bf426a23ac926da6891ee658ddac
diff --git a/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild b/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
index 6764dd8..603a4ce 100644
--- a/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
+++ b/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
@@ -13,8 +13,10 @@ if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/rust-analyzer/rust-analyzer"
else
KEYWORDS="~amd64"
+ inherit git-r3
MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
- SRC_URI="https://github.com/rust-analyzer/rust-analyzer/archive/${MY_PV}.tar.gz -> ${P}.tar.gz $(cargo_crate_uris)"
+ EGIT_REPO_URI="https://github.com/rust-analyzer/rust-analyzer"
+ EGIT_COMMIT="${MY_PV}"
fi
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
@@ -47,4 +49,4 @@ src_test() {
src_install() {
cargo_src_install --path "./crates/rust-analyzer"
-} \ No newline at end of file
+}