diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-02-14 19:37:12 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-02-14 19:37:12 +0000 |
commit | afa3003af3b31c050f3b8e6dd89c0454f321bc69 (patch) | |
tree | 12d36c831b4e63d62ff221cfec6efed753d92083 /app-misc/anki | |
parent | alpha/ia64/sparc stable wrt #349053 (diff) | |
download | gentoo-2-afa3003af3b31c050f3b8e6dd89c0454f321bc69.tar.gz gentoo-2-afa3003af3b31c050f3b8e6dd89c0454f321bc69.tar.bz2 gentoo-2-afa3003af3b31c050f3b8e6dd89c0454f321bc69.zip |
Bump for #354905
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/anki')
-rw-r--r-- | app-misc/anki/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/anki/anki-1.2.6.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/app-misc/anki/ChangeLog b/app-misc/anki/ChangeLog index ee99ddec61ba..dd2aa269cea0 100644 --- a/app-misc/anki/ChangeLog +++ b/app-misc/anki/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/anki # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.29 2011/01/15 23:52:49 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/ChangeLog,v 1.30 2011/02/14 19:37:12 patrick Exp $ + +*anki-1.2.6 (14 Feb 2011) + + 14 Feb 2011; Patrick Lauer <patrick@gentoo.org> +anki-1.2.6.ebuild: + Bump for #354905 *anki-1.2.2 (15 Jan 2011) diff --git a/app-misc/anki/anki-1.2.6.ebuild b/app-misc/anki/anki-1.2.6.ebuild new file mode 100644 index 000000000000..58e6fd629ac7 --- /dev/null +++ b/app-misc/anki/anki-1.2.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-1.2.6.ebuild,v 1.1 2011/02/14 19:37:12 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="http://ichi2.net/anki/" +SRC_URI="http://anki.googlecode.com/files/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="furigana +graph latex recording +sound" + +RDEPEND="dev-python/beautifulsoup + >=dev-python/PyQt4-4.7[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 )" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="anki ankiqt" + +src_prepare() { + distutils_src_prepare +# epatch "${FILESDIR}/${P}-sqlalchemy-0.6.patch" +} + +src_compile() { + distutils_src_compile + cd libanki + distutils_src_compile +} + +src_install() { + distutils_src_install + cd libanki + distutils_src_install + cd .. + + doicon icons/${PN}.png || die + make_desktop_entry ${PN} ${PN} ${PN} "Education" +} |