Gentoo Archives: gentoo-commits

From: "Thomas Kahle (tomka)" <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/anki: anki-2.0.16.ebuild ChangeLog anki-2.0.15.ebuild anki-2.0.14.ebuild
Date: Fri, 01 Nov 2013 12:09:13
Message-Id: 20131101120905.CC68B2004B@flycatcher.gentoo.org
1 tomka 13/11/01 12:09:05
2
3 Modified: ChangeLog
4 Added: anki-2.0.16.ebuild
5 Removed: anki-2.0.15.ebuild anki-2.0.14.ebuild
6 Log:
7 bump to 2.0.16, remove old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC!)
10
11 Revision Changes Path
12 1.68 app-misc/anki/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/anki/ChangeLog?rev=1.68&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/anki/ChangeLog?rev=1.68&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/anki/ChangeLog?r1=1.67&r2=1.68
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v
21 retrieving revision 1.67
22 retrieving revision 1.68
23 diff -u -r1.67 -r1.68
24 --- ChangeLog 23 Oct 2013 14:57:28 -0000 1.67
25 +++ ChangeLog 1 Nov 2013 12:09:05 -0000 1.68
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-misc/anki
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.67 2013/10/23 14:57:28 tomka Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.68 2013/11/01 12:09:05 tomka Exp $
31 +
32 +*anki-2.0.16 (01 Nov 2013)
33 +
34 + 01 Nov 2013; Thomas Kahle <tomka@g.o> +anki-2.0.16.ebuild,
35 + -anki-2.0.14.ebuild, -anki-2.0.15.ebuild:
36 + bump to 2.0.16, remove old
37
38 *anki-2.0.15 (23 Oct 2013)
39
40
41
42
43 1.1 app-misc/anki/anki-2.0.16.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/anki/anki-2.0.16.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/anki/anki-2.0.16.ebuild?rev=1.1&content-type=text/plain
47
48 Index: anki-2.0.16.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.16.ebuild,v 1.1 2013/11/01 12:09:05 tomka Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python2_6 python2_7 )
57 PYTHON_REQ_USE="sqlite"
58
59 inherit eutils python-single-r1
60
61 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
62 HOMEPAGE="http://ichi2.net/anki/"
63 SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="latex +recording +sound"
69
70 RDEPEND="${PYTHON_DEPS}
71 dev-python/PyQt4[X,svg,webkit]
72 >=dev-python/httplib2-0.7.4
73 dev-python/beautifulsoup:python-2
74 dev-python/send2trash
75 recording? ( media-sound/lame
76 >=dev-python/pyaudio-0.2.4 )
77 sound? ( media-video/mplayer )
78 latex? ( app-text/texlive
79 app-text/dvipng )"
80 DEPEND=""
81
82 pkg_setup(){
83 python-single-r1_pkg_setup
84 }
85
86 src_prepare() {
87 rm -r thirdparty || die
88 sed -i -e "s/suppressUpdate=False/suppressUpdate=True/" \
89 aqt/profiles.py
90 }
91
92 # Nothing to configure or compile
93 src_configure() {
94 true;
95 }
96
97 src_compile() {
98 true;
99 }
100
101 src_install() {
102 doicon ${PN}.png
103 domenu ${PN}.desktop
104 doman ${PN}.1
105
106 dodoc README README.development
107 python_domodule aqt anki
108 python_doscript anki/anki
109 }
110
111 pkg_preinst() {
112 if has_version "<app-misc/anki-2" ; then
113 elog "Anki 2 is a rewrite of Anki with many new features and"
114 elog "a new database format. On the first run your decks are"
115 elog "converted to the new format and a backup of your Anki-1"
116 elog "decks is created. Please read the following:"
117 elog "http://ankisrs.net/anki2.html"
118 fi
119 }