Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: eutils.eclass
Date: Fri, 25 Feb 2011 21:58:28
Message-Id: 20110225215819.3929420054@flycatcher.gentoo.org
1 ulm 11/02/25 21:58:19
2
3 Modified: eutils.eclass
4 Log:
5 Remove dead and commented prepalldocs function.
6
7 Revision Changes Path
8 1.354 eclass/eutils.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.354&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?rev=1.354&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.353&r2=1.354
13
14 Index: eutils.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
17 retrieving revision 1.353
18 retrieving revision 1.354
19 diff -u -r1.353 -r1.354
20 --- eutils.eclass 9 Jan 2011 02:16:53 -0000 1.353
21 +++ eutils.eclass 25 Feb 2011 21:58:19 -0000 1.354
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.353 2011/01/09 02:16:53 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.354 2011/02/25 21:58:19 ulm Exp $
27
28 # @ECLASS: eutils.eclass
29 # @MAINTAINER:
30 @@ -291,9 +291,9 @@
31 local a=${patchname#*_} # strip the ???_
32 a=${a%%_*} # strip the _foo.patch
33 if ! [[ ${SINGLE_PATCH} == "yes" || \
34 - ${EPATCH_FORCE} == "yes" || \
35 - ${a} == all || \
36 - ${a} == ${ARCH} ]]
37 + ${EPATCH_FORCE} == "yes" || \
38 + ${a} == all || \
39 + ${a} == ${ARCH} ]]
40 then
41 continue
42 fi
43 @@ -1950,30 +1950,6 @@
44 fi
45 }
46
47 -# @FUNCTION: prepalldocs
48 -# @USAGE:
49 -# @DESCRIPTION:
50 -# Compress files in /usr/share/doc which are not already
51 -# compressed, excluding /usr/share/doc/${PF}/html.
52 -# Uses the ecompressdir to do the compression.
53 -# 2009-02-18 by betelgeuse:
54 -# Commented because ecompressdir is even more internal to
55 -# Portage than prepalldocs (it's not even mentioned in man 5
56 -# ebuild). Please submit a better version for review to gentoo-dev
57 -# if you want prepalldocs here.
58 -#prepalldocs() {
59 -# if [[ -n $1 ]] ; then
60 -# ewarn "prepalldocs: invalid usage; takes no arguments"
61 -# fi
62 -
63 -# cd "${D}"
64 -# [[ -d usr/share/doc ]] || return 0
65 -
66 -# find usr/share/doc -exec gzip {} +
67 -# ecompressdir --ignore /usr/share/doc/${PF}/html
68 -# ecompressdir --queue /usr/share/doc
69 -#}
70 -
71 # @FUNCTION: path_exists
72 # @USAGE: [-a|-o] <paths>
73 # @DESCRIPTION: