summaryrefslogtreecommitdiff
path: root/finance/emma/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-10-24 17:21:57 +0000
committerdrochner <drochner@pkgsrc.org>2002-10-24 17:21:57 +0000
commit06e11eb6fd832ce8bb4a78e40245762ad3ab71a7 (patch)
tree8274ba16563424522ab56891dec35953745032da /finance/emma/patches
parent6c44e383d1aa0c0afbd819c68833dd38e439c26b (diff)
downloadpkgsrc-06e11eb6fd832ce8bb4a78e40245762ad3ab71a7.tar.gz
-make this work with newer mxDateTime packages (namespace hierarchy change)
-while here, update to 0.8.2; the only changelog entry is "Factor for schedule-frequency" (whatever this means...) -use pkglibtool
Diffstat (limited to 'finance/emma/patches')
-rw-r--r--finance/emma/patches/patch-ae17
-rw-r--r--finance/emma/patches/patch-ag13
2 files changed, 25 insertions, 5 deletions
diff --git a/finance/emma/patches/patch-ae b/finance/emma/patches/patch-ae
index ec68365634b..6fcaf3137f3 100644
--- a/finance/emma/patches/patch-ae
+++ b/finance/emma/patches/patch-ae
@@ -1,8 +1,15 @@
-$NetBSD: patch-ae,v 1.1 2001/07/02 14:29:46 drochner Exp $
+$NetBSD: patch-ae,v 1.2 2002/10/24 17:21:59 drochner Exp $
---- data/date.py.orig Mon Jul 2 16:07:58 2001
-+++ data/date.py Mon Jul 2 16:08:36 2001
-@@ -57,7 +57,7 @@
+--- data/date.py.orig Sat Sep 22 20:02:33 2001
++++ data/date.py Thu Oct 24 18:44:53 2002
+@@ -1,4 +1,6 @@
+ try:
++ from mx.DateTime import *
++except ImportError:
+ from DateTime import *
+ except:
+ print "In order to use date.py you need the mxdatetime package"
+@@ -57,7 +59,7 @@
return emma.date() >= this.ticks() and emma.date() < next.ticks()
emma.register_func("MonthExt",\
@@ -11,7 +18,7 @@ $NetBSD: patch-ae,v 1.1 2001/07/02 14:29:46 drochner Exp $
"Returns True if the transaction happened\n"\
"in the next <numMonths> months offset by\n"\
"<offset> weeks.\n\n"\
-@@ -72,7 +72,7 @@
+@@ -72,7 +74,7 @@
return emma.date() >= this.ticks() and emma.date() < next.ticks()
emma.register_func("YearExt",\
diff --git a/finance/emma/patches/patch-ag b/finance/emma/patches/patch-ag
new file mode 100644
index 00000000000..f09b07005b5
--- /dev/null
+++ b/finance/emma/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2002/10/24 17:21:59 drochner Exp $
+
+--- emma.py.orig Thu Oct 24 19:03:38 2002
++++ emma.py Thu Oct 24 19:04:59 2002
+@@ -175,6 +175,8 @@
+ ##################################################################
+
+ try:
++ from mx.DateTime import *
++except ImportError:
+ from DateTime import *
+ except:
+ print "In order to use the limits you need the mxdatetime package"