Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 343581 | Differences between
and this patch

Collapse All | Expand All

(-)darcs.eclass (+9 lines)
Lines 55-60 SRC_URI="" Link Here
55
# add darcs to deps
55
# add darcs to deps
56
DEPEND="dev-vcs/darcs"
56
DEPEND="dev-vcs/darcs"
57
57
58
darcs_patchcount() {
59
	set -- $(${EDARCS_DARCS_CMD} show repo | grep "Num Patches")
60
	# handle string like: "    Num Patches: 3860"
61
	echo ${3}
62
}
63
58
# is called from darcs_src_unpack
64
# is called from darcs_src_unpack
59
darcs_fetch() {
65
darcs_fetch() {
60
66
Lines 114-119 darcs_fetch() { Link Here
114
		eval $cmdupdate || die "darcs update command failed"
120
		eval $cmdupdate || die "darcs update command failed"
115
	fi
121
	fi
116
122
123
	export EDARCS_PATCHCOUNT=$(darcs_patchcount)
124
	einfo "    patches in repo: ${EDARCS_PATCHCOUNT}"
125
117
	popd
126
	popd
118
}
127
}
119
128

Return to bug 343581