Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog python-utils-r1.eclass
Date: Sat, 25 Jul 2015 10:07:40
Message-Id: 20150725100736.DCCC1BC@oystercatcher.gentoo.org
1 mgorny 15/07/25 10:07:36
2
3 Modified: ChangeLog python-utils-r1.eclass
4 Log:
5 Add missing ||die to "rm -f" calls, i.e. in case we do not have permission to remove the files.
6
7 Revision Changes Path
8 1.1727 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1727&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1727&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1726&r2=1.1727
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.1726
18 retrieving revision 1.1727
19 diff -u -r1.1726 -r1.1727
20 --- ChangeLog 23 Jul 2015 15:42:26 -0000 1.1726
21 +++ ChangeLog 25 Jul 2015 10:07:36 -0000 1.1727
22 @@ -1,6 +1,10 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1726 2015/07/23 15:42:26 williamh Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1727 2015/07/25 10:07:36 mgorny Exp $
27 +
28 + 25 Jul 2015; Michał Górny <mgorny@g.o> python-utils-r1.eclass:
29 + Add missing ||die to "rm -f" calls, i.e. in case we do not have permission to
30 + remove the files.
31
32 23 Jul 2015; William Hubbs <williamh@g.o> golang-build.eclass:
33 Add functions to retrieve Go library paths and install Go packages.
34
35
36
37 1.84 eclass/python-utils-r1.eclass
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?rev=1.84&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?rev=1.84&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?r1=1.83&r2=1.84
42
43 Index: python-utils-r1.eclass
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v
46 retrieving revision 1.83
47 retrieving revision 1.84
48 diff -u -r1.83 -r1.84
49 --- python-utils-r1.eclass 4 Jul 2015 15:26:17 -0000 1.83
50 +++ python-utils-r1.eclass 25 Jul 2015 10:07:36 -0000 1.84
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.83 2015/07/04 15:26:17 floppym Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.84 2015/07/25 10:07:36 mgorny Exp $
56
57 # @ECLASS: python-utils-r1
58 # @MAINTAINER:
59 @@ -840,9 +840,9 @@
60 mkdir -p "${workdir}"/{bin,pkgconfig} || die
61
62 # Clean up, in case we were supposed to do a cheap update.
63 - rm -f "${workdir}"/bin/python{,2,3,-config}
64 - rm -f "${workdir}"/bin/2to3
65 - rm -f "${workdir}"/pkgconfig/python{,2,3}.pc
66 + rm -f "${workdir}"/bin/python{,2,3,-config} || die
67 + rm -f "${workdir}"/bin/2to3 || die
68 + rm -f "${workdir}"/pkgconfig/python{,2,3}.pc || die
69
70 local EPYTHON PYTHON
71 python_export "${impl}" EPYTHON PYTHON