From 95d18760558dc95b6bb65bc5237167d7a859aa8e Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Mon, 4 Jul 2011 14:22:47 -0700
Subject: mercurial:bumped to latest

---
 abs/extra/mercurial/PKGBUILD    | 12 ++++++------
 abs/extra/mercurial/__changelog |  1 +
 2 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 abs/extra/mercurial/__changelog

diff --git a/abs/extra/mercurial/PKGBUILD b/abs/extra/mercurial/PKGBUILD
index 0ce6012..7c146f5 100644
--- a/abs/extra/mercurial/PKGBUILD
+++ b/abs/extra/mercurial/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 97863 2010-11-02 05:48:54Z giovanni $
+# $Id: PKGBUILD 99614 2010-11-15 21:11:47Z giovanni $
 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
 
 pkgname=mercurial
-pkgver=1.7
-pkgrel=1
+pkgver=1.7.1
+pkgrel=2
 pkgdesc="A scalable distributed SCM tool"
 arch=('i686' 'x86_64')
 url="http://www.selenic.com/mercurial"
@@ -13,15 +13,15 @@ depends=('python2')
 optdepends=('tk: for the hgk GUI')
 source=(http://www.selenic.com/mercurial/release/${pkgname}-${pkgver}.tar.gz
         mercurial.profile)
-md5sums=('698948ff128d265db55bee8149445556'
+md5sums=('b14caa0f9e4dd5acbf9e9a6059c37fd3'
          '43e1d36564d4c7fbe9a091d3ea370a44')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   python2 setup.py install --root="${pkgdir}/" --optimize=1 || return 1
 
-  #sed -i -e 's#env python#env python2#' \
-  #  "${pkgdir}"/usr/lib/python2.7/site-packages/mercurial/lsprof.py
+  sed -i -e 's#env python#env python2#' \
+    "${pkgdir}"/usr/lib/python2.6/site-packages/mercurial/lsprof.py
 
   install -d ${pkgdir}/usr/share/man/{man1,man5}
   install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1" || return 1
diff --git a/abs/extra/mercurial/__changelog b/abs/extra/mercurial/__changelog
new file mode 100644
index 0000000..e0cb121
--- /dev/null
+++ b/abs/extra/mercurial/__changelog
@@ -0,0 +1 @@
+7/4/11 - chw - change to ensure use of python 2.6 in PKGBUILD
-- 
cgit v0.12

