From: | "Heath Caldwell (hncaldwell)" <hncaldwell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/anki: anki-0.9.9.7.1.ebuild ChangeLog |
Date: | Thu, 02 Apr 2009 17:21:58 |
Message-Id: | E1LpQc0-0004Hd-GG@stork.gentoo.org |
1 | hncaldwell 09/04/02 17:21:56 |
2 | |
3 | Modified: ChangeLog |
4 | Added: anki-0.9.9.7.1.ebuild |
5 | Log: |
6 | Version bump. Fixes bug #264138. |
7 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.9 app-misc/anki/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.9&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.9&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?r1=1.8&r2=1.9 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v |
19 | retrieving revision 1.8 |
20 | retrieving revision 1.9 |
21 | diff -u -r1.8 -r1.9 |
22 | --- ChangeLog 21 Jan 2009 21:27:11 -0000 1.8 |
23 | +++ ChangeLog 2 Apr 2009 17:21:56 -0000 1.9 |
24 | @@ -1,6 +1,12 @@ |
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.8 2009/01/21 21:27:11 hncaldwell Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.9 2009/04/02 17:21:56 hncaldwell Exp $ |
29 | + |
30 | +*anki-0.9.9.7.1 (02 Apr 2009) |
31 | + |
32 | + 02 Apr 2009; Heath Caldwell <hncaldwell@g.o> |
33 | + +anki-0.9.9.7.1.ebuild: |
34 | + Version bump. Fixes bug #264138. |
35 | |
36 | *anki-0.9.9.6 (21 Jan 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-misc/anki/anki-0.9.9.7.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.9.7.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.9.7.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: anki-0.9.9.7.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.9.7.1.ebuild,v 1.1 2009/04/02 17:21:56 hncaldwell Exp $ |
51 | |
52 | EAPI=2 |
53 | |
54 | inherit eutils multilib python |
55 | |
56 | DESCRIPTION="A spaced-repetition memory training program (flash cards)" |
57 | HOMEPAGE="http://ichi2.net/anki/" |
58 | SRC_URI="http://ichi2.net/${PN}/download/files/${P}.tgz" |
59 | LICENSE="GPL-3" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="furigana +graph latex recording +sound" |
63 | |
64 | DEPEND="dev-lang/python" |
65 | RDEPEND=">=dev-python/PyQt4-4.4[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 | } |