dev-util/cargo: rev bump to add pkg_postrm function
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 11 Mar 2019 06:28:33 +0000 (07:28 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 11 Mar 2019 06:28:55 +0000 (07:28 +0100)
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@gentoo.org>
dev-util/cargo/cargo-0.30.0-r1.ebuild [moved from dev-util/cargo/cargo-0.30.0.ebuild with 96% similarity]

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 3ab88c1f33310ba59b9116b1176da5afb74465b9..a1a63f133892ef51c8054069a145ef6d219a33a5 100644 (file)
@@ -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
+}