UPDATE: education/anki

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: education/anki

Federico Schwindt-2
Hi,

  Update anki to 2.0.16. For changes see http://ankisrs.net/docs/changes.html
  This depends on the py-send2trash port that I sent yesterday.
  Comments? OK?

  f.-

Index: Makefile
===================================================================
RCS file: /cvs/ports/education/anki/Makefile,v
retrieving revision 1.8
diff -p -u -r1.8 Makefile
--- Makefile 18 May 2013 05:54:52 -0000 1.8
+++ Makefile 1 Nov 2013 12:05:24 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = spaced learning system
 
-DISTNAME = anki-2.0.8
+DISTNAME = anki-2.0.16
 
 CATEGORIES = education
 
@@ -23,6 +23,7 @@ MODPY_ADJ_FILES = anki/anki
 
 RUN_DEPENDS = audio/py-audio \
  devel/desktop-file-utils \
+ devel/py-send2trash \
  www/py-beautifulsoup \
  www/py-httplib2>=0.7.7 \
  x11/mplayer \
@@ -37,7 +38,7 @@ do-build:
 
 do-install:
  ${INSTALL_DATA_DIR} ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/anki/anki ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/anki/anki ${PREFIX}/bin
  ${INSTALL_DATA_DIR} ${PREFIX}/man/man1
  ${INSTALL_DATA} ${WRKSRC}/anki.1 ${PREFIX}/man/man1
  ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
Index: distinfo
===================================================================
RCS file: /cvs/ports/education/anki/distinfo,v
retrieving revision 1.6
diff -p -u -r1.6 distinfo
--- distinfo 5 Mar 2013 00:13:53 -0000 1.6
+++ distinfo 1 Nov 2013 12:05:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (anki-2.0.8.tgz) = 3WcLAr9rXJjc+p4WBqwA9uEEb43rtYEuDzg//kd4uGg=
-SIZE (anki-2.0.8.tgz) = 2924821
+SHA256 (anki-2.0.16.tgz) = MGCfJMVxpPMHxFIQyUgBdrXbJ9Avr1v0qbY0vQFWJks=
+SIZE (anki-2.0.16.tgz) = 3167535
Index: patches/patch-anki_anki
===================================================================
RCS file: /cvs/ports/education/anki/patches/patch-anki_anki,v
retrieving revision 1.1
diff -p -u -r1.1 patch-anki_anki
--- patches/patch-anki_anki 19 Jan 2013 20:42:26 -0000 1.1
+++ patches/patch-anki_anki 1 Nov 2013 12:05:24 -0000
@@ -1,10 +1,7 @@
 $OpenBSD: patch-anki_anki,v 1.1 2013/01/19 20:42:26 fgsch Exp $
 --- anki/anki.orig Sat Dec 22 00:12:33 2012
 +++ anki/anki Thu Jan 10 21:44:12 2013
-@@ -1,15 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/local/bin/python2.7
-
+@@ -2,13 +2,2 @@
 -import os, sys
 -# system-wide install
 -sys.path.insert(0, "/usr/share/anki")
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/education/anki/pkg/PLIST,v
retrieving revision 1.4
diff -p -u -r1.4 PLIST
--- pkg/PLIST 5 Mar 2013 00:13:53 -0000 1.4
+++ pkg/PLIST 1 Nov 2013 12:05:25 -0000
@@ -40,6 +40,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/anki/importing/mnemo.pyc
 lib/python${MODPY_VERSION}/site-packages/anki/importing/noteimp.py
 lib/python${MODPY_VERSION}/site-packages/anki/importing/noteimp.pyc
+lib/python${MODPY_VERSION}/site-packages/anki/importing/pauker.py
+lib/python${MODPY_VERSION}/site-packages/anki/importing/pauker.pyc
 lib/python${MODPY_VERSION}/site-packages/anki/importing/supermemo_xml.py
 lib/python${MODPY_VERSION}/site-packages/anki/importing/supermemo_xml.pyc
 lib/python${MODPY_VERSION}/site-packages/anki/js.py
@@ -103,6 +105,9 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/anki/locale/fr/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/fr/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/fr/LC_MESSAGES/anki.mo
+lib/python${MODPY_VERSION}/site-packages/anki/locale/gl/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/gl/LC_MESSAGES/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/gl/LC_MESSAGES/anki.mo
 lib/python${MODPY_VERSION}/site-packages/anki/locale/gu/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/gu/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/gu/LC_MESSAGES/anki.mo
@@ -121,6 +126,9 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ja/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ja/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ja/LC_MESSAGES/anki.mo
+lib/python${MODPY_VERSION}/site-packages/anki/locale/km/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/km/LC_MESSAGES/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/km/LC_MESSAGES/anki.mo
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ko/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ko/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ko/LC_MESSAGES/anki.mo
@@ -188,9 +196,15 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ru/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ru/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/ru/LC_MESSAGES/anki.mo
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sk/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sk/LC_MESSAGES/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sk/LC_MESSAGES/anki.mo
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sl/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sl/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sl/LC_MESSAGES/anki.mo
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sr/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sr/LC_MESSAGES/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/sr/LC_MESSAGES/anki.mo
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sv/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sv/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/sv/LC_MESSAGES/anki.mo
@@ -209,6 +223,9 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/anki/locale/vi/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/vi/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/vi/LC_MESSAGES/anki.mo
+lib/python${MODPY_VERSION}/site-packages/anki/locale/wo/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/wo/LC_MESSAGES/
+lib/python${MODPY_VERSION}/site-packages/anki/locale/wo/LC_MESSAGES/anki.mo
 lib/python${MODPY_VERSION}/site-packages/anki/locale/zh_CN/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/zh_CN/LC_MESSAGES/
 lib/python${MODPY_VERSION}/site-packages/anki/locale/zh_CN/LC_MESSAGES/anki.mo