From: | "Heath Caldwell (hncaldwell)" <hncaldwell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/anki: metadata.xml Manifest anki-0.9.8.1.ebuild ChangeLog |
Date: | Thu, 02 Oct 2008 23:13:44 |
Message-Id: | E1KlXMZ-00055R-Uc@stork.gentoo.org |
1 | hncaldwell 08/10/02 23:13:39 |
2 | |
3 | Added: metadata.xml Manifest anki-0.9.8.1.ebuild ChangeLog |
4 | Log: |
5 | New ebuild for anki. Fixes bug #214472. |
6 | (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r6-grey01 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-misc/anki/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>no-herd</herd> |
20 | <maintainer> |
21 | <email>hncaldwell@g.o</email> |
22 | <name>Heath Caldwell</name> |
23 | </maintainer> |
24 | <longdescription lang="en"> |
25 | Anki is a program designed to help you remember facts |
26 | (such as words and phrases in a foreign language) as |
27 | easily, quickly and efficiently as possible. |
28 | </longdescription> |
29 | <use> |
30 | <flag name="graph"> |
31 | Enable support for making graphs |
32 | </flag> |
33 | <flag name="kakasi"> |
34 | Enable <pkg>app-i18n/kakasi</pkg> support for furigana generation |
35 | </flag> |
36 | <flag name="sound"> |
37 | Enable support for adding sound to cards |
38 | </flag> |
39 | </use> |
40 | </pkgmetadata> |
41 | |
42 | |
43 | |
44 | 1.1 app-misc/anki/Manifest |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/Manifest?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/Manifest?rev=1.1&content-type=text/plain |
48 | |
49 | Index: Manifest |
50 | =================================================================== |
51 | DIST anki-0.9.8.1.tgz 3348467 RMD160 f4c9ba8c65a260dd69241470d98a866e7499a745 SHA1 a80d548980d2c7737a7fe316c867de775de82b05 SHA256 94f24cf511a92de19d1cdfc429ab0f029d74c77cbbf952527d6a2c3e0bd74d10 |
52 | EBUILD anki-0.9.8.1.ebuild 1534 RMD160 2c37e59fc192658449797502574292771bfcaf27 SHA1 45f2bbc4b945f04523e5b50a39a40a2ca797cfbc SHA256 6822a3c74ec7e2971912d85fa7d308e5a8b79a35aa83bea92469a7713bf07e96 |
53 | MISC ChangeLog 317 RMD160 cf27a6e3e1370ca63a9813afaff2849e4af8aeff SHA1 431a3fafa52c918467c91b5b6ad2bbd4b55429c8 SHA256 722e43d747a97110858c01c9cfec3f28f10abe4d13856dcfec5a0489e5b53506 |
54 | MISC metadata.xml 727 RMD160 f152e5c834b44751bcb7f541a594abb55f63fbe3 SHA1 bde4a8f042ac830622379a7a0be48d0d05471b51 SHA256 2a29d931b7b1a5849249c229e737f8e4d24585b0b032e13130ce500b7e828a8d |
55 | |
56 | |
57 | |
58 | 1.1 app-misc/anki/anki-0.9.8.1.ebuild |
59 | |
60 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.8.1.ebuild?rev=1.1&view=markup |
61 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/anki-0.9.8.1.ebuild?rev=1.1&content-type=text/plain |
62 | |
63 | Index: anki-0.9.8.1.ebuild |
64 | =================================================================== |
65 | # Copyright 1999-2008 Gentoo Foundation |
66 | # Distributed under the terms of the GNU General Public License v2 |
67 | # $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.8.1.ebuild,v 1.1 2008/10/02 23:13:39 hncaldwell Exp $ |
68 | |
69 | EAPI=1 |
70 | |
71 | NEED_PYTHON=2.4 |
72 | inherit eutils multilib python |
73 | |
74 | DESCRIPTION="A spaced-repetition memory training program (flash cards)" |
75 | HOMEPAGE="http://ichi2.net/anki/index.html" |
76 | SRC_URI="http://ichi2.net/anki/download/${P}.tgz" |
77 | LICENSE="GPL-3" |
78 | SLOT="0" |
79 | KEYWORDS="~amd64 ~x86" |
80 | IUSE="+graph kakasi +sound" |
81 | |
82 | RDEPEND=">=dev-python/PyQt4-4.3 |
83 | >=dev-python/sqlalchemy-0.4.1 |
84 | >=dev-python/simplejson-1.7.3 |
85 | >=dev-python/pysqlite-2.3.0 |
86 | app-text/dvipng |
87 | graph? ( |
88 | dev-python/numpy |
89 | >=dev-python/matplotlib-0.91.2 |
90 | ) |
91 | sound? ( dev-python/pygame ) |
92 | kakasi? ( app-i18n/kakasi )" |
93 | |
94 | src_install() { |
95 | dodoc CREDITS |
96 | |
97 | python_version |
98 | |
99 | insinto "/usr/$(get_libdir)/python${PYVER}/site-packages" |
100 | doins -r ankiqt libanki/anki |
101 | |
102 | insinto "/usr/$(get_libdir)/python${PYVER}/site-packages/anki" |
103 | doins -r designer icons icons.qrc icons_rc.py libanki/samples |
104 | |
105 | dobin ${PN} |
106 | |
107 | doicon icons/${PN}.png |
108 | make_desktop_entry ${PN} ${PN} ${PN}.png "Education" |
109 | } |
110 | |
111 | pkg_postinst() { |
112 | python_version |
113 | python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt |
114 | python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/anki |
115 | |
116 | if use x86 && ! has_version dev-python/psyco; then |
117 | elog "Installing dev-python/psyco is strongly recommended." |
118 | fi |
119 | } |
120 | |
121 | pkg_postrm() { |
122 | python_version |
123 | python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt |
124 | python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/anki |
125 | } |
126 | |
127 | |
128 | |
129 | 1.1 app-misc/anki/ChangeLog |
130 | |
131 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.1&view=markup |
132 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/anki/ChangeLog?rev=1.1&content-type=text/plain |
133 | |
134 | Index: ChangeLog |
135 | =================================================================== |
136 | # ChangeLog for app-misc/anki |
137 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
138 | # $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.1 2008/10/02 23:13:39 hncaldwell Exp $ |
139 | |
140 | *anki-0.9.8.1 (02 Oct 2008) |
141 | |
142 | 02 Oct 2008; Heath Caldwell (hncaldwell) <hncaldwell@×××××××××.edu> |
143 | +metadata.xml, +anki-0.9.8.1.ebuild: |
144 | New ebuild for anki. Ebuild written by me. Fixes bug #214472. |