summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/ChangeLog7
-rw-r--r--app-misc/anki/Manifest4
-rw-r--r--app-misc/anki/anki-0.9.9.7.6b.ebuild57
3 files changed, 66 insertions, 2 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog
index 88fa065ae0b9..aa27a9cf06b3 100644
--- a/app-misc/anki/ChangeLog
+++ b/app-misc/anki/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/anki
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.10 2009/04/13 19:41:17 hncaldwell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.11 2009/04/27 20:52:20 patrick Exp $
+
+*anki-0.9.9.7.6b (27 Apr 2009)
+
+ 27 Apr 2009; Patrick Lauer <patrick@gentoo.org> +anki-0.9.9.7.6b.ebuild:
+ Bump to 0.9.9.7.6b, fixes #267688. Added missing setuptools to deps.
*anki-0.9.9.7.4 (13 Apr 2009)
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index ce8b89f086b5..253c358abda2 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,6 +1,8 @@
DIST anki-0.9.9.7.1.tgz 1658934 RMD160 f06368c02eb8ac0bdc42cabd1b70a9ef6c90df8b SHA1 389a5d0367c3daa6aa8747d63c0684596eed2757 SHA256 e75749dce6cc8daca2d2bb975ab60d6f9c67e036d0882ed8e5093d7218a30cce
DIST anki-0.9.9.7.4.tgz 1687816 RMD160 68036ae5eaebeb63dc5318a13966a3b2cf3d4afb SHA1 e1651de1b6e34fcc654e5636ea5a580a2d2269d9 SHA256 c2f595a687f8008b71dba7274bc35253ed9c8879714852988e461f1d58a25641
+DIST anki-0.9.9.7.6b.tgz 1761928 RMD160 ee8f77b1d3472617a4268e3878264106aec7d1f4 SHA1 599d6d2cddddf1157b02a48c2b131e015eac3171 SHA256 fa438134ad1d456d418bafe169a6cc2436b588c7fb5bd802540e36eaf178ccf7
EBUILD anki-0.9.9.7.1.ebuild 1534 RMD160 b289d928a8685c99abe62a82de4a67cfeb1c28c6 SHA1 b76359d6c51d69a8fa1f8148d8ff4d843ef6f7c6 SHA256 dc4f28f40896ffb5ab599361c874ed0eb3eef88347a6418cf2f6a7e40e97b9df
EBUILD anki-0.9.9.7.4.ebuild 1534 RMD160 907901f68122a15e0f486fab2562930283847c49 SHA1 076ac9035755fd90aeb002a37dadf4d82a9619ca SHA256 e2e673f072ee859cf26c9a016d66ebb949d320b59ad75b82ddbbb3d44e7d3217
-MISC ChangeLog 2340 RMD160 c42c74c2a4c79843be75bf088fe0af779ff9d8bc SHA1 587d3bcf24b072eff686dd23507b095f65293cde SHA256 0e8a8d6084e935bcbbc01a0d87c2b31ae5060c0ea32974382aab1af4a7400f9a
+EBUILD anki-0.9.9.7.6b.ebuild 1555 RMD160 bdfaf234603ae63d10040ba68ca7a7044de48349 SHA1 a2d00014355c40401e10aea31ce4ae4b36a0380e SHA256 590f83b5b3997e4e7b025a1d16a902d9cc5463a1edcdf696bcdab8db4520b7b5
+MISC ChangeLog 2516 RMD160 e38b2b21ce6fa8bae858ae7d8862162539da112a SHA1 853d5b552ccfb579ad21dbf04f2ba445e14d588e SHA256 dd4e2f5606638b40c8c2244af6183b56015c94e7966c0c7257910471ab971db5
MISC metadata.xml 776 RMD160 5638e961de471b30c1169741914850fa635ffcd7 SHA1 4becb15ac2b395c388d22f3108d2c409c7d5893d SHA256 0c85139de61968b06cfae984825f87b1755454890f543c6ab960f38f1adb9552
diff --git a/app-misc/anki/anki-0.9.9.7.6b.ebuild b/app-misc/anki/anki-0.9.9.7.6b.ebuild
new file mode 100644
index 000000000000..dadadd81c8eb
--- /dev/null
+++ b/app-misc/anki/anki-0.9.9.7.6b.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.9.7.6b.ebuild,v 1.1 2009/04/27 20:52:20 patrick Exp $
+
+EAPI=2
+
+inherit eutils multilib python
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ichi2.net/${PN}/download/files/${P}.tgz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="furigana +graph latex recording +sound"
+
+DEPEND="dev-lang/python
+ dev-python/setuptools"
+RDEPEND=">=dev-python/PyQt4-4.4[svg,webkit]
+ >=dev-python/sqlalchemy-0.4.3
+ >=dev-python/simplejson-1.7.3
+ || ( >=dev-python/pysqlite-2.3.0 >=dev-lang/python-2.5[sqlite] )
+ latex? ( app-text/dvipng )
+ furigana? ( app-i18n/kakasi )
+ graph? (
+ dev-python/numpy
+ >=dev-python/matplotlib-0.91.2
+ )
+ recording? (
+ media-sound/sox
+ dev-python/pyaudio
+ media-sound/lame
+ )
+ sound? ( media-video/mplayer )"
+
+src_install() {
+ doicon icons/${PN}.png || die
+
+ cd libanki
+ python setup.py install --root="${D}" || die
+ cd ..
+ python setup.py install --root="${D}" || die
+
+ make_desktop_entry ${PN} ${PN} ${PN}.png "Education"
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/anki
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/ankiqt
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/anki
+}