Gentoo Archives: gentoo-commits

From: "Heath Caldwell (hncaldwell)" <hncaldwell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/anki: ChangeLog anki-0.9.9.8.4.ebuild anki-0.9.9.7.9b.ebuild
Date: Mon, 29 Jun 2009 20:34:34
Message-Id: E1MLNYd-0004T2-F4@stork.gentoo.org
1 hncaldwell 09/06/29 20:34:31
2
3 Modified: ChangeLog
4 Added: anki-0.9.9.8.4.ebuild
5 Removed: anki-0.9.9.7.9b.ebuild
6 Log:
7 Version bump, fixes bug #275689. Fixed sqlalchemy dependency. Removed an old version.
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 app-misc/anki/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 28 Jun 2009 09:32:47 -0000 1.16
24 +++ ChangeLog 29 Jun 2009 20:34:31 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-misc/anki
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.16 2009/06/28 09:32:47 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.17 2009/06/29 20:34:31 hncaldwell Exp $
30 +
31 +*anki-0.9.9.8.4 (29 Jun 2009)
32 +
33 + 29 Jun 2009; Heath Caldwell <hncaldwell@g.o>
34 + -anki-0.9.9.7.9b.ebuild, +anki-0.9.9.8.4.ebuild:
35 + Version bump, fixes bug #275689. Fixed sqlalchemy dependency.
36
37 *anki-0.9.9.8.2 (28 Jun 2009)
38
39
40
41
42 1.1 app-misc/anki/anki-0.9.9.8.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.9.8.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.9.8.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: anki-0.9.9.8.4.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.9.8.4.ebuild,v 1.1 2009/06/29 20:34:31 hncaldwell Exp $
52
53 EAPI=2
54
55 inherit eutils multilib python
56
57 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
58 HOMEPAGE="http://ichi2.net/anki/"
59 SRC_URI="http://ichi2.net/${PN}/download/files/${P}.tgz"
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="furigana +graph latex recording +sound"
64
65 DEPEND="dev-lang/python
66 dev-python/setuptools"
67 RDEPEND=">=dev-python/PyQt4-4.4[X,svg,webkit]
68 >=dev-python/sqlalchemy-0.5.3
69 >=dev-python/simplejson-1.7.3
70 || ( >=dev-python/pysqlite-2.3.0 >=dev-lang/python-2.5[sqlite] )
71 latex? ( app-text/dvipng )
72 furigana? ( app-i18n/kakasi )
73 graph? (
74 dev-python/numpy
75 >=dev-python/matplotlib-0.91.2
76 )
77 recording? (
78 media-sound/sox
79 dev-python/pyaudio
80 media-sound/lame
81 )
82 sound? ( media-video/mplayer )"
83
84 src_install() {
85 doicon icons/${PN}.png || die
86
87 cd libanki
88 python setup.py install --root="${D}" || die
89 cd ..
90 python setup.py install --root="${D}" || die
91
92 make_desktop_entry ${PN} ${PN} ${PN}.png "Education"
93 }
94
95 pkg_postinst() {
96 python_version
97 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt
98 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/anki
99 }
100
101 pkg_postrm() {
102 python_version
103 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt
104 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/anki
105 }