diff options
-rw-r--r-- | app-emacs/rust-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/rust-mode/files/50rust-mode-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/rust-mode/metadata.xml | 8 | ||||
-rw-r--r-- | app-emacs/rust-mode/rust-mode-0.11.0.ebuild | 25 | ||||
-rw-r--r-- | app-emacs/rust-mode/rust-mode-9999.ebuild | 25 |
5 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest new file mode 100644 index 0000000..2610a05 --- /dev/null +++ b/app-emacs/rust-mode/Manifest @@ -0,0 +1 @@ +DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8 diff --git a/app-emacs/rust-mode/files/50rust-mode-gentoo.el b/app-emacs/rust-mode/files/50rust-mode-gentoo.el new file mode 100644 index 0000000..8686a13 --- /dev/null +++ b/app-emacs/rust-mode/files/50rust-mode-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(require 'rust-mode) diff --git a/app-emacs/rust-mode/metadata.xml b/app-emacs/rust-mode/metadata.xml new file mode 100644 index 0000000..0b7db93 --- /dev/null +++ b/app-emacs/rust-mode/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jauhien@gentoo.org</email> + <name>Jauhien Piatlicki</name> + </maintainer> +</pkgmetadata> diff --git a/app-emacs/rust-mode/rust-mode-0.11.0.ebuild b/app-emacs/rust-mode/rust-mode-0.11.0.ebuild new file mode 100644 index 0000000..8b4ab63 --- /dev/null +++ b/app-emacs/rust-mode/rust-mode-0.11.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit elisp + +DESCRIPTION="A major emacs mode for editing Rust source code" +HOMEPAGE="http://www.rust-lang.org/" +SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820 + !<=dev-lang/rust-0.11.0-r1:0.11 + !<=dev-lang/rust-999:nightly + !<=dev-lang/rust-9999-r2:git +" + +S="${WORKDIR}/rust-${PV}/src/etc/emacs" + +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/rust-mode/rust-mode-9999.ebuild b/app-emacs/rust-mode/rust-mode-9999.ebuild new file mode 100644 index 0000000..5709bc1 --- /dev/null +++ b/app-emacs/rust-mode/rust-mode-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit elisp git-r3 + +DESCRIPTION="A major emacs mode for editing Rust source code" +HOMEPAGE="http://www.rust-lang.org/" +EGIT_REPO_URI="git://github.com/rust-lang/rust.git" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="" + +DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820 + !<=dev-lang/rust-0.11.0-r1:0.11 + !<=dev-lang/rust-999:nightly + !<=dev-lang/rust-9999-r2:git +" + +S="${S}/src/etc/emacs" + +SITEFILE="50${PN}-gentoo.el" |