summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeath Caldwell <hncaldwell@gentoo.org>2008-10-21 17:57:22 +0000
committerHeath Caldwell <hncaldwell@gentoo.org>2008-10-21 17:57:22 +0000
commit43bbf46b3c0fb98d5dbe1bb13022c12348eb6918 (patch)
tree379cce4adf4001d32c5312b8108d3482e8336640 /app-misc/anki
parentvarious upstream fixes. time between key frames. gesture segfaults. No bobdei... (diff)
downloadgentoo-2-43bbf46b3c0fb98d5dbe1bb13022c12348eb6918.tar.gz
gentoo-2-43bbf46b3c0fb98d5dbe1bb13022c12348eb6918.tar.bz2
gentoo-2-43bbf46b3c0fb98d5dbe1bb13022c12348eb6918.zip
Version bump for anki.
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r6-grey01 x86_64)
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/ChangeLog8
-rw-r--r--app-misc/anki/anki-0.9.8.6.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog
index 868c0083a39c..6efc26c600e7 100644
--- a/app-misc/anki/ChangeLog
+++ b/app-misc/anki/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/anki
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.2 2008/10/16 17:54:59 hncaldwell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.3 2008/10/21 17:57:22 hncaldwell Exp $
+
+*anki-0.9.8.6 (21 Oct 2008)
+
+ 21 Oct 2008; Heath Caldwell (hncaldwell) <hncaldwell@csupomona.edu>
+ +anki-0.9.8.6.ebuild:
+ Version bump.
*anki-0.9.8.5 (16 Oct 2008)
diff --git a/app-misc/anki/anki-0.9.8.6.ebuild b/app-misc/anki/anki-0.9.8.6.ebuild
new file mode 100644
index 000000000000..5f6c8d731ac8
--- /dev/null
+++ b/app-misc/anki/anki-0.9.8.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-0.9.8.6.ebuild,v 1.1 2008/10/21 17:57:22 hncaldwell Exp $
+
+EAPI=2
+
+inherit eutils multilib python
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/index.html"
+SRC_URI="http://ichi2.net/${PN}/download/${P}.tgz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="furigana +graph +sound"
+
+RDEPEND=">=dev-python/PyQt4-4.3
+ >=dev-python/sqlalchemy-0.4.1
+ >=dev-python/simplejson-1.7.3
+ || ( >=dev-python/pysqlite-2.3.0 >=dev-lang/python-2.5[sqlite] )
+ app-text/dvipng
+ furigana? ( app-i18n/kakasi )
+ graph? (
+ dev-python/numpy
+ >=dev-python/matplotlib-0.91.2
+ )
+ sound? ( dev-python/pygame )"
+
+src_install() {
+ doicon icons/${PN}.png || die
+
+ python setup.py install --root="${D}" || die
+ cd libanki
+ 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
+}