slyfox 14/05/22 16:31:00 Modified: ChangeLog darcs.eclass Log: store darcs cache in DISTDIR
Revision Changes Path 1.1263 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1263&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1263&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1262&r2=1.1263 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1262 retrieving revision 1.1263 diff -u -r1.1262 -r1.1263 --- ChangeLog 22 May 2014 13:58:46 -0000 1.1262 +++ ChangeLog 22 May 2014 16:30:59 -0000 1.1263 @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1262 2014/05/22 13:58:46 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1263 2014/05/22 16:30:59 slyfox Exp $ + + 22 May 2014; Sergei Trofimovich <sly...@gentoo.org> darcs.eclass: + store darcs cache in DISTDIR 22 May 2014; Lars Wendler <polynomia...@gentoo.org> apache-2.eclass: Eclass cleanup. Now requires >=EAPI-4 ebuilds. Fixed bugs #509922 and 1.17 eclass/darcs.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.17&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.17&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?r1=1.16&r2=1.17 Index: darcs.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- darcs.eclass 8 Jun 2012 03:39:50 -0000 1.16 +++ darcs.eclass 22 May 2014 16:30:59 -0000 1.17 @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.16 2012/06/08 03:39:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.17 2014/05/22 16:30:59 slyfox Exp $ # @ECLASS: darcs.eclass # @MAINTAINER: @@ -88,7 +88,7 @@ # @DESCRIPTION: # Internal function to determine amount of patches in repository. darcs_patchcount() { - set -- $(${EDARCS_DARCS_CMD} show repo | grep "Num Patches") + set -- $(HOME="${EDARCS_TOP_DIR}" ${EDARCS_DARCS_CMD} show repo | grep "Num Patches") # handle string like: " Num Patches: 3860" echo ${3} } @@ -148,12 +148,12 @@ if [[ ${mode} == "get" ]]; then einfo "Running ${cmdget}" - eval ${cmdget} || die "darcs get command failed" + HOME="${EDARCS_TOP_DIR}" ${cmdget} || die "darcs get command failed" elif [[ -n ${EDARCS_OFFLINE} ]] ; then einfo "Offline update" elif [[ ${mode} == "update" ]]; then einfo "Running ${cmdupdate}" - eval ${cmdupdate} || die "darcs update command failed" + HOME="${EDARCS_TOP_DIR}" ${cmdupdate} || die "darcs update command failed" fi export EDARCS_PATCHCOUNT=$(darcs_patchcount)