summaryrefslogtreecommitdiff
path: root/app-misc/anki
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/Manifest6
-rw-r--r--app-misc/anki/anki-2.1.0_beta27.ebuild99
-rw-r--r--app-misc/anki/anki-2.1.13-r1.ebuild98
-rw-r--r--app-misc/anki/metadata.xml8
4 files changed, 1 insertions, 210 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 77580f309815..2e1defca0b56 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,9 +1,5 @@
AUX anki-2.1.0_beta25-web-folder.patch 498 BLAKE2B 5a89ac454e8b4c551c7593bc8d428f9512d1304bd7fd5aa9380a301d92f10ca126a1a319c2ec831d1d5be99c6941c4307a2b674f0a15d2d554b1443fdf053421 SHA512 779806afd6c0eaaac149c89bbe8da2394630aa5a611001307808339f29237b4d7f3db7e1f66241ef67e179a5ab96d64371e1b198044cd9f88389d03a5c9d8478
AUX anki-2.1.15-mpv-args.patch 856 BLAKE2B 02c80c096ee3971cb781ea57ba8ebd63037c37668d57bef8d63f7c551544cd1eec04d134a835af5c918992172493a3b2933b6652e6872da2fe6bd6acb1bf6886 SHA512 ed44a965978dcb2ce85eab99adff59610c51614673415c7e34d1acdc77fa46e05c6b5eba6a4c3fda07ef5b3d3d5d1c9d844276377daff2189cbdf808168dd402
-DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d SHA512 50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
-DIST anki-2.1.13.tgz 4248906 BLAKE2B 82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f SHA512 921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3
DIST anki-2.1.15.tgz 4269571 BLAKE2B 00b351f5ffacb363642e02bf806bcd7c0d9446c9815a75328e7fa37c848b271b135510de17cc012e8cc96d8a52a183a49de84b6f85f562a370255bd36c6f866e SHA512 f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3
-EBUILD anki-2.1.0_beta27.ebuild 2219 BLAKE2B 76dcaf2ceb91906c74149db1559499628b86ce8a3491109da81d02a8c3eff1ecc94a4eb5cf06ce01e10aca4a6b2cc53bf71c962e3d607d7062face38f1dec2c6 SHA512 4261913d808ec9dae0f26b799f0a96fc8d225202626d9ee590fe3634b2d10f74514ba1a00401cf055a153251b243698c8463a05204e8baf0d528aae07da637b5
-EBUILD anki-2.1.13-r1.ebuild 2317 BLAKE2B d14f2116c5f2358160e80dcdfcd109dc0dd3c968cac8e5e5ed5ccf0047b87ebae804f7e68e0368a1f0504e590631b37e9590c1bd92bf7d66493b2bc44ad23075 SHA512 22cc7c60afeb37590c74bb7710e418a8cccf7efee418788cc4de06483ff053c2b50ce461229e1577834d47ee4099647da1212ad3e31d8dd76c64986782c98150
EBUILD anki-2.1.15.ebuild 2457 BLAKE2B c51071cb2410c942151aeffb04f498b28e1dc6b3f374484666d83fb762a17fe0f0348cdb4f060e89e4264a6ece122016f32197664f0505d489082193e5685b2b SHA512 2062b2838acf885efc66def7d51dca61c8991de4d319bb3de18ce89bbc7159c99f5a4674b31e03fba7688f372250ee2b2eb703cbbe84dc96fafc24640828afba
-MISC metadata.xml 619 BLAKE2B a41d6e72dccb367627bfc34855a7f2dc657021907f1940c837ea99f134bf30cccb84157c6eea96944fee4e4d5275c329b5721abcabfb31b3a572b86789cd0ed2 SHA512 8b6656964a3c2cee9761b278839f31546a3fe2a4efd500cd015658af3502b548888e939bbeee45ead9c88632ade12c7f0ed33fcf8cdfc6d0ac91de63ac8bb351
+MISC metadata.xml 454 BLAKE2B 9091c22ed14f19081bd47325f7a6382d0f813e5cdfb30cf9d491cf5ee4aae41e2840906763ef8a53ac78a6f14dc1ec94e78706a15e25ddeb473659e543e21442 SHA512 c5d4ee3be496c6d9bdd299d843a65f14c02761a1c041cd6526f90c187db1843b696ac4eb41dbf778b060def3fc27e51a3ee4d9cd533b320d470badf001189be8
diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild b/app-misc/anki/anki-2.1.0_beta27.ebuild
deleted file mode 100644
index 9b0a46164d62..000000000000
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1 xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net"
-
-MY_P="${P/_/}"
-SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> ${P}.tgz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="latex +recording +sound test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- $(python_gen_cond_dep '
- || (
- (
- >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}]
- )
- <dev-python/PyQt5-5.12[gui,svg,webengine,widgets,${PYTHON_MULTI_USEDEP}]
- )
- >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
- dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
- dev-python/decorator[${PYTHON_MULTI_USEDEP}]
- dev-python/markdown[${PYTHON_MULTI_USEDEP}]
- dev-python/requests[${PYTHON_MULTI_USEDEP}]
- dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
- recording? (
- media-sound/lame
- >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
- )
- ')
- sound? ( media-video/mplayer )
- latex? (
- app-text/texlive
- app-text/dvipng
- )
-"
-DEPEND="${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/nose[${PYTHON_MULTI_USEDEP}]
- ')
- )
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
- sed -i -e "s/updates=True/updates=False/" \
- aqt/profiles.py || die
-}
-
-src_compile() {
- :;
-}
-
-src_test() {
- sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
- -i tools/tests.sh || die
- ./tools/tests.sh || die
-}
-
-src_install() {
- cp tools/runanki.system tools/anki
- doicon ${PN}.png
- domenu ${PN}.desktop
- doman ${PN}.1
-
- dodoc README.md README.development
- python_domodule aqt anki
- python_doscript tools/anki
-
- # Localization files go into the anki directory:
- python_moduleinto anki
- python_domodule locale
-
- # not sure if this is correct, but
- # site-packages/aqt/mediasrv.py wants the directory
- insinto /usr/share/anki
- doins -r web
-}
diff --git a/app-misc/anki/anki-2.1.13-r1.ebuild b/app-misc/anki/anki-2.1.13-r1.ebuild
deleted file mode 100644
index 9c1a33eea458..000000000000
--- a/app-misc/anki/anki-2.1.13-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1 xdg
-
-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"
-
-S="${WORKDIR}/${P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="latex +recording +sound test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- $(python_gen_cond_dep '
- || (
- (
- >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}]
- )
- <dev-python/PyQt5-5.12[gui,svg,webengine,widgets,${PYTHON_MULTI_USEDEP}]
- )
- >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
- dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
- dev-python/decorator[${PYTHON_MULTI_USEDEP}]
- dev-python/markdown[${PYTHON_MULTI_USEDEP}]
- dev-python/requests[${PYTHON_MULTI_USEDEP}]
- dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
- ')
- recording? ( media-sound/lame )
- sound? ( media-video/mpv )
- latex? (
- app-text/texlive
- app-text/dvipng
- )
-"
-DEPEND="${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/nose[${PYTHON_MULTI_USEDEP}]
- ')
- )
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
- sed -i -e "s/updates=True/updates=False/" \
- aqt/profiles.py || die
-}
-
-src_compile() {
- :;
-}
-
-src_test() {
- sed -e "s:nose=nosetests$:nose=\"${EPYTHON} ${EROOT}usr/bin/nosetests\":" \
- -i tools/tests.sh || die
- sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} ${EROOT}usr/bin/nosetests3\":" \
- -i tools/tests.sh || die
- sed -e "s:which nosetests3:which ${EROOT}usr/bin/nosetests3:" \
- -i tools/tests.sh || die
- ./tools/tests.sh || die
-}
-
-src_install() {
- doicon ${PN}.png
- domenu ${PN}.desktop
- doman ${PN}.1
-
- dodoc README.md README.development
- python_domodule aqt anki
- python_newscript runanki anki
-
- # Localization files go into the anki directory:
- python_moduleinto anki
- python_domodule locale
-
- # not sure if this is correct, but
- # site-packages/aqt/mediasrv.py wants the directory
- insinto /usr/share/anki
- doins -r web
-}
diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
index b4fe64e7501a..1126ffd44c53 100644
--- a/app-misc/anki/metadata.xml
+++ b/app-misc/anki/metadata.xml
@@ -10,12 +10,4 @@
(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>