diff options
Diffstat (limited to 'app-eselect/eselect-rust')
-rw-r--r-- | app-eselect/eselect-rust/Manifest | 1 | ||||
-rw-r--r-- | app-eselect/eselect-rust/eselect-rust-20200101.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest index 15c64eb2fb59..892910a3a5fd 100644 --- a/app-eselect/eselect-rust/Manifest +++ b/app-eselect/eselect-rust/Manifest @@ -1 +1,2 @@ DIST eselect-rust-20190311.tar.bz2 49358 BLAKE2B be8060638a7ee553275e230466de8bc5e3fb1059afb049b71b767794f4f8e3968af03a755270d892e20e5ca6aa3efc869d2fd031713f9e8ed516e6465aad19ff SHA512 98fb4502c1f5358e1a3fd2e91a0e9905aced990d62bb11414830b150e8d72fbab90c23518f9c30d04d015b4c303270a6332400bbb373cd4ea9dfbf0d0b3c942e +DIST eselect-rust-20200101.tar.bz2 49740 BLAKE2B 4c1e767517e9f20002fac049a2ee23e47c52ccae9981316f7b7163f36a76e44dd516e7364100d1c4f5deb42dc5ddda94588639da06a71740d987bd163bc25e56 SHA512 836363e1c87b7f8e4e9c33b2cf6b8ba6846256630925676addec3d673a6e99965db19c42533de8aaf63d04713c3978f8ace73e5642071d80cd0e25a10b8cecb1 diff --git a/app-eselect/eselect-rust/eselect-rust-20200101.ebuild b/app-eselect/eselect-rust/eselect-rust-20200101.ebuild new file mode 100644 index 000000000000..353065b6e4ff --- /dev/null +++ b/app-eselect/eselect-rust/eselect-rust-20200101.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~whissi/dist/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Eselect module for management of multiple Rust versions" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Rust" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_prepare() { + default + [[ ${PV} == "99999999" ]] && eautoreconf +} + +pkg_postinst() { + if has_version 'dev-lang/rust' || has_version 'dev-lang/rust-bin'; then + eselect rust update --if-unset + fi +} |