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/eselect-rust-20190311.ebuild
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/eselect-rust-20190311.ebuild')
-rw-r--r--app-eselect/eselect-rust/eselect-rust-20190311.ebuild32
1 files changed, 32 insertions, 0 deletions
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
+}