pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/tailor Fix the package to work with python 2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cf44859f475
branches:  trunk
changeset: 547207:1cf44859f475
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sun Sep 14 10:20:38 2008 +0000

description:
Fix the package to work with python 2.4

diffstat:

 devel/tailor/Makefile         |   3 ++-
 devel/tailor/distinfo         |   3 ++-
 devel/tailor/patches/patch-aa |  23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r d43bb1a9d8c4 -r 1cf44859f475 devel/tailor/Makefile
--- a/devel/tailor/Makefile     Sun Sep 14 09:51:30 2008 +0000
+++ b/devel/tailor/Makefile     Sun Sep 14 10:20:38 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2008/06/13 05:01:23 bjs Exp $
+# $NetBSD: Makefile,v 1.14 2008/09/14 10:20:38 tonio Exp $
 #
 
 DISTNAME=              tailor-0.9.35
+PKGREVISION=           1
 CATEGORIES=            devel scm
 MASTER_SITES=          http://darcs.arstecnica.it/
 
diff -r d43bb1a9d8c4 -r 1cf44859f475 devel/tailor/distinfo
--- a/devel/tailor/distinfo     Sun Sep 14 09:51:30 2008 +0000
+++ b/devel/tailor/distinfo     Sun Sep 14 10:20:38 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2008/06/13 05:01:23 bjs Exp $
+$NetBSD: distinfo,v 1.11 2008/09/14 10:20:38 tonio Exp $
 
 SHA1 (tailor-0.9.35.tar.gz) = 442d1d11bf4ba5d54684f78783f94f753a02292e
 RMD160 (tailor-0.9.35.tar.gz) = a3fc4339c6e7ce1397584363d127ae1219ee3888
 Size (tailor-0.9.35.tar.gz) = 228650 bytes
+SHA1 (patch-aa) = 4516f616829be1756016ad9b6f722ab1c420e72e
diff -r d43bb1a9d8c4 -r 1cf44859f475 devel/tailor/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tailor/patches/patch-aa     Sun Sep 14 10:20:38 2008 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2008/09/14 10:20:38 tonio Exp $
+
+python 2.4 support
+
+--- vcpx/repository/bzr.py.orig        2008-09-14 12:15:29.000000000 +0200
++++ vcpx/repository/bzr.py
+@@ -274,10 +274,14 @@ class BzrWorkingDir(UpdatableSourceWorki
+ 
+                 for id, revision in revisions:
+                     yield self._changesetFromRevision(parent_branch, revision)
+-            finally:
++            except:
+                 parent_branch.unlock()
+-        finally:
++                raise
++            parent_branch.unlock()
++        except:
+             branch.unlock()
++            raise
++        branch.unlock()
+ 
+         self.log.info("Fetching concrete changesets")
+         branch.lock_write()



Home | Main Index | Thread Index | Old Index