commit:     b0a7fbefcd8e03543df2f3b7a2c893596ca79b27
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 06:28:33 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 06:28:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a7fbef

dev-util/cargo: rev bump to add pkg_postrm function

Required to help upgrading to rust-1.30+.

Bug: https://bugs.gentoo.org/671182
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-util/cargo/{cargo-0.30.0.ebuild => cargo-0.30.0-r1.ebuild} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-util/cargo/cargo-0.30.0.ebuild 
b/dev-util/cargo/cargo-0.30.0-r1.ebuild
similarity index 96%
rename from dev-util/cargo/cargo-0.30.0.ebuild
rename to dev-util/cargo/cargo-0.30.0-r1.ebuild
index 3ab88c1f333..a1a63f13389 100644
--- a/dev-util/cargo/cargo-0.30.0.ebuild
+++ b/dev-util/cargo/cargo-0.30.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -156,7 +156,8 @@ KEYWORDS="amd64 ~arm64 x86"
 
 IUSE="doc libressl"
 
-COMMON_DEPEND="sys-libs/zlib
+COMMON_DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
+       sys-libs/zlib
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
        net-libs/libssh2
@@ -200,3 +201,7 @@ src_install() {
        doins src/etc/_cargo
        doman src/etc/man/*
 }
+
+pkg_postrm() {
+       eselect rust update
+}

Reply via email to