summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-04-19 12:06:34 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-04-19 12:06:49 +0200
commit164c16093372711ea62e24566dbf6de798480834 (patch)
treeaaeb3408ad2ee4463cb10c968d8a8184cc5d592c /app-misc/anki
parentros-meta/robot_model: drop ~arm (diff)
downloadgentoo-164c16093372711ea62e24566dbf6de798480834.tar.gz
gentoo-164c16093372711ea62e24566dbf6de798480834.tar.bz2
gentoo-164c16093372711ea62e24566dbf6de798480834.zip
app-misc/anki: Bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/Manifest1
-rw-r--r--app-misc/anki/anki-2.0.36.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 6f4a42b20667..494a8dd06cd2 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -2,3 +2,4 @@ DIST anki-2.0.31.tgz 3329290 SHA256 4b969629255b00db9a9eb8a2fd70271cc41c92c47752
DIST anki-2.0.33.tgz 3376646 SHA256 b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d WHIRLPOOL fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848
DIST anki-2.0.34.tgz 3411136 SHA256 ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd WHIRLPOOL 3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2
DIST anki-2.0.35.tgz 3410475 SHA256 bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e WHIRLPOOL 04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08
+DIST anki-2.0.36.tgz 3410538 SHA256 fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147 WHIRLPOOL dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
diff --git a/app-misc/anki/anki-2.0.36.ebuild b/app-misc/anki/anki-2.0.36.ebuild
new file mode 100644
index 000000000000..51896953783b
--- /dev/null
+++ b/app-misc/anki/anki-2.0.36.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}