summaryrefslogtreecommitdiff
path: root/app-eselect/eselect-rust
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /app-eselect/eselect-rust
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'app-eselect/eselect-rust')
-rw-r--r--app-eselect/eselect-rust/Manifest2
-rw-r--r--app-eselect/eselect-rust/eselect-rust-20200419.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest
index 6bae865d570c..8c155fc8fdf7 100644
--- a/app-eselect/eselect-rust/Manifest
+++ b/app-eselect/eselect-rust/Manifest
@@ -1,3 +1,5 @@
DIST eselect-rust-20200101.tar.bz2 49740 BLAKE2B 4c1e767517e9f20002fac049a2ee23e47c52ccae9981316f7b7163f36a76e44dd516e7364100d1c4f5deb42dc5ddda94588639da06a71740d987bd163bc25e56 SHA512 836363e1c87b7f8e4e9c33b2cf6b8ba6846256630925676addec3d673a6e99965db19c42533de8aaf63d04713c3978f8ace73e5642071d80cd0e25a10b8cecb1
+DIST eselect-rust-20200419.tar.bz2 50278 BLAKE2B 5d5e773a0e0481403e1645cb5fdf642e1ce5d1819e9699a79fcaf822ff3e6f258b2d1958548e00df200d9aaf061be1d3b1773e6b0e92b498fe75316ac13ff235 SHA512 68db32df19864a8365e272946161966b9cb513d7403dd1df7a4c7d87fba3b8bfcad59b407dca7dd6c8e0756f2e5cbde367ade69629eaa78d019d2b524051f741
EBUILD eselect-rust-20200101.ebuild 748 BLAKE2B 1654719606a9bf15c2a6bf31c5e42b8a7f1869f5fad8e52bef4a83fe7bd239ee69ceb1d171e876a2518d95a5cbcfe17f31e2d2cfefb29af552f757f91aa6c3fb SHA512 8f34597fcba494bdf10720a0f5d599d0ab9fa4dcc361025138c87b462233942b1c16c49563c9f0e074f264f23e173c6cff45bbc41041f65db8bd6cc246b00abb
+EBUILD eselect-rust-20200419.ebuild 752 BLAKE2B 63b486e9f11d2b8c71b3cbaa51881b6fcb20e79d8442cda9593bf08f0048f4b125cbc6f6f4108e2bbece86b182432bc0c30b2f9fcdcb5c7cc56944be4167a809 SHA512 fc95a785122e81c703ea7dc4ca1061b9210a1bfc6b8d0b1cc8b9082b58adca621afd254188d196e4920660265f15fcb1769e3a1d98404a23fe829103b63a846d
MISC metadata.xml 301 BLAKE2B b569454ab084e600cd974251af1ec665c54a5f37b03d6fdfd43384a36d0c738482ca4605031a8e6a000de46c7d1f756338417b313dd0212e2b0671dc7839a94d SHA512 63b1c2f65bc5f26653ee98ca2722f5da05f1a8b3d430b5921b685c7506c3d685c36d0bc2c2eb293529ffda32d50e1a59783c24d2399c1f647b1bdedb68d48616
diff --git a/app-eselect/eselect-rust/eselect-rust-20200419.ebuild b/app-eselect/eselect-rust/eselect-rust-20200419.ebuild
new file mode 100644
index 000000000000..353065b6e4ff
--- /dev/null
+++ b/app-eselect/eselect-rust/eselect-rust-20200419.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
+}