summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-03-11 06:17:36 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-03-11 07:28:54 +0100
commit550eb47e987d99529b4a42e592def682047f4cfe (patch)
tree60cf3f90ff2b2d07078887629acd0cc19441e325 /app-eselect/eselect-rust
parentdev-ruby/msgpack: add 1.2.8 (diff)
downloadgentoo-550eb47e987d99529b4a42e592def682047f4cfe.tar.gz
gentoo-550eb47e987d99529b4a42e592def682047f4cfe.tar.bz2
gentoo-550eb47e987d99529b4a42e592def682047f4cfe.zip
app-eselect/eselect-rust: bump to v20190311
Bug: https://bugs.gentoo.org/671182 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-eselect/eselect-rust')
-rw-r--r--app-eselect/eselect-rust/Manifest1
-rw-r--r--app-eselect/eselect-rust/eselect-rust-20190311.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest
index bd05ef8c6b2..daedb829aad 100644
--- a/app-eselect/eselect-rust/Manifest
+++ b/app-eselect/eselect-rust/Manifest
@@ -1 +1,2 @@
DIST eselect-rust-0.3_pre20150428.tar.gz 64722 BLAKE2B 17794065dd1a54a2caf73ac49271343a0bf21f96e7d6acbf5a2dfdf44354056f75d33656c2551ff06fdfe28d6245b161612fe57e3bddb1d3dbec52b801cd1c05 SHA512 214a6eb4b1f9bfcaed1a5fe92ec9633a82316716ffda8db2d2f88bfcbdae17ef7c026091de3927efad5c3624bb7003166d2ebadea6dd8828a0f1c41e0d3f16e7
+DIST eselect-rust-20190311.tar.bz2 49358 BLAKE2B be8060638a7ee553275e230466de8bc5e3fb1059afb049b71b767794f4f8e3968af03a755270d892e20e5ca6aa3efc869d2fd031713f9e8ed516e6465aad19ff SHA512 98fb4502c1f5358e1a3fd2e91a0e9905aced990d62bb11414830b150e8d72fbab90c23518f9c30d04d015b4c303270a6332400bbb373cd4ea9dfbf0d0b3c942e
diff --git a/app-eselect/eselect-rust/eselect-rust-20190311.ebuild b/app-eselect/eselect-rust/eselect-rust-20190311.ebuild
new file mode 100644
index 00000000000..3f188e8bc3a
--- /dev/null
+++ b/app-eselect/eselect-rust/eselect-rust-20190311.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 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="git://anongit.gentoo.org/proj/${PN}.git"
+else
+ SRC_URI="mirrors://gentoo/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~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
+}