summaryrefslogtreecommitdiff
path: root/app-misc/anki
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/anki
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/Manifest19
-rw-r--r--app-misc/anki/anki-2.0.31.ebuild70
-rw-r--r--app-misc/anki/anki-2.0.33.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.34.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.35.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.36.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.41.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.43.ebuild68
-rw-r--r--app-misc/anki/anki-2.0.47.ebuild68
-rw-r--r--app-misc/anki/metadata.xml21
10 files changed, 566 insertions, 0 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
new file mode 100644
index 000000000000..37c19969dc4a
--- /dev/null
+++ b/app-misc/anki/Manifest
@@ -0,0 +1,19 @@
+DIST anki-2.0.31.tgz 3329290 SHA256 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8 WHIRLPOOL 42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
+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
+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
+EBUILD anki-2.0.31.ebuild 1548 SHA256 8442f14b8f1e7a7acd3a1a0db7e05675f331d86380ae7a87085140b38c1429ea SHA512 c53dadfb9ed9106915de6f456de56975688578f01617e928e043c79271ee573150d64b0f010d6026423833a065faf63e24410bf42859920911258ea49093aca4 WHIRLPOOL f5b01e8ec14eb8de471dff010252f601f4e765a4195d0be0f04172e592d6d1ceff528f2edc5de23ff1323e40ab3eb3ec94c68aee6df11ad0039c4b80c5981371
+EBUILD anki-2.0.33.ebuild 1294 SHA256 074500a6dda66ade956f5ff4bbd48654c29e244c4b133bae256a58f925466cc0 SHA512 1a2abf48874cb5facea0c85ad10278d7a6e90d7c0d23e5fc9e7de203f12a221450673ed11f54d8f1f400368691b2d8d64c7c15bbe7596fa01a497e42c1a838cd WHIRLPOOL 5fa35e35c0ea6df92598304a4b1e43a5ddc3389628aa7aa83021f384d1d712fad36050f41b907f3f32a9af25956bef93023bbc88769b95e230c19f9b2d1af44f
+EBUILD anki-2.0.34.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.35.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.36.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.41.ebuild 1325 SHA256 8cc264ebd7463771924eb24b270c1c8d214a5eb7846f193f364001e60efa93da SHA512 5dc09ba11eb492f6d77ed90cd113e29bca357f6d49b357481e1c99ec73d22bbcf0423db9abf1dda8dc0488927455970007c851ce188738625cadde6a46f3a5bc WHIRLPOOL cfcea3408aed60ad119e9f8022f8b1897135c8816c7955ebd64620dffae322e805ac848538abfd309db07c548096146048c01223072e4e6f50dda0c98b952a0e
+EBUILD anki-2.0.43.ebuild 1407 SHA256 4f8789898944ca0f2ece43f55050fd73cdea3d8636e83ee46d13cd249e116526 SHA512 6d52decb78cfd69476ec57e135b00fe77dd83fdd51af9ca92938e8208016fd381296d287e4213be50ed4243e6680b12606a792d8a8916f150899a60665464fb9 WHIRLPOOL f11a4d1845c878189676774fec9f6591cc3739d62c46852a6a5ad8352e505dafaa566536c0d88e2c358845359dc978612f494535aad0e8abfd7c922ac61240c9
+EBUILD anki-2.0.47.ebuild 1407 SHA256 4f8789898944ca0f2ece43f55050fd73cdea3d8636e83ee46d13cd249e116526 SHA512 6d52decb78cfd69476ec57e135b00fe77dd83fdd51af9ca92938e8208016fd381296d287e4213be50ed4243e6680b12606a792d8a8916f150899a60665464fb9 WHIRLPOOL f11a4d1845c878189676774fec9f6591cc3739d62c46852a6a5ad8352e505dafaa566536c0d88e2c358845359dc978612f494535aad0e8abfd7c922ac61240c9
+MISC ChangeLog 3476 SHA256 79612fb9bb0d638c26f9f6c77fa331ad8002e5907bb7b7220f9eba2a0a8e68d6 SHA512 7374e6b0b7ca10d36454b3b60e94d6dc495e72d16d67c66475b240668a3f8be1b05f17689554316240749969ad2553adaa4b1dd8a71ff27af488dd4f66d372d5 WHIRLPOOL 1d28a2a5d4b41eccc58e56bc30f8b83908ab620ee71f8f326c183ef4a12280671e0efba7677e81710ffba3135247fd129795df24ca34c00c316e7e9edb5d74e7
+MISC ChangeLog-2015 13597 SHA256 f169f73f5e36840c9b281c98f2d420597ea86866573b224c12c87f054be9c23b SHA512 8a148eca4be6552c783d903eea48cab5ea7f6a4bca1b9c9f3d80a3fe80f989855943069c99a7f361d3ee85b98d2f8f94d4a751fc7a456292fe7ffa02105cce22 WHIRLPOOL fd93017f71140b91cad14d2a30d2c1dd30e355c95db551c03e64aae79dced66f3ad4fd12e54ae8516c87b4a8ff85f074cb23bd8b5eb545c9dc5b7dbe9a1bc43c
+MISC metadata.xml 647 SHA256 d7e3745ca759b3a639d07405aa61afcdbe2fbf9544b35c2b8a4a69da471c0016 SHA512 411bf74e025678e91d050615c1edf332a05cbf9d51bf5b14a2bb10b27208551487946670b6368f0bad6567a02534d984a0a1ca026b1c96b391f48b80567fb932 WHIRLPOOL a658a19d653a6d068011402f904fbee2d88a58726fc23fa714e889600567b6d5a26479426e9ded1e766f5d7512c46b43b058b4dcd9a7cc4c20fe9f404de0ef7a
diff --git a/app-misc/anki/anki-2.0.31.ebuild b/app-misc/anki/anki-2.0.31.ebuild
new file mode 100644
index 000000000000..b382762b9710
--- /dev/null
+++ b/app-misc/anki/anki-2.0.31.ebuild
@@ -0,0 +1,70 @@
+# 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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
+
+pkg_preinst() {
+ if has_version "<app-misc/anki-2" ; then
+ elog "Anki 2 is a rewrite of Anki with many new features and"
+ elog "a new database format. On the first run your decks are"
+ elog "converted to the new format and a backup of your Anki-1"
+ elog "decks is created. Please read the following:"
+ elog "http://ankisrs.net/anki2.html"
+ fi
+}
diff --git a/app-misc/anki/anki-2.0.33.ebuild b/app-misc/anki/anki-2.0.33.ebuild
new file mode 100644
index 000000000000..810ea6120f91
--- /dev/null
+++ b/app-misc/anki/anki-2.0.33.ebuild
@@ -0,0 +1,64 @@
+# 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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
diff --git a/app-misc/anki/anki-2.0.34.ebuild b/app-misc/anki/anki-2.0.34.ebuild
new file mode 100644
index 000000000000..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.34.ebuild
@@ -0,0 +1,64 @@
+# 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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
diff --git a/app-misc/anki/anki-2.0.35.ebuild b/app-misc/anki/anki-2.0.35.ebuild
new file mode 100644
index 000000000000..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.35.ebuild
@@ -0,0 +1,64 @@
+# 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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
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..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.36.ebuild
@@ -0,0 +1,64 @@
+# 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="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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
diff --git a/app-misc/anki/anki-2.0.41.ebuild b/app-misc/anki/anki-2.0.41.ebuild
new file mode 100644
index 000000000000..3c0f5a7aa1e6
--- /dev/null
+++ b/app-misc/anki/anki-2.0.41.ebuild
@@ -0,0 +1,64 @@
+# 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]
+ >=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
+}
diff --git a/app-misc/anki/anki-2.0.43.ebuild b/app-misc/anki/anki-2.0.43.ebuild
new file mode 100644
index 000000000000..feccd2b7074f
--- /dev/null
+++ b/app-misc/anki/anki-2.0.43.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
+}
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
+}
diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
new file mode 100644
index 000000000000..ee6762e9528d
--- /dev/null
+++ b/app-misc/anki/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <longdescription lang="en">
+ Anki is a program designed to help you remember facts
+ (such as words and phrases in a foreign language) as
+ quickly, easily and efficiently as possible.
+ </longdescription>
+ <use>
+ <flag name="recording">
+ Enable support for audio recording
+ </flag>
+ <flag name="sound">
+ Enable support for adding sound to cards
+ </flag>
+ </use>
+</pkgmetadata>