Mon Nov 18 19:46:14 2013 UTC ()
Update to 2.0.18:

Update to 2.0.18:
    Fix a bug that could cause invalid scheduling when a card was
    manually buried while in a filtered deck. For now, burying in
    a filtered deck will mean that the card returns to the home
    deck.
    Fix an issue where Anki was failing to start if prefs.db was
    corrupt.
    Don窶冲 create a .log file when exporting files.
    Rotate log files when they hit 10MB.
    Warn user when they have filenames with an invalid encoding.
    Fix a long error being shown when syncing without a net connection
    on some Linux computers.
    Update "check database" to catch an issue with note types.
    Fix issues on some Linux systems that had simplejson installed.
    Fix some issues that were masking actual connection errors.
    Catch more temp folder issues.
    Possible fix for OSX crash when editing.


(wiz)
diff -r1.14 -r1.15 pkgsrc/misc/py-anki2/Makefile
diff -r1.13 -r1.14 pkgsrc/misc/py-anki2/distinfo

cvs diff -r1.14 -r1.15 pkgsrc/misc/py-anki2/Attic/Makefile (switch to unified diff)

--- pkgsrc/misc/py-anki2/Attic/Makefile 2013/11/13 19:48:34 1.14
+++ pkgsrc/misc/py-anki2/Attic/Makefile 2013/11/18 19:46:14 1.15
@@ -1,68 +1,68 @@ @@ -1,68 +1,68 @@
1# $NetBSD: Makefile,v 1.14 2013/11/13 19:48:34 wiz Exp $ 1# $NetBSD: Makefile,v 1.15 2013/11/18 19:46:14 wiz Exp $
2 2
3DISTNAME= anki-2.0.17 3DISTNAME= anki-2.0.18
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:C/anki/anki2/} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:C/anki/anki2/}
5CATEGORIES= misc x11 5CATEGORIES= misc x11
6MASTER_SITES= http://ankisrs.net/download/mirror/ 6MASTER_SITES= http://ankisrs.net/download/mirror/
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8 8
9MAINTAINER= wiz@NetBSD.org 9MAINTAINER= wiz@NetBSD.org
10HOMEPAGE= http://ankisrs.net/ 10HOMEPAGE= http://ankisrs.net/
11COMMENT= Flashcard learning program (v2) 11COMMENT= Flashcard learning program (v2)
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14DEPENDS+= ${PYPKGPREFIX}-qt4>=4.4:../../x11/py-qt4 14DEPENDS+= ${PYPKGPREFIX}-qt4>=4.4:../../x11/py-qt4
15DEPENDS+= lame-[0-9]*:../../audio/lame 15DEPENDS+= lame-[0-9]*:../../audio/lame
16DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer 16DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer
17DEPENDS+= portaudio-devel-[0-9]*:../../audio/portaudio-devel 17DEPENDS+= portaudio-devel-[0-9]*:../../audio/portaudio-devel
18# Actually, these hurt more than they help. 18# Actually, these hurt more than they help.
19# anki comes with its own version of the two, and if the pkgsrc versions 19# anki comes with its own version of the two, and if the pkgsrc versions
20# are newer, it might break 20# are newer, it might break
21#DEPENDS+= ${PYPKGPREFIX}-beautifulsoup>=3.2:../../www/py-beautifulsoup 21#DEPENDS+= ${PYPKGPREFIX}-beautifulsoup>=3.2:../../www/py-beautifulsoup
22#DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2 22#DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
23# XXX: python portaudio 23# XXX: python portaudio
24 24
25USE_PKGLOCALEDIR= yes 25USE_PKGLOCALEDIR= yes
26USE_LANGUAGES= # none 26USE_LANGUAGES= # none
27CONFLICTS+= ${PYPKGPREFIX}-libanki-[0-9]* ${PYPKGPREFIXP}-anki-[0-9]* 27CONFLICTS+= ${PYPKGPREFIX}-libanki-[0-9]* ${PYPKGPREFIXP}-anki-[0-9]*
28 28
29INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/pixmaps share/applications 29INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/pixmaps share/applications
30 30
31REPLACE_PYTHON= anki/anki runanki 31REPLACE_PYTHON= anki/anki runanki
32 32
33USE_TOOLS+= bash:run 33USE_TOOLS+= bash:run
34 34
35REPLACE_BASH= tools/tests.sh tools/build_ui.sh 35REPLACE_BASH= tools/tests.sh tools/build_ui.sh
36 36
37SUBST_CLASSES+= inst 37SUBST_CLASSES+= inst
38SUBST_SED.inst+= -e 's,/usr/share/anki,${PREFIX}/share/anki,' 38SUBST_SED.inst+= -e 's,/usr/share/anki,${PREFIX}/share/anki,'
39SUBST_FILES.inst+= anki/anki runanki 39SUBST_FILES.inst+= anki/anki runanki
40SUBST_STAGE.inst= pre-build 40SUBST_STAGE.inst= pre-build
41SUBST_MESSAGE.inst= Fixing installation path. 41SUBST_MESSAGE.inst= Fixing installation path.
42 42
43SUBST_CLASSES+= lame 43SUBST_CLASSES+= lame
44SUBST_SED.lame+= -e 's,/usr/local,${PREFIX},' 44SUBST_SED.lame+= -e 's,/usr/local,${PREFIX},'
45SUBST_FILES.lame+= anki/sound.py 45SUBST_FILES.lame+= anki/sound.py
46SUBST_STAGE.lame= pre-build 46SUBST_STAGE.lame= pre-build
47SUBST_MESSAGE.lame= Fixing path to lame. 47SUBST_MESSAGE.lame= Fixing path to lame.
48 48
49SUBST_CLASSES+= man 49SUBST_CLASSES+= man
50SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,' 50SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,'
51SUBST_FILES.man+= Makefile 51SUBST_FILES.man+= Makefile
52SUBST_STAGE.man= pre-build 52SUBST_STAGE.man= pre-build
53SUBST_MESSAGE.man= Fixing path to man page directory. 53SUBST_MESSAGE.man= Fixing path to man page directory.
54 54
55MAKE_FLAGS+= PREFIX=${PREFIX} DESTDIR=${DESTDIR} 55MAKE_FLAGS+= PREFIX=${PREFIX} DESTDIR=${DESTDIR}
56 56
57post-extract: 57post-extract:
58 ${RM} -rf ${WRKSRC}/libanki/thirdparty 58 ${RM} -rf ${WRKSRC}/libanki/thirdparty
59 59
60# first due to patch-Makefile 60# first due to patch-Makefile
61# second: linux shared libraries won't help in the general case 61# second: linux shared libraries won't help in the general case
62post-install: 62post-install:
63 rm ${DESTDIR}${PREFIX}/share/anki/Makefile.orig 63 rm ${DESTDIR}${PREFIX}/share/anki/Makefile.orig
64 rm ${DESTDIR}${PREFIX}/share/anki/thirdparty/py*/_portaudio.so 64 rm ${DESTDIR}${PREFIX}/share/anki/thirdparty/py*/_portaudio.so
65 65
66.include "../../lang/python/application.mk" 66.include "../../lang/python/application.mk"
67.include "../../sysutils/desktop-file-utils/desktopdb.mk" 67.include "../../sysutils/desktop-file-utils/desktopdb.mk"
68.include "../../mk/bsd.pkg.mk" 68.include "../../mk/bsd.pkg.mk"

cvs diff -r1.13 -r1.14 pkgsrc/misc/py-anki2/Attic/distinfo (switch to unified diff)

--- pkgsrc/misc/py-anki2/Attic/distinfo 2013/11/13 19:48:34 1.13
+++ pkgsrc/misc/py-anki2/Attic/distinfo 2013/11/18 19:46:14 1.14
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.13 2013/11/13 19:48:34 wiz Exp $ 1$NetBSD: distinfo,v 1.14 2013/11/18 19:46:14 wiz Exp $
2 2
3SHA1 (anki-2.0.17.tgz) = 1ce4f12dab2f016071762261eae9b30e91023f7c 3SHA1 (anki-2.0.18.tgz) = 62203c105bfbd6c993de0808bd88f93905fd9586
4RMD160 (anki-2.0.17.tgz) = b6cd4e032756b4a67f9dd7e17d1d9b77300dc281 4RMD160 (anki-2.0.18.tgz) = 4b422c0ae24ecc97b8aa60f7809cacc968c3462d
5Size (anki-2.0.17.tgz) = 3175214 bytes 5Size (anki-2.0.18.tgz) = 3179157 bytes
6SHA1 (patch-Makefile) = aec4f2bc649f6173d4a5c87b559e825a2462748e 6SHA1 (patch-Makefile) = aec4f2bc649f6173d4a5c87b559e825a2462748e