diff options
author | Heath Caldwell <hncaldwell@gentoo.org> | 2009-01-14 23:42:54 +0000 |
---|---|---|
committer | Heath Caldwell <hncaldwell@gentoo.org> | 2009-01-14 23:42:54 +0000 |
commit | 27be4e7200542a41084bc094688579c97dbc2167 (patch) | |
tree | ca781dcc5297606d74821ec2321304b478a21ea1 /app-misc/anki | |
parent | Third time lucky, more patches for < 2.6.26 kernels. (diff) | |
download | gentoo-2-27be4e7200542a41084bc094688579c97dbc2167.tar.gz gentoo-2-27be4e7200542a41084bc094688579c97dbc2167.tar.bz2 gentoo-2-27be4e7200542a41084bc094688579c97dbc2167.zip |
Version bump, ebuild fixes submitted by Seth W. (Jzalae) Klein
<sk@sethwklein.net> (sound dependency fix, add latex use flag, reorder python
setup.py installs to match upstream documentation). Fixes bug #254283
(Portage version: 2.1.6.4/cvs/Linux 2.6.25-gentoo-r6-grey01 x86_64)
Diffstat (limited to 'app-misc/anki')
-rw-r--r-- | app-misc/anki/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/anki/anki-0.9.9.5.ebuild | 50 | ||||
-rw-r--r-- | app-misc/anki/metadata.xml | 3 |
3 files changed, 63 insertions, 1 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog index c20dd835dfea..1f4eb84c794e 100644 --- a/app-misc/anki/ChangeLog +++ b/app-misc/anki/ChangeLog @@ -1,6 +1,15 @@ # 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.5 2009/01/07 17:33:25 hncaldwell Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.6 2009/01/14 23:42:54 hncaldwell Exp $ + +*anki-0.9.9.5 (14 Jan 2009) + + 14 Jan 2009; Heath Caldwell <hncaldwell@gentoo.org> metadata.xml, + +anki-0.9.9.5.ebuild: + Version bump, ebuild fixes submitted by Seth W. (Jzalae) Klein + <sk@sethwklein.net> (sound dependency fix, add latex use flag, reorder + python setup.py installs to match upstream documentation). Fixes + bug #254283. *anki-0.9.9.4 (07 Jan 2009) diff --git a/app-misc/anki/anki-0.9.9.5.ebuild b/app-misc/anki/anki-0.9.9.5.ebuild new file mode 100644 index 000000000000..a7159d2a9511 --- /dev/null +++ b/app-misc/anki/anki-0.9.9.5.ebuild @@ -0,0 +1,50 @@ +# 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.5.ebuild,v 1.1 2009/01/14 23:42:54 hncaldwell 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 +sound" + +RDEPEND=">=dev-python/PyQt4-4.4[webkit] + >=dev-python/sqlalchemy-0.4.1 + >=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 + ) + 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 +} diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml index 8158782f0e00..1be7690aeb7f 100644 --- a/app-misc/anki/metadata.xml +++ b/app-misc/anki/metadata.xml @@ -18,6 +18,9 @@ <flag name="graph"> Enable support for making graphs </flag> + <flag name="latex"> + Enable support for LaTeX + </flag> <flag name="sound"> Enable support for adding sound to cards </flag> |