diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-27 10:12:03 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-27 10:28:46 +0200 |
commit | 4a8f32ac52e2963a4afaaf165f261e43005e271e (patch) | |
tree | 3bde3e536b70e6571700ff66fbaa19e40974c546 /app-emacs/rust-mode | |
parent | app-emacs/rust-mode: drop old 1.0.4 (diff) | |
download | gentoo-4a8f32ac52e2963a4afaaf165f261e43005e271e.tar.gz gentoo-4a8f32ac52e2963a4afaaf165f261e43005e271e.tar.bz2 gentoo-4a8f32ac52e2963a4afaaf165f261e43005e271e.zip |
app-emacs/rust-mode: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/rust-mode')
-rw-r--r-- | app-emacs/rust-mode/rust-mode-1.0.5.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app-emacs/rust-mode/rust-mode-1.0.5.ebuild b/app-emacs/rust-mode/rust-mode-1.0.5.ebuild index 70637f21a50c..32ca2edbbb59 100644 --- a/app-emacs/rust-mode/rust-mode-1.0.5.ebuild +++ b/app-emacs/rust-mode/rust-mode-1.0.5.ebuild @@ -7,11 +7,18 @@ inherit elisp DESCRIPTION="A major emacs mode for editing Rust source code" HOMEPAGE="https://github.com/rust-lang/rust-mode" -SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git" +else + SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="|| ( MIT Apache-2.0 )" SLOT="0" -KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}"/${P}-tests.patch ) |