Gentoo Archives: gentoo-commits

From: James Kalyan <contrib_x@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rust-analyzer-bin/
Date: Tue, 31 Aug 2021 02:38:27
Message-Id: 1630377124.0f7627c453300d647fba3f63ca7c7bc8a8174e1b.contrib_x@gentoo
1 commit: 0f7627c453300d647fba3f63ca7c7bc8a8174e1b
2 Author: James Kalyan <contrib_x <AT> protonmail <DOT> com>
3 AuthorDate: Tue Aug 31 02:31:01 2021 +0000
4 Commit: James Kalyan <contrib_x <AT> protonmail <DOT> com>
5 CommitDate: Tue Aug 31 02:32:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f7627c4
7
8 dev-util/rust-analyzer-bin: add v2021.08.30
9
10 Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com>
11
12 dev-util/rust-analyzer-bin/Manifest | 1 +
13 .../rust-analyzer-bin-2021.08.30.ebuild | 24 ++++++++++++++++++++++
14 2 files changed, 25 insertions(+)
15
16 diff --git a/dev-util/rust-analyzer-bin/Manifest b/dev-util/rust-analyzer-bin/Manifest
17 index b04e93d2f..2baa2cf1e 100644
18 --- a/dev-util/rust-analyzer-bin/Manifest
19 +++ b/dev-util/rust-analyzer-bin/Manifest
20 @@ -1,2 +1,3 @@
21 DIST rust-analyzer-bin-2021.08.02.gz 11550409 BLAKE2B 6d1dc7dd15375016f153d53c408f882f219778dfbeaa98e15fcb51a5f6704b29a73205c1c2ed1162ad2794387d9abc3fc569a19d243135428fc4ab6b46b9bcac SHA512 c23b2e9d645863b84e0961429c654365887f265faf883f94b62bedc4a9b8de25c00cc3e1653d614f485bebb9cbe4abb241072955d8d46bdc082795d597285422
22 DIST rust-analyzer-bin-2021.08.09.gz 11688726 BLAKE2B 1002048d93fdc357a28ab287fdb862442433f764c9f11249a4caf587bf968de1a9a4bdc44f1ce2c1a2e2833c223ed8ec0070f50f6421d06db206f477f3ca5971 SHA512 2129ef0839647b509a7d048ac2781d830dc7d83311e0b46ef5caf60fe306d22dcdfe584bcc7e3e53edd6dc2b1c0d2ab04741c607f2a7ac29a13b3f9a859b6ba0
23 +DIST rust-analyzer-bin-2021.08.30.gz 10987412 BLAKE2B 0bf2a487028375d5c851f0f5980cd6867140ae502739686045f1080729d6c79bbb7a44c0b9c6ae367fac0ac4250b8b032e20f22b118dd3259ad8b04c8564dd9b SHA512 f060c37d4abe2b8a485a77590e6b65eafac1917b58589dba61b2e35cd1d155d69c141b22e2152a530b0b92adb1b03a471489032f65833f3cbd1d6181539b4807
24
25 diff --git a/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.30.ebuild b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.30.ebuild
26 new file mode 100644
27 index 000000000..3a2135191
28 --- /dev/null
29 +++ b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.30.ebuild
30 @@ -0,0 +1,24 @@
31 +# Copyright 2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
37 +HOMEPAGE="https://rust-analyzer.github.io"
38 +SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/download/2021-08-30/rust-analyzer-x86_64-unknown-linux-gnu.gz -> ${P}.gz"
39 +
40 +LICENSE="Apache-2.0 MIT-with-advertising"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +
44 +S=${WORKDIR}
45 +
46 +QA_FLAGS_IGNORED="usr/bin/rust-analyzer"
47 +
48 +src_install() {
49 + newbin ${P} rust-analyzer
50 +}
51 +
52 +pkg_postinst() {
53 + elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
54 +}