On Sun, Jul 7, 2013 at 1:54 PM, Ulrich Mueller <u...@gentoo.org> wrote: > Hi all, > Find below a small update for bzr.eclass. > > Sometimes it is convenient to unpack the sources in a location > different from ${WORKDIR}/${P}. The patch makes this configurable via > a new EBZR_UNPACK_DIR variable. The default location doesn't change, > so there should be no issues with backwards compatibility. >
git-2.eclass has a similar variable called EGIT_SOURCEDIR. Maybe you could reuse the same convention? Out of curiosity, I checked mercurial and subversion eclasses; they don't provide a variable, but do allow you to call the fetch function manually with a parameter to override the destination.