Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo/
Date: Mon, 11 Mar 2019 06:29:14
Message-Id: 1552285735.b0a7fbefcd8e03543df2f3b7a2c893596ca79b27.whissi@gentoo
1 commit: b0a7fbefcd8e03543df2f3b7a2c893596ca79b27
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 06:28:33 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 06:28:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a7fbef
7
8 dev-util/cargo: rev bump to add pkg_postrm function
9
10 Required to help upgrading to rust-1.30+.
11
12 Bug: https://bugs.gentoo.org/671182
13 Package-Manager: Portage-2.3.62, Repoman-2.3.12
14 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
15
16 dev-util/cargo/{cargo-0.30.0.ebuild => cargo-0.30.0-r1.ebuild} | 9 +++++++--
17 1 file changed, 7 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-util/cargo/cargo-0.30.0.ebuild b/dev-util/cargo/cargo-0.30.0-r1.ebuild
20 similarity index 96%
21 rename from dev-util/cargo/cargo-0.30.0.ebuild
22 rename to dev-util/cargo/cargo-0.30.0-r1.ebuild
23 index 3ab88c1f333..a1a63f13389 100644
24 --- a/dev-util/cargo/cargo-0.30.0.ebuild
25 +++ b/dev-util/cargo/cargo-0.30.0-r1.ebuild
26 @@ -1,4 +1,4 @@
27 -# Copyright 1999-2018 Gentoo Authors
28 +# Copyright 1999-2019 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=6
32 @@ -156,7 +156,8 @@ KEYWORDS="amd64 ~arm64 x86"
33
34 IUSE="doc libressl"
35
36 -COMMON_DEPEND="sys-libs/zlib
37 +COMMON_DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
38 + sys-libs/zlib
39 !libressl? ( dev-libs/openssl:0= )
40 libressl? ( dev-libs/libressl:0= )
41 net-libs/libssh2
42 @@ -200,3 +201,7 @@ src_install() {
43 doins src/etc/_cargo
44 doman src/etc/man/*
45 }
46 +
47 +pkg_postrm() {
48 + eselect rust update
49 +}