/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.415 Revision 1.416
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.415 2013/03/12 14:16:15 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.416 2013/03/31 02:17:12 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
259# @VARIABLE: EPATCH_FORCE 259# @VARIABLE: EPATCH_FORCE
260# @DESCRIPTION: 260# @DESCRIPTION:
261# Only require patches to match EPATCH_SUFFIX rather than the extended 261# Only require patches to match EPATCH_SUFFIX rather than the extended
262# arch naming style. 262# arch naming style.
263EPATCH_FORCE="no" 263EPATCH_FORCE="no"
264# @VARIABLE: EPATCH_USER_EXCLUDE
265# @DEFAULT_UNSET
266# @DESCRIPTION:
267# List of patches not to apply. Note this is only file names,
268# and not the full path. Globs accepted.
264 269
265# @FUNCTION: epatch 270# @FUNCTION: epatch
266# @USAGE: [options] [patches] [dirs of patches] 271# @USAGE: [options] [patches] [dirs of patches]
267# @DESCRIPTION: 272# @DESCRIPTION:
268# epatch is designed to greatly simplify the application of patches. It can 273# epatch is designed to greatly simplify the application of patches. It can
403 eshopts_push -o noglob 408 eshopts_push -o noglob
404 409
405 local ex 410 local ex
406 for ex in ${EPATCH_EXCLUDE} ; do 411 for ex in ${EPATCH_EXCLUDE} ; do
407 if [[ ${patchname} == ${ex} ]] ; then 412 if [[ ${patchname} == ${ex} ]] ; then
413 einfo " Skipping ${patchname} due to EPATCH_EXCLUDE ..."
414 eshopts_pop
415 continue 2
416 fi
417 done
418
419 for ex in ${EPATCH_USER_EXCLUDE} ; do
420 if [[ ${patchname} == ${ex} ]] ; then
421 einfo " Skipping ${patchname} due to EPATCH_USER_EXCLUDE ..."
408 eshopts_pop 422 eshopts_pop
409 continue 2 423 continue 2
410 fi 424 fi
411 done 425 done
412 426

Legend:
Removed from v.1.415  
changed lines
  Added in v.1.416

  ViewVC Help
Powered by ViewVC 1.1.20