summaryrefslogtreecommitdiff
path: root/app-misc/anki
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-14 15:21:15 +0100
commit1c382dc5dbc52576ac2300fee0498af8af44e7b4 (patch)
tree45d2492f5c659cbb01120d4192c9be34841362bd /app-misc/anki
parentb9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (diff)
Revert "gentoo auto-resync : 14:06:2023 - 15:13:45"
This reverts commit b9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b.
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/Manifest2
-rw-r--r--app-misc/anki/anki-2.1.15-r2.ebuild95
-rw-r--r--app-misc/anki/files/anki-2.1.15-fix-prefs.patch17
3 files changed, 0 insertions, 114 deletions
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 8190ba5149bb..1d8ceca8b728 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,8 +1,6 @@
AUX anki-2.1.0_beta25-web-folder.patch 498 BLAKE2B 5a89ac454e8b4c551c7593bc8d428f9512d1304bd7fd5aa9380a301d92f10ca126a1a319c2ec831d1d5be99c6941c4307a2b674f0a15d2d554b1443fdf053421 SHA512 779806afd6c0eaaac149c89bbe8da2394630aa5a611001307808339f29237b4d7f3db7e1f66241ef67e179a5ab96d64371e1b198044cd9f88389d03a5c9d8478
-AUX anki-2.1.15-fix-prefs.patch 723 BLAKE2B 203127b10904da8ad3808ac8cd1cfef14a0716a742a1496bb6accb2627ddc2c363f87b4bdbb964312b99105e231e85e836049c9a81264222f6c0739952ee1fb9 SHA512 3987a8a37259d347bedc925673d97dbd6413dc3e72172434820b0520b7807d25745490d81a1c2ebb16e55f5d7ba0e33132608538492d825db772aab81b14a022
AUX anki-2.1.15-mpv-args.patch 856 BLAKE2B 02c80c096ee3971cb781ea57ba8ebd63037c37668d57bef8d63f7c551544cd1eec04d134a835af5c918992172493a3b2933b6652e6872da2fe6bd6acb1bf6886 SHA512 ed44a965978dcb2ce85eab99adff59610c51614673415c7e34d1acdc77fa46e05c6b5eba6a4c3fda07ef5b3d3d5d1c9d844276377daff2189cbdf808168dd402
AUX anki-2.1.15-unescape.patch 474 BLAKE2B f78067433039e22e335811dac2af3b8237a96f5d5025fe36cbea32d117d015fc1fab8f9ac806135e2ec910cdbd10131f731b8ea5fcdb5e88cd6dedbb8322bd8d SHA512 90e5123991120e696a94119413add54a205d87969b8b7f7167bd66d9ac12c6ad5f4ecba4692d7dddb4f8b47bb13aeea502e95a9be0cb72ca578531fde1473e1e
DIST anki-2.1.15.tgz 4269571 BLAKE2B 00b351f5ffacb363642e02bf806bcd7c0d9446c9815a75328e7fa37c848b271b135510de17cc012e8cc96d8a52a183a49de84b6f85f562a370255bd36c6f866e SHA512 f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3
EBUILD anki-2.1.15-r1.ebuild 2435 BLAKE2B 2f0753a3a436da7bb281111e845b1947d658399512e3e21b4a64833a948d4e5e0e8821550e906f1d70c6447839f36640a1b80f07e88db57bb1278e92eb49de3a SHA512 ce65220725ef449a2a63759a1aff1e343511c65e704f64f66aa270f69870357653f4beef183c75e667de782adbaed7ac6ce4db4f874269f678f4363cc21e8d2f
-EBUILD anki-2.1.15-r2.ebuild 2480 BLAKE2B a022a18ef0ee7194016bff5c0f7b2bda782525d3eaca2589dbcf765a1c0433082c2b8ab374e993f9a6f09077fe58905f2f0eedbedcc4141677a1dfb7f97d5e27 SHA512 95990a6f96597846b0904564772ca1a6dfb35579745ce4202df5a401c8854b02ef3a15ff305b6f368bb1cc961dbee73c4d47f712e0133d075b33e74044e33011
MISC metadata.xml 534 BLAKE2B 213a653eafc0b27ae1816171ef508691cfb565d3ef91c4719c12396719655445049cb72cdb64edeee5d92cf2ad504018ccfd90258d859201627fd62aa868e5ad SHA512 49691179ccb173042f8d8ca9e03ce7c430414aebb5a49fde0ae6ca5fa1abbdc5cae9f8bdef486f6dc372348c4b46075c0d60ad7aa6cd541a342943026acaa1b7
diff --git a/app-misc/anki/anki-2.1.15-r2.ebuild b/app-misc/anki/anki-2.1.15-r2.ebuild
deleted file mode 100644
index ddd50dba0c10..000000000000
--- a/app-misc/anki/anki-2.1.15-r2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="sqlite"
-
-inherit desktop optfeature 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/archive/${P}-source.tgz -> ${P}.tgz"
-
-LICENSE="AGPL-3+ BSD MIT GPL-3+ CC-BY-SA-3.0 Apache-2.0 CC-BY-2.5"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="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_USEDEP}]
- >=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
- >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- ')
-"
-BDEPEND="test? (
- ${RDEPEND}
- $(python_gen_cond_dep '
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch
- "${FILESDIR}"/${PN}-2.1.15-mpv-args.patch
- "${FILESDIR}"/${PN}-2.1.15-unescape.patch
- "${FILESDIR}"/${PN}-2.1.15-fix-prefs.patch
-)
-
-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} ${BROOT}/usr/bin/nosetests\":" \
- -i tools/tests.sh || die
- sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} ${BROOT}/usr/bin/nosetests3\":" \
- -i tools/tests.sh || die
- sed -e "s:which nosetests3:which ${BROOT}/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
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- optfeature "LaTeX in cards" "app-text/texlive app-text/dvipng"
- optfeature "Record sound" "dev-python/pyaudio media-sound/lame"
- optfeature "Playback sound" media-video/mpv media-video/mplayer
-}
diff --git a/app-misc/anki/files/anki-2.1.15-fix-prefs.patch b/app-misc/anki/files/anki-2.1.15-fix-prefs.patch
deleted file mode 100644
index 4f0bb2457dac..000000000000
--- a/app-misc/anki/files/anki-2.1.15-fix-prefs.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://bugs.gentoo.org/869917#c3
-https://github.com/ankitects/anki/commit/d2ae874d9e1615d09afc912275cc3b27776a1392
-
---- a/aqt/preferences.py
-+++ b/aqt/preferences.py
-@@ -77,8 +77,8 @@ class Preferences(QDialog):
- f.hwAccel.setVisible(False)
- else:
- f.hwAccel.setChecked(self.mw.pm.glMode() != "software")
-- f.lrnCutoff.setValue(qc['collapseTime']/60.0)
-- f.timeLimit.setValue(qc['timeLim']/60.0)
-+ f.lrnCutoff.setValue(int(qc['collapseTime']/60.0))
-+ f.timeLimit.setValue(int(qc['timeLim']/60.0))
- f.showEstimates.setChecked(qc['estTimes'])
- f.showProgress.setChecked(qc['dueCounts'])
- f.nightMode.setChecked(qc.get("nightMode", False))
-