summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-03 00:52:57 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-03 00:55:35 -0700
commitc4670cf696811fc39fdefe224901d06bc04e874d (patch)
tree678a9b5fd27dde395960656aac74d838eb2d2f60 /app-eselect
parentwww-client/chromium: remove unused patch (diff)
downloadgentoo-c4670cf696811fc39fdefe224901d06bc04e874d.tar.gz
gentoo-c4670cf696811fc39fdefe224901d06bc04e874d.tar.bz2
gentoo-c4670cf696811fc39fdefe224901d06bc04e874d.zip
app-eselect/eselect-rust: add 20210703, unkeyworded for testing
Bug: https://bugs.gentoo.org/790305 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-rust/Manifest1
-rw-r--r--app-eselect/eselect-rust/eselect-rust-20210703.ebuild33
-rw-r--r--app-eselect/eselect-rust/metadata.xml3
3 files changed, 34 insertions, 3 deletions
diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest
index 284f19474c68..15244489dc0c 100644
--- a/app-eselect/eselect-rust/Manifest
+++ b/app-eselect/eselect-rust/Manifest
@@ -1 +1,2 @@
DIST eselect-rust-20200419.tar.bz2 50278 BLAKE2B 5d5e773a0e0481403e1645cb5fdf642e1ce5d1819e9699a79fcaf822ff3e6f258b2d1958548e00df200d9aaf061be1d3b1773e6b0e92b498fe75316ac13ff235 SHA512 68db32df19864a8365e272946161966b9cb513d7403dd1df7a4c7d87fba3b8bfcad59b407dca7dd6c8e0756f2e5cbde367ade69629eaa78d019d2b524051f741
+DIST eselect-rust-20210703.tar.bz2 4253 BLAKE2B 1d04c00db1794148b6d908c44172b8958f5ae2c7753875675387eea175ce914b7315452923a819d1b77bf22f10493ba9704c70d48388faa080b6af49efccb956 SHA512 b8f4f03f299a8415019746964347dffc5520dfcf79fd9d059bf600f63045ab80f8692509f0358be427c676ce98692ac8342b6f447aef21ce4d7ca048741b5e47
diff --git a/app-eselect/eselect-rust/eselect-rust-20210703.ebuild b/app-eselect/eselect-rust/eselect-rust-20210703.ebuild
new file mode 100644
index 000000000000..6971f663f9db
--- /dev/null
+++ b/app-eselect/eselect-rust/eselect-rust-20210703.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools
+if [[ ${PV} == "99999999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
+ #KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Eselect module for management of multiple Rust versions"
+HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-rust.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.2.3"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+pkg_postinst() {
+ if has_version 'dev-lang/rust' || has_version 'dev-lang/rust-bin'; then
+ eselect rust update --if-unset
+ fi
+}
diff --git a/app-eselect/eselect-rust/metadata.xml b/app-eselect/eselect-rust/metadata.xml
index d11f1c3ca9a5..35ce8ff316b2 100644
--- a/app-eselect/eselect-rust/metadata.xml
+++ b/app-eselect/eselect-rust/metadata.xml
@@ -4,8 +4,5 @@
<maintainer type="project">
<email>rust@gentoo.org</email>
</maintainer>
- <upstream>
- <remote-id type="github">jauhien/eselect-rust</remote-id>
- </upstream>
<stabilize-allarches/>
</pkgmetadata>