pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/moneyguru Update to 2.7.2 and fix build with p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d950bce3710f
branches:  trunk
changeset: 639585:d950bce3710f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 17 22:37:04 2014 +0000

description:
Update to 2.7.2 and fix build with py-sphinx-1.2.3.

2.7.2 (2014-01-25)

    Fixed amount parsing issue. (#379)
    Don't repeatedly fetch currency rates we can never get. (#374)
    Fixed date parsing issue. [Windows, Linux] (#381)
    Fixed view plugins which were broken.

diffstat:

 finance/moneyguru/Makefile                            |   7 ++++---
 finance/moneyguru/PLIST                               |  12 +++++++-----
 finance/moneyguru/distinfo                            |   9 +++++----
 finance/moneyguru/patches/patch-hscommon_sphinxgen.py |  16 ++++++++++++++++
 4 files changed, 32 insertions(+), 12 deletions(-)

diffs (116 lines):

diff -r b8c028533441 -r d950bce3710f finance/moneyguru/Makefile
--- a/finance/moneyguru/Makefile        Wed Sep 17 22:32:50 2014 +0000
+++ b/finance/moneyguru/Makefile        Wed Sep 17 22:37:04 2014 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2014/05/17 16:10:44 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2014/09/17 22:37:04 wiz Exp $
 #
 # any of ~* is fine, they are the same and just there for Ubuntu
 # so moneyguru's built for all releases
-DISTNAME=      2.7.1
+DISTNAME=      2.7.2
 PKGNAME=       moneyguru-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    finance
 MASTER_SITES=  https://github.com/hsoft/moneyguru/archive/
 
@@ -49,6 +48,8 @@
        cd ${WRKSRC} && pax -pp -rw ambuttonbar build cocoa cocoalib core data help hscommon images locale plugin_examples psmtabbarcontrol qt qtlib run.py ${DESTDIR}${PREFIX}/share/moneyguru
        ${INSTALL_DATA} ${WRKSRC}/debian/moneyguru.desktop ${DESTDIR}${PREFIX}/share/applications
        ${LN} -s ${DESTDIR}${PREFIX}/share/moneyguru/run.py ${DESTDIR}${PREFIX}/bin/moneyguru
+# remove after patches/patch-hscommon_sphinxgen.py is gone
+       ${RM} ${DESTDIR}${PREFIX}/share/moneyguru/hscommon/sphinxgen.py.orig
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
diff -r b8c028533441 -r d950bce3710f finance/moneyguru/PLIST
--- a/finance/moneyguru/PLIST   Wed Sep 17 22:32:50 2014 +0000
+++ b/finance/moneyguru/PLIST   Wed Sep 17 22:37:04 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/05/10 06:52:03 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/09/17 22:37:04 wiz Exp $
 bin/moneyguru
 share/applications/moneyguru.desktop
 share/moneyguru/ambuttonbar/AMButtonBar.h
@@ -707,10 +707,11 @@
 share/moneyguru/help/__init__.py
 share/moneyguru/help/changelog
 share/moneyguru/help/conf.tmpl
+share/moneyguru/help/credits.rst
 share/moneyguru/help/cs/basics.rst
 share/moneyguru/help/cs/cash.rst
 share/moneyguru/help/cs/changelog.tmpl
-share/moneyguru/help/cs/credits.rst
+share/moneyguru/help/cs/credits.tmpl
 share/moneyguru/help/cs/currencies.rst
 share/moneyguru/help/cs/editing.rst
 share/moneyguru/help/cs/faq.rst
@@ -722,7 +723,7 @@
 share/moneyguru/help/de/basics.rst
 share/moneyguru/help/de/cash.rst
 share/moneyguru/help/de/changelog.tmpl
-share/moneyguru/help/de/credits.rst
+share/moneyguru/help/de/credits.tmpl
 share/moneyguru/help/de/currencies.rst
 share/moneyguru/help/de/editing.rst
 share/moneyguru/help/de/faq.rst
@@ -737,6 +738,7 @@
 share/moneyguru/help/en/changelog.tmpl
 share/moneyguru/help/en/conf.py
 share/moneyguru/help/en/credits.rst
+share/moneyguru/help/en/credits.tmpl
 share/moneyguru/help/en/currencies.rst
 share/moneyguru/help/en/developer/api/document.rst
 share/moneyguru/help/en/developer/api/index.rst
@@ -757,7 +759,7 @@
 share/moneyguru/help/fr/basics.rst
 share/moneyguru/help/fr/cash.rst
 share/moneyguru/help/fr/changelog.tmpl
-share/moneyguru/help/fr/credits.rst
+share/moneyguru/help/fr/credits.tmpl
 share/moneyguru/help/fr/currencies.rst
 share/moneyguru/help/fr/editing.rst
 share/moneyguru/help/fr/faq.rst
@@ -811,7 +813,7 @@
 share/moneyguru/help/it/basics.rst
 share/moneyguru/help/it/cash.rst
 share/moneyguru/help/it/changelog.tmpl
-share/moneyguru/help/it/credits.rst
+share/moneyguru/help/it/credits.tmpl
 share/moneyguru/help/it/currencies.rst
 share/moneyguru/help/it/editing.rst
 share/moneyguru/help/it/faq.rst
diff -r b8c028533441 -r d950bce3710f finance/moneyguru/distinfo
--- a/finance/moneyguru/distinfo        Wed Sep 17 22:32:50 2014 +0000
+++ b/finance/moneyguru/distinfo        Wed Sep 17 22:37:04 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/01/25 11:11:20 wiz Exp $
+$NetBSD: distinfo,v 1.3 2014/09/17 22:37:04 wiz Exp $
 
-SHA1 (moneyguru/2.7.1.tar.gz) = 3920ac8ba29f83cb9684755efa88a8dd9436dd65
-RMD160 (moneyguru/2.7.1.tar.gz) = 940d964302dcd318cd90b47fdedb6aa839b955dc
-Size (moneyguru/2.7.1.tar.gz) = 3128081 bytes
+SHA1 (moneyguru/2.7.2.tar.gz) = 5d28f6970653ef5d3ffea0b79c04c83fbb3f4081
+RMD160 (moneyguru/2.7.2.tar.gz) = 77192c2b67400e4e9a3f1c749542048ff01d3d74
+Size (moneyguru/2.7.2.tar.gz) = 3126811 bytes
+SHA1 (patch-hscommon_sphinxgen.py) = 7fa6569d833ba57c4cd529476ad9eff0d200b5c7
diff -r b8c028533441 -r d950bce3710f finance/moneyguru/patches/patch-hscommon_sphinxgen.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/moneyguru/patches/patch-hscommon_sphinxgen.py     Wed Sep 17 22:37:04 2014 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-hscommon_sphinxgen.py,v 1.1 2014/09/17 22:37:04 wiz Exp $
+
+Fix build with sphinx-1.2.3, from
+https://github.com/hsoft/moneyguru/commit/53ee31a909c9e6021573167dd797b6a9cf8873a1
+
+--- hscommon/sphinxgen.py.orig 2014-01-25 19:13:23.000000000 +0000
++++ hscommon/sphinxgen.py
+@@ -66,4 +66,7 @@ def gen(basepath, destpath, changelogpat
+     # missing dependencies which are in the virtualenv). Here, we do exactly what is done when
+     # calling the command from bash.
+     cmd = load_entry_point('Sphinx', 'console_scripts', 'sphinx-build')
+-    cmd(['sphinx-build', basepath, destpath])
++    try:
++        cmd(['sphinx-build', basepath, destpath])
++    except SystemExit:
++        print("Sphinx called sys.exit(), but we're cancelling it because we don't acutally want to exit")



Home | Main Index | Thread Index | Old Index