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

Diff of /eclass/cvs.eclass

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

Revision 1.33 Revision 1.35
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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/cvs.eclass,v 1.33 2003/03/19 11:54:21 danarmak Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.35 2003/04/17 09:05:03 cretin Exp $
4# 4#
5# Author Dan Armak <danarmak@gentoo.org> 5# Author Dan Armak <danarmak@gentoo.org>
6# 6#
7# This eclass provides the generic cvs fetching functions. 7# This eclass provides the generic cvs fetching functions.
8 8
59# I don't like the former ="$PN" default setting 59# I don't like the former ="$PN" default setting
60[ -z "$ECVS_MODULE" ] && debug-print "$ECLASS: error: ECVS_MODULE not set, cannot continue" 60[ -z "$ECVS_MODULE" ] && debug-print "$ECLASS: error: ECVS_MODULE not set, cannot continue"
61 61
62# Branch/tag to use, default is HEAD 62# Branch/tag to use, default is HEAD
63# uncomment the following line to enable the reset-branch-to-HEAD behaviour 63# uncomment the following line to enable the reset-branch-to-HEAD behaviour
64[ -z "$ECVS_BRANCH" ] && ECVS_BRANCH="HEAD" 64# [ -z "$ECVS_BRANCH" ] && ECVS_BRANCH="HEAD"
65 65
66# Subdirectory in module to be fetched, default is not defined = whole module 66# Subdirectory in module to be fetched, default is not defined = whole module
67# DO NOT set default to "", if it's defined at all code will break! 67# DO NOT set default to "", if it's defined at all code will break!
68# don't uncomment following line! 68# don't uncomment following line!
69#[ -z "$ECVS_SUBDIR" ] && ECVS_SUBDIR="" 69#[ -z "$ECVS_SUBDIR" ] && ECVS_SUBDIR=""
71# --- end ebuild-configurable settings --- 71# --- end ebuild-configurable settings ---
72 72
73# add cvs to deps 73# add cvs to deps
74DEPEND="$DEPEND dev-util/cvs dev-python/pexpect" 74DEPEND="$DEPEND dev-util/cvs dev-python/pexpect"
75 75
76# since we now longer have src_fetch as a redefinable ebuild function, 76# since we no longer have src_fetch as a redefinable ebuild function,
77# we are forced to call this function from cvs_src_unpack 77# we are forced to call this function from cvs_src_unpack
78cvs_fetch() { 78cvs_fetch() {
79 79
80 debug-print-function $FUNCNAME $* 80 debug-print-function $FUNCNAME $*
81 81

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20