summaryrefslogtreecommitdiff
path: root/devel/tailor
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2008-09-14 10:20:38 +0000
committertonio <tonio@pkgsrc.org>2008-09-14 10:20:38 +0000
commit039f45e8d92f7c1ee8d54045d5fe125c8ec80784 (patch)
tree55fa5d4600150d4eeaa655456ea0233c780f32f0 /devel/tailor
parent1382d85001f08953a8baa56faa3dfb09234ad374 (diff)
downloadpkgsrc-039f45e8d92f7c1ee8d54045d5fe125c8ec80784.tar.gz
Fix the package to work with python 2.4
Diffstat (limited to 'devel/tailor')
-rw-r--r--devel/tailor/Makefile3
-rw-r--r--devel/tailor/distinfo3
-rw-r--r--devel/tailor/patches/patch-aa23
3 files changed, 27 insertions, 2 deletions
diff --git a/devel/tailor/Makefile b/devel/tailor/Makefile
index 8d24e88f011..a855fd6af67 100644
--- a/devel/tailor/Makefile
+++ b/devel/tailor/Makefile
@@ -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 --git a/devel/tailor/distinfo b/devel/tailor/distinfo
index 1a9b6504189..0236451a6ed 100644
--- a/devel/tailor/distinfo
+++ b/devel/tailor/distinfo
@@ -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 --git a/devel/tailor/patches/patch-aa b/devel/tailor/patches/patch-aa
new file mode 100644
index 00000000000..a887a9fe9f2
--- /dev/null
+++ b/devel/tailor/patches/patch-aa
@@ -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()