diff options
author | drochner <drochner> | 2002-10-24 17:21:57 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-10-24 17:21:57 +0000 |
commit | b41d7a36b109970c9f1f6a592a00a19c28ce2ff3 (patch) | |
tree | 8274ba16563424522ab56891dec35953745032da /finance/emma | |
parent | 117e106a2ed0cafc262ee84ffd611a18019c3dac (diff) | |
download | pkgsrc-b41d7a36b109970c9f1f6a592a00a19c28ce2ff3.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')
-rw-r--r-- | finance/emma/Makefile | 13 | ||||
-rw-r--r-- | finance/emma/distinfo | 11 | ||||
-rw-r--r-- | finance/emma/patches/patch-ae | 17 | ||||
-rw-r--r-- | finance/emma/patches/patch-ag | 13 |
4 files changed, 36 insertions, 18 deletions
diff --git a/finance/emma/Makefile b/finance/emma/Makefile index c63a0f22792..7f0a28bffaf 100644 --- a/finance/emma/Makefile +++ b/finance/emma/Makefile @@ -1,13 +1,9 @@ -# $NetBSD: Makefile,v 1.16 2002/10/09 18:19:15 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2002/10/24 17:21:57 drochner Exp $ # -DISTNAME= emma-0.8-1 -PKGNAME= emma-0.8.1 -PKGREVISION= 1 -WRKSRC= ${WRKDIR}/emma-0.7 +DISTNAME= emma-0.8.2 CATEGORIES= finance MASTER_SITES= ${HOMEPAGE}emma/packages/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-am${EXTRACT_SUFX} MAINTAINER= tron@netbsd.org HOMEPAGE= http://rainbow.mimuw.edu.pl/~la181249/ @@ -19,10 +15,13 @@ USE_BUILDLINK2= YES USE_GMAKE= YES BUILD_USES_MSGFMT= yes CONFIGURE_ENV+= PYTHONBIN=${PYTHONBIN} +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig PYTHON_VERSIONS_ACCEPTED= 15 -WRKSRC= ${WRKDIR}/emma-0.8 +post-extract: + ${RM} ${WRKSRC}/config.cache .include "../../devel/gettext-lib/buildlink2.mk" .include "../../lang/python/application.mk" diff --git a/finance/emma/distinfo b/finance/emma/distinfo index 6f9c94ff107..e4bd53c8be4 100644 --- a/finance/emma/distinfo +++ b/finance/emma/distinfo @@ -1,11 +1,10 @@ -$NetBSD: distinfo,v 1.10 2002/10/02 23:28:39 wiz Exp $ +$NetBSD: distinfo,v 1.11 2002/10/24 17:21:58 drochner Exp $ -SHA1 (emma-0.8-1.tar.gz) = 06c0216a441511b88c36d7d600b9e6e5b443f6d3 -Size (emma-0.8-1.tar.gz) = 409664 bytes -SHA1 (emma-0.8-1-am.tar.gz) = 5d2f4ce856507cd4fe32170fb5303b64811849dc -Size (emma-0.8-1-am.tar.gz) = 4778 bytes +SHA1 (emma-0.8.2.tar.gz) = 5f72cd26b6629f6bfa03b2d15f01ea8d72db6c48 +Size (emma-0.8.2.tar.gz) = 649264 bytes SHA1 (patch-aa) = 55412520766343b18c46b1b4e13cc58077a14269 SHA1 (patch-ab) = b40e3014cd9287aebf3c19759edc2d4ddcbf9ffe SHA1 (patch-ac) = 0c096fc00992f49eea170003ba6f6cc9307d884c -SHA1 (patch-ae) = 9d624620c2702a1a2b6888a715e5ac3e63b21f96 +SHA1 (patch-ae) = ead0c0c70427f5917ba03fdd51e3d6495bfd73fe SHA1 (patch-af) = c5a0980ef064c86f40aeefb807f842aae23ec4d9 +SHA1 (patch-ag) = ac550a60acb33f5ebe4d24efd807c3b7dac7a4ea 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" |