public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog darcs.eclass
@ 2012-04-02 17:48 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich (slyfox) @ 2012-04-02 17:48 UTC (permalink / raw
  To: gentoo-commits

slyfox      12/04/02 17:48:06

  Modified:             ChangeLog darcs.eclass
  Log:
  Switch from ESCM_OFFLINE var to EVCS_OFFLINE (bug #410467 by Ulrich Müller). Don't skip _darcs/ when checkout to $WORKDIR. Add 'rsync' to DEPENDS.

Revision  Changes    Path
1.197                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.197&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.197&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.196&r2=1.197

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -r1.196 -r1.197
--- ChangeLog	1 Apr 2012 19:19:40 -0000	1.196
+++ ChangeLog	2 Apr 2012 17:48:06 -0000	1.197
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.196 2012/04/01 19:19:40 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.197 2012/04/02 17:48:06 slyfox Exp $
+
+  02 Apr 2012; Sergei Trofimovich <slyfox@gentoo.org> darcs.eclass:
+  Switch from ESCM_OFFLINE var to EVCS_OFFLINE (bug #410467 by Ulrich Müller).
+  Don't skip _darcs/ when checkout to $WORKDIR. Add 'rsync' to DEPENDS.
 
   01 Apr 2012; Mike Gilbert <floppym@gentoo.org> subversion.eclass:
   ESCM_OFFLINE -> EVCS_OFFLINE. Bug 410471.



1.14                 eclass/darcs.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?r1=1.13&r2=1.14

Index: darcs.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- darcs.eclass	27 Dec 2011 17:55:12 -0000	1.13
+++ darcs.eclass	2 Apr 2012 17:48:06 -0000	1.14
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.13 2011/12/27 17:55:12 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.14 2012/04/02 17:48:06 slyfox Exp $
 
 # @ECLASS: darcs.eclass
 # @MAINTAINER:
@@ -69,9 +69,9 @@
 # @ECLASS-VARIABLE: EDARCS_OFFLINE
 # @DESCRIPTION:
 # Set this variable to a non-empty value to disable the automatic updating of
-# a darcs repository. this is intended to be set outside the darcs source
-# tree by users.
-: ${EDARCS_OFFLINE:=${ESCM_OFFLINE}}
+# a darcs repository. This is intended to be set outside the darcs source
+# tree by users. Defaults to EVCS_OFFLINE value.
+: ${EDARCS_OFFLINE:=${EVCS_OFFLINE}}
 
 # @ECLASS-VARIABLE: EDARCS_CLEAN
 # @DESCRIPTION:
@@ -82,8 +82,8 @@
 
 # --- end ebuild-configurable settings ---
 
-# add darcs to deps
-DEPEND="dev-vcs/darcs"
+DEPEND="dev-vcs/darcs
+	net-misc/rsync"
 
 # @FUNCTION: darcs_patchcount
 # @DESCRIPTION:
@@ -196,7 +196,7 @@
 	mkdir -p "${WORKDIR}/${P}"
 
 	eshopts_push -s dotglob	# get any dotfiles too.
-	rsync -rlpgo --exclude="_darcs/"  "${EDARCS_TOP_DIR}/${EDARCS_LOCALREPO}"/* "${WORKDIR}/${P}"
+	rsync -rlpgo "${EDARCS_TOP_DIR}/${EDARCS_LOCALREPO}"/* "${WORKDIR}/${P}"
 	eshopts_pop
 
 	einfo "Darcs repository contents are now in ${WORKDIR}/${P}"






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog darcs.eclass
@ 2012-05-30 15:25 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich (slyfox) @ 2012-05-30 15:25 UTC (permalink / raw
  To: gentoo-commits

slyfox      12/05/30 15:25:08

  Modified:             ChangeLog darcs.eclass
  Log:
  Use 'darcs get --lazy' instead of 'darcs get --partial' (gone in darcs-2.8).

Revision  Changes    Path
1.280                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.280&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.280&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.279&r2=1.280

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -r1.279 -r1.280
--- ChangeLog	30 May 2012 08:21:18 -0000	1.279
+++ ChangeLog	30 May 2012 15:25:08 -0000	1.280
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.279 2012/05/30 08:21:18 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.280 2012/05/30 15:25:08 slyfox Exp $
+
+  30 May 2012; Sergei Trofimovich <slyfox@gentoo.org> darcs.eclass:
+  Use 'darcs get --lazy' instead of 'darcs get --partial' (gone in darcs-2.8).
 
   30 May 2012; Ralph Sennhauser <sera@gentoo.org> ant-tasks.eclass:
   Set prefix for ant-1.8.4



1.15                 eclass/darcs.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?r1=1.14&r2=1.15

Index: darcs.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- darcs.eclass	2 Apr 2012 17:48:06 -0000	1.14
+++ darcs.eclass	30 May 2012 15:25:08 -0000	1.15
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.14 2012/04/02 17:48:06 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.15 2012/05/30 15:25:08 slyfox Exp $
 
 # @ECLASS: darcs.eclass
 # @MAINTAINER:
@@ -44,7 +44,7 @@
 # @ECLASS-VARIABLE: EDARCS_GET_CMD
 # @DESCRIPTION:
 # First fetch darcs command.
-: ${EDARCS_GET_CMD:=get --partial}
+: ${EDARCS_GET_CMD:=get --lazy}
 
 # @ECLASS-VARIABLE: EDARCS_UPDATE_CMD
 # @DESCRIPTION:






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog darcs.eclass
@ 2014-05-22 16:31 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich (slyfox) @ 2014-05-22 16:31 UTC (permalink / raw
  To: gentoo-commits

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 <slyfox@gentoo.org> darcs.eclass:
+  store darcs cache in DISTDIR
 
   22 May 2014; Lars Wendler <polynomial-c@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)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog darcs.eclass
@ 2015-01-01 21:09 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich (slyfox) @ 2015-01-01 21:09 UTC (permalink / raw
  To: gentoo-commits

slyfox      15/01/01 21:09:28

  Modified:             ChangeLog darcs.eclass
  Log:
  Fix patch count on first clone (by vikraman).

Revision  Changes    Path
1.1491               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1491&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1491&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1490&r2=1.1491

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1490
retrieving revision 1.1491
diff -u -r1.1490 -r1.1491
--- ChangeLog	30 Dec 2014 07:24:52 -0000	1.1490
+++ ChangeLog	1 Jan 2015 21:09:28 -0000	1.1491
@@ -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.1490 2014/12/30 07:24:52 williamh Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1491 2015/01/01 21:09:28 slyfox Exp $
+
+  01 Jan 2015; Sergei Trofimovich <slyfox@gentoo.org> darcs.eclass:
+  Fix patch count on first clone (by vikraman).
 
   30 Dec 2014; William Hubbs <williamh@gentoo.org> eutils.eclass:
   Allow 512x512 icons to be installed (this was approved by ssuominen).



1.18                 eclass/darcs.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/darcs.eclass?r1=1.17&r2=1.18

Index: darcs.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- darcs.eclass	22 May 2014 16:30:59 -0000	1.17
+++ darcs.eclass	1 Jan 2015 21:09:28 -0000	1.18
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.17 2014/05/22 16:30:59 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.18 2015/01/01 21:09:28 slyfox Exp $
 
 # @ECLASS: darcs.eclass
 # @MAINTAINER:
@@ -88,7 +88,7 @@
 # @DESCRIPTION:
 # Internal function to determine amount of patches in repository.
 darcs_patchcount() {
-	set -- $(HOME="${EDARCS_TOP_DIR}" ${EDARCS_DARCS_CMD} show repo | grep "Num Patches")
+	set -- $(HOME="${EDARCS_TOP_DIR}" ${EDARCS_DARCS_CMD} show repo --repodir="${EDARCS_TOP_DIR}/${EDARCS_LOCALREPO}" | grep "Num Patches")
 	# handle string like: "    Num Patches: 3860"
 	echo ${3}
 }





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-01 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 17:48 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog darcs.eclass Sergei Trofimovich (slyfox)
  -- strict thread matches above, loose matches on Subject: below --
2012-05-30 15:25 Sergei Trofimovich (slyfox)
2014-05-22 16:31 Sergei Trofimovich (slyfox)
2015-01-01 21:09 Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox