diff options
author | Heath Caldwell <hncaldwell@gentoo.org> | 2009-07-21 00:39:39 +0000 |
---|---|---|
committer | Heath Caldwell <hncaldwell@gentoo.org> | 2009-07-21 00:39:39 +0000 |
commit | b60fb0e094112f570b84f49e721b3dfcc2ac1e6f (patch) | |
tree | 7dbd025eda577f11a7070bc6f6c5f33f2d3c07c7 /app-misc/anki | |
parent | Stable for HPPA (bug #275592). (diff) | |
download | gentoo-2-b60fb0e094112f570b84f49e721b3dfcc2ac1e6f.tar.gz gentoo-2-b60fb0e094112f570b84f49e721b3dfcc2ac1e6f.tar.bz2 gentoo-2-b60fb0e094112f570b84f49e721b3dfcc2ac1e6f.zip |
Version bump. Fixes bug #278193.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/anki')
-rw-r--r-- | app-misc/anki/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/anki/anki-0.9.9.8.5.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog index 1e5c4801e436..dbdd2531855e 100644 --- a/app-misc/anki/ChangeLog +++ b/app-misc/anki/ChangeLog @@ -1,6 +1,12 @@ # 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.17 2009/06/29 20:34:31 hncaldwell Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.18 2009/07/21 00:39:39 hncaldwell Exp $ + +*anki-0.9.9.8.5 (21 Jul 2009) + + 21 Jul 2009; Heath Caldwell <hncaldwell@gentoo.org> + +anki-0.9.9.8.5.ebuild: + Version bump. Fixes bug #278193. *anki-0.9.9.8.4 (29 Jun 2009) diff --git a/app-misc/anki/anki-0.9.9.8.5.ebuild b/app-misc/anki/anki-0.9.9.8.5.ebuild new file mode 100644 index 000000000000..f1c2ac975e3f --- /dev/null +++ b/app-misc/anki/anki-0.9.9.8.5.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.8.5.ebuild,v 1.1 2009/07/21 00:39:39 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 recording +sound" + +DEPEND="dev-lang/python + dev-python/setuptools" +RDEPEND=">=dev-python/PyQt4-4.4[X,svg,webkit] + >=dev-python/sqlalchemy-0.5.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 +} |