summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-09-23 06:31:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-09-23 06:31:48 +0000
commit8fa88ce86b6f9ea3a0180b6ffb5a7226c2dbeaeb (patch)
tree3e8f657bc1912d1f1cf029288545759e51e466bf /app-misc/anki
parentvirtual/ruby-ffi: mark ruby-ffi-4 stable (diff)
downloadgentoo-8fa88ce86b6f9ea3a0180b6ffb5a7226c2dbeaeb.tar.gz
gentoo-8fa88ce86b6f9ea3a0180b6ffb5a7226c2dbeaeb.tar.bz2
gentoo-8fa88ce86b6f9ea3a0180b6ffb5a7226c2dbeaeb.zip
app-misc/anki: Bump
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/Manifest1
-rw-r--r--app-misc/anki/anki-2.0.47.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 529af4265e86..e5c07888f067 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -5,3 +5,4 @@ DIST anki-2.0.35.tgz 3410475 SHA256 bb8a229b85f551e2f69829f9ec8485633b739c701dab
DIST anki-2.0.36.tgz 3410538 SHA256 fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147 WHIRLPOOL dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
DIST anki-2.0.41.tgz 3422038 SHA256 f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872 WHIRLPOOL 08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810
DIST anki-2.0.43.tgz 3422113 SHA256 009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c WHIRLPOOL 2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9
+DIST anki-2.0.47.tgz 3422231 SHA256 fbb5356d642a94a2cb2fb7f949e6db7c8acbe322f38a18c0603ff88f5bd4eb18 SHA512 5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a WHIRLPOOL dddef926f3754c1c3686e903dee539a9d84692dc6619cea7f9a71e2256cd5dcced113ce2d7da8cecf13a9ff8c36942a1216c72c5744a496e1792e70dd4750cf8
diff --git a/app-misc/anki/anki-2.0.47.ebuild b/app-misc/anki/anki-2.0.47.ebuild
new file mode 100644
index 000000000000..feccd2b7074f
--- /dev/null
+++ b/app-misc/anki/anki-2.0.47.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="https://apps.ankiweb.net"
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> ${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit,${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ recording? (
+ media-sound/lame
+ >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+ )
+ 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
+}