update to anki-2.0.48

based on a diff by Derek Sivers
This commit is contained in:
jasper 2017-09-04 17:28:36 +00:00
parent f1483d933f
commit 980a499ff1
3 changed files with 15 additions and 9 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2016/07/08 10:32:34 jasper Exp $
# $OpenBSD: Makefile,v 1.13 2017/09/04 17:28:36 jasper Exp $
COMMENT = spaced learning system
DISTNAME = anki-2.0.36
DISTNAME = anki-2.0.48-source
PKGNAME = ${DISTNAME:S/-source//}
CATEGORIES = education
@ -13,7 +14,8 @@ MAINTAINER = Federico G. Schwindt <fgsch@openbsd.org>
# AGPL3
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://ankisrs.net/download/mirror/
MASTER_SITES = http://ankisrs.net/download/mirror/ \
https://apps.ankiweb.net/downloads/beta/
EXTRACT_SUFX = .tgz
@ -33,6 +35,8 @@ CONFIGURE_STYLE = none
NO_TEST = Yes
WRKDIST = ${WRKDIR}/${DISTNAME:S/-source//}
do-build:
${MODPY_BIN} -mcompileall -q ${WRKSRC}

View File

@ -1,2 +1,2 @@
SHA256 (anki-2.0.36.tgz) = +yCCMM3FDqAtU/UhzwOSbGJ//3z3MbfSnccz06sEFxw=
SIZE (anki-2.0.36.tgz) = 3410538
SHA256 (anki-2.0.48-source.tgz) = E5ssgrblULry/vXV6PslPoeNjfsYsT5ze/MfFpbuXlA=
SIZE (anki-2.0.48-source.tgz) = 3422202

View File

@ -1,8 +1,10 @@
$OpenBSD: patch-anki_anki,v 1.3 2016/03/28 13:25:25 gonzalo Exp $
--- anki/anki.orig Fri Dec 21 21:12:33 2012
+++ anki/anki Mon Mar 14 00:39:42 2016
$OpenBSD: patch-anki_anki,v 1.4 2017/09/04 17:28:36 jasper Exp $
Index: anki/anki
--- anki/anki.orig
+++ anki/anki
@@ -1,15 +1,4 @@
#!/usr/bin/env python
-#!/usr/bin/env python
+#!/usr/local/bin/python2.7
-import os, sys
-# system-wide install