summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-04-19 03:28:01 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-04-19 03:29:08 +0200
commitc29266c46559b09a2cdd2196f576fd81f1bea046 (patch)
tree71b49ff08b770b846a1233fceecf1d58e088e585 /app-eselect
parentapp-office/texstudio: Add live ebuild (diff)
downloadgentoo-c29266c46559b09a2cdd2196f576fd81f1bea046.tar.gz
gentoo-c29266c46559b09a2cdd2196f576fd81f1bea046.tar.bz2
gentoo-c29266c46559b09a2cdd2196f576fd81f1bea046.zip
app-eselect/eselect-rust: bump to v20200419
Closes: https://bugs.gentoo.org/688864 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-rust/Manifest1
-rw-r--r--app-eselect/eselect-rust/eselect-rust-20200419.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest
index 96075d37c296..43d8fd578db3 100644
--- a/app-eselect/eselect-rust/Manifest
+++ b/app-eselect/eselect-rust/Manifest
@@ -1 +1,2 @@
DIST eselect-rust-20200101.tar.bz2 49740 BLAKE2B 4c1e767517e9f20002fac049a2ee23e47c52ccae9981316f7b7163f36a76e44dd516e7364100d1c4f5deb42dc5ddda94588639da06a71740d987bd163bc25e56 SHA512 836363e1c87b7f8e4e9c33b2cf6b8ba6846256630925676addec3d673a6e99965db19c42533de8aaf63d04713c3978f8ace73e5642071d80cd0e25a10b8cecb1
+DIST eselect-rust-20200419.tar.bz2 50278 BLAKE2B 5d5e773a0e0481403e1645cb5fdf642e1ce5d1819e9699a79fcaf822ff3e6f258b2d1958548e00df200d9aaf061be1d3b1773e6b0e92b498fe75316ac13ff235 SHA512 68db32df19864a8365e272946161966b9cb513d7403dd1df7a4c7d87fba3b8bfcad59b407dca7dd6c8e0756f2e5cbde367ade69629eaa78d019d2b524051f741
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
+}