Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/rust-mode/
Date: Mon, 18 Feb 2019 07:33:31
Message-Id: 1550475198.a6169ecf978a3e98c4ae9f35a1274890e3e9e289.ulm@gentoo
1 commit: a6169ecf978a3e98c4ae9f35a1274890e3e9e289
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 18 07:31:23 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 07:33:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6169ecf
7
8 app-emacs/rust-mode: New snapshot.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-emacs/rust-mode/Manifest | 1 +
14 .../rust-mode/rust-mode-0.3.0_p20190125.ebuild | 28 ++++++++++++++++++++++
15 2 files changed, 29 insertions(+)
16
17 diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest
18 index 7124a79e94d..bf6e5bf65b7 100644
19 --- a/app-emacs/rust-mode/Manifest
20 +++ b/app-emacs/rust-mode/Manifest
21 @@ -1 +1,2 @@
22 DIST rust-mode-0.3.0_p20180221.tar.xz 37392 BLAKE2B 185511a2096400254e141f213f2e9a84861c2aaf5f2259cab724aa929e07b2691ae6f36c5568de5d978809588271486377a194a77a066413df6ee995e9bbe54a SHA512 004bd1536ab2e1e708193509a307ed47e22bf1f3dc5d84816958588e312c8bf6e75ee178cc99439ec0bd427ba02030c133bb21f96c5116b175d1d7cde89e9e6c
23 +DIST rust-mode-0.3.0_p20190125.tar.xz 37580 BLAKE2B d4d3ae9dac452ba3e2966d5036bd5f4edb4066ca65954b7f18a99c56ad6a8848fd80ef799c7c266c77a844839d87ab9641c77afc089a17e4e459fea27b6af982 SHA512 303d7f183006769b3fdf7a7118b36d29d785c2a29cf88ae286cb86180f84a4e50e66597d3bc984979e2509b872632d750fba96ff522081df5351d8d9511a3272
24
25 diff --git a/app-emacs/rust-mode/rust-mode-0.3.0_p20190125.ebuild b/app-emacs/rust-mode/rust-mode-0.3.0_p20190125.ebuild
26 new file mode 100644
27 index 00000000000..08710c7798e
28 --- /dev/null
29 +++ b/app-emacs/rust-mode/rust-mode-0.3.0_p20190125.ebuild
30 @@ -0,0 +1,28 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +NEED_EMACS=24
36 +
37 +inherit elisp
38 +
39 +DESCRIPTION="A major emacs mode for editing Rust source code"
40 +HOMEPAGE="https://github.com/rust-lang/rust-mode"
41 +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
42 +
43 +LICENSE="|| ( MIT Apache-2.0 )"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +SITEFILE="50${PN}-gentoo.el"
48 +
49 +src_test() {
50 + ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
51 + -l rust-mode.el -l rust-mode-tests.el \
52 + -f ert-run-tests-batch-and-exit || die "tests failed"
53 +}
54 +
55 +src_install() {
56 + elisp-install ${PN} rust-mode.{el,elc}
57 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
58 +}