1 |
commit: 3f07697db700af3e30e3eb5624c507b3f54aaef1 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 3 09:31:06 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 09:32:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f07697d |
7 |
|
8 |
app-emacs/rust-mode: New snapshot. |
9 |
|
10 |
Fixes byte-compile failure with Emacs 26. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/649430 |
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
app-emacs/rust-mode/Manifest | 1 + |
16 |
.../rust-mode/rust-mode-0.3.0_p20180221.ebuild | 28 ++++++++++++++++++++++ |
17 |
2 files changed, 29 insertions(+) |
18 |
|
19 |
diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest |
20 |
index 693efa22deb..425464d3b57 100644 |
21 |
--- a/app-emacs/rust-mode/Manifest |
22 |
+++ b/app-emacs/rust-mode/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST rust-mode-0.3.0_p20180221.tar.xz 37392 BLAKE2B 185511a2096400254e141f213f2e9a84861c2aaf5f2259cab724aa929e07b2691ae6f36c5568de5d978809588271486377a194a77a066413df6ee995e9bbe54a SHA512 004bd1536ab2e1e708193509a307ed47e22bf1f3dc5d84816958588e312c8bf6e75ee178cc99439ec0bd427ba02030c133bb21f96c5116b175d1d7cde89e9e6c |
25 |
DIST rust-mode-1_beta20150411.tar.gz 18155 BLAKE2B 140cad8709f742216822b3933cac64dc7d136fe9fbf0ddec523b395cb148cd8935587a590be41187c4cdfce43b64a72ede9a67a2e77fa7b11b9562e20ae729da SHA512 fc9fe74ba4924cf54664f37c5a88d86b38e17e4ad5e0d4d924afd7f3c8428764dece81cfbe40397460685859f34c3eb841b2c83aef8f34526f4ed3f065cc504e |
26 |
|
27 |
diff --git a/app-emacs/rust-mode/rust-mode-0.3.0_p20180221.ebuild b/app-emacs/rust-mode/rust-mode-0.3.0_p20180221.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a061b8c6033 |
30 |
--- /dev/null |
31 |
+++ b/app-emacs/rust-mode/rust-mode-0.3.0_p20180221.ebuild |
32 |
@@ -0,0 +1,28 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+NEED_EMACS=24 |
38 |
+ |
39 |
+inherit elisp |
40 |
+ |
41 |
+DESCRIPTION="A major emacs mode for editing Rust source code" |
42 |
+HOMEPAGE="https://github.com/rust-lang/rust-mode" |
43 |
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="|| ( MIT Apache-2.0 )" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+SITEFILE="50${PN}-gentoo.el" |
50 |
+ |
51 |
+src_test() { |
52 |
+ ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \ |
53 |
+ -l rust-mode.el -l rust-mode-tests.el \ |
54 |
+ -f ert-run-tests-batch-and-exit || die "tests failed" |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ elisp-install ${PN} rust-mode.{el,elc} |
59 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
60 |
+} |