Gentoo Archives: gentoo-commits

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