summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-01 01:42:41 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-01 01:46:01 +0100
commit6c9e5e8acc36790009fa589de371c9404863cc3a (patch)
tree68a746c893345827aba840ba131edb47a20f4c8d /app-misc
parentapp-emulation/sen: Remove old (py3.6) (diff)
downloadgentoo-6c9e5e8acc36790009fa589de371c9404863cc3a.tar.gz
gentoo-6c9e5e8acc36790009fa589de371c9404863cc3a.tar.bz2
gentoo-6c9e5e8acc36790009fa589de371c9404863cc3a.zip
app-misc/anki: Remove old (py3.6)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/anki/Manifest2
-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, 0 insertions, 207 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index d013dc23f146..fcec57bd07d4 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,3 +1 @@
-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
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>