commit: f4a37667f8ba5aafc82b5c8e95529b4abdd4f27e
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jul 13 11:56:57 2025 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jul 13 11:56:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4a37667
app-misc/anki-bin: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-misc/anki-bin/Manifest | 7 --
app-misc/anki-bin/anki-bin-25.02.ebuild | 115 ---------------------
.../anki-bin-24.04.1-revert-cert-store-hack.patch | 21 ----
app-misc/anki-bin/metadata.xml | 22 ----
profiles/package.mask | 6 --
5 files changed, 171 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
deleted file mode 100644
index 9aeba236a3..0000000000
--- a/app-misc/anki-bin/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST anki-25.02-cp39-abi3-manylinux_2_35_x86_64.whl.zip 10699478 BLAKE2B
0b6e560f4cef124277ce0dd328806391a59b2926e066cc4648d22f4b957f4193a4f355394ff96acdd0ecfa7bcaab3288b78b1dfdd6181b214e6f1ef99d57f7bc
SHA512
8d73df399257a6fa1c0d70733e44986deaed7eaa50cfaab2d9ba7c7a754b10230fecfa6192b50bd675b5be1528594e785a30ecf68302c33a5fcf0dfca9e8364e
-DIST anki-bin-24.06.1 2212 BLAKE2B
18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50
SHA512
50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-24.06.desktop 478 BLAKE2B
a42c1186a11cb5a6f9bc41be99e8fb62236148d69c467b174cd34fc865f7955bb71794258bedf6175d1ccd89a8439db721082e145731688f17d097f32be0c93d
SHA512
0742596284a0198bdd51b281b4018cca517b89b276352f21d586bd4f3ec78c2991ce93081f46112ab9130378195050b2fc8b636d89d4bdf0872a1f9f369ee326
-DIST anki-bin-24.06.png 34595 BLAKE2B
7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88
SHA512
c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-24.06.xml 528 BLAKE2B
237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e
SHA512
67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
-DIST anki-bin-24.06.xpm 6324 BLAKE2B
7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc
SHA512
7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
-DIST aqt-25.02-py3-none-any.whl.zip 4204328 BLAKE2B
58317cc8ba3e9809199d5d50b3f4b0f5f3f80380c8c25b174c5d995eb363b3be3e0d62832a87458e2e74f2a721cb36df3f8f882c7d33c4be75ba37773483cc18
SHA512
8e5fd52ea749e29b5de42b2a19bb20c83aa3de859ef12218131bb1c30f2af5173676f0831cd34ee093fa8c4d8bdc77490d75adf904c98236259c0a6f52c44bdd
diff --git a/app-misc/anki-bin/anki-bin-25.02.ebuild
b/app-misc/anki-bin/anki-bin-25.02.ebuild
deleted file mode 100644
index de442784d0..0000000000
--- a/app-misc/anki-bin/anki-bin-25.02.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2021-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-### A NOTE REGARDING PYTHON COMPATABILITY ###
-# Anki-bin downloads a python 3.9 wheel. However the wheel used has only one
native library _rsbridge.so
-# that is not linked against libpython.
-# The configuration with Python 3.{10..13} was tested on a limited number of
machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_{11..13} )
-inherit desktop optfeature python-single-r1 pypi readme.gentoo-r1 xdg
-
-# bump to latest PV, where any of the miscellaneous files changed
-MY_PV=24.06
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- $(pypi_wheel_url --unpack anki ${PV} cp39 abi3-manylinux_2_35_x86_64)
- $(pypi_wheel_url --unpack aqt ${PV})
-
https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.1
-> ${MY_P}.1
-
https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.desktop
-> ${MY_P}.desktop
-
https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.png
-> ${MY_P}.png
-
https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xml
-> ${MY_P}.xml
-
https://raw.githubusercontent.com/ankitects/anki/${MY_PV}/qt/bundle/lin/anki.xpm
-> ${MY_P}.xpm
-"
-
-S="${WORKDIR}"
-
-# How to get an up-to-date summary of runtime JS libs' licenses:
-# ./node_modules/.bin/license-checker-rseidelsohn --production
--excludePackages anki --summary
-LICENSE="0BSD AGPL-3+ BSD CC-BY-4.0 GPL-3+ public-domain"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT
- MPL-2.0 Unicode-3.0 Unicode-DFS-2016 Unlicense ZLIB
-"
-# Manually added crate licenses
-LICENSE+=" openssl"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
- !app-misc/anki
- app-misc/ca-certificates
- dev-qt/qtsvg:6
- $(python_gen_cond_dep '
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/protobuf[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
-
>=dev-python/pyqt6-6.6.1[gui,network,opengl,quick,webchannel,widgets,${PYTHON_USEDEP}]
- >=dev-python/pyqt6-sip-13.6.0[${PYTHON_USEDEP}]
- >=dev-python/pyqt6-webengine-6.6.0[widgets,${PYTHON_USEDEP}]')
-"
-BDEPEND="app-arch/unzip"
-
-PATCHES="${FILESDIR}"/${PN}-24.04.1-revert-cert-store-hack.patch
-
-QA_PREBUILT="usr/lib/*"
-
-src_install() {
- python_domodule anki {,_}aqt *.dist-info
- python_newscript - anki <<-EOF
- #!${EPREFIX}/usr/bin/python
- import sys
- from aqt import run
- sys.exit(run())
- EOF
- newicon "${DISTDIR}"/${MY_P}.png anki.png
- newicon "${DISTDIR}"/${MY_P}.xpm anki.xpm
- newmenu "${DISTDIR}"/${MY_P}.desktop anki.desktop
- newman "${DISTDIR}"/${MY_P}.1 anki.1
- insinto /usr/share/mime/packages
- newins "${DISTDIR}"/${MY_P}.xml anki.xml
-
- local DOC_CONTENTS="Users with add-ons that still rely on Anki's Qt5 GUI
- can temporarily set the environment variable ENABLE_QT5_COMPAT to 1 to
have
- Anki install the previous compatibility code. This option has additional
- runtime dependencies. Please take a look at this package's optional
runtime
- features for a complete listing.
- \n\nENABLE_QT5_COMPAT may be removed in the future, so this is not a
- long-term solution.
- \n\nAnki's user manual is located online at https://docs.ankiweb.net/
- \nAnki's add-on developer manual is located online at
- https://addon-docs.ankiweb.net/"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
- xdg_pkg_postinst
- optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng"
- optfeature "sound support" media-video/mpv media-video/mplayer
- optfeature "recording support" "media-sound/lame[frontend]
dev-python/pyqt6[multimedia]"
- optfeature "faster database operations" dev-python/orjson
- optfeature "compatibility with Qt5-dependent add-ons"
dev-python/pyqt6[dbus,printsupport]
- optfeature "Vulkan driver" "media-libs/vulkan-loader
dev-qt/qtbase:6[vulkan]
- dev-qt/qtdeclarative:6[vulkan] dev-qt/qtwebengine:6[vulkan]"
-
- einfo "You can customize the LaTeX header for your cards to fit your
needs:"
- einfo "Notes > Manage Note Types > [select a note type] > Options"
-}
diff --git
a/app-misc/anki-bin/files/anki-bin-24.04.1-revert-cert-store-hack.patch
b/app-misc/anki-bin/files/anki-bin-24.04.1-revert-cert-store-hack.patch
deleted file mode 100644
index 258e64e1eb..0000000000
--- a/app-misc/anki-bin/files/anki-bin-24.04.1-revert-cert-store-hack.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-pip_system_certs is a hack to force certifi to use the system
-certificate store. Let's use dev-python/certifi, which is a hack of
-its own, instead of introducing an automagical dependency.
-
-From: Lucio Sauer <[email protected]>
---- a/aqt/__init__.py
-+++ b/aqt/__init__.py
-@@ -6,13 +6,6 @@ from __future__ import annotations
- import logging
- import sys
-
--try:
-- import pip_system_certs.wrapt_requests
--except ModuleNotFoundError:
-- print(
-- "Python module pip_system_certs is not installed. System certificate
store and custom SSL certificates may not work. See:
https://github.com/ankitects/anki/issues/3016"
-- )
--
- if sys.version_info[0] < 3 or sys.version_info[1] < 9:
- raise Exception("Anki requires Python 3.9+")
-
diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml
deleted file mode 100644
index 3f1d1c3bbe..0000000000
--- a/app-misc/anki-bin/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>[email protected]</email>
- <name>Shaoyu Tseng</name>
- </maintainer>
- <maintainer type="person">
- <email>[email protected]</email>
- <name>Lucio Sauer</name>
- </maintainer>
- <upstream>
- <bugs-to>https://forums.ankiweb.net/c/anki/21</bugs-to>
-
<changelog>https://github.com/ankitects/anki/releases</changelog>
- <doc>https://docs.ankiweb.net/</doc>
- <maintainer status="active">
- <name>Damien Elmes</name>
- </maintainer>
- <remote-id type="pypi">anki</remote-id>
- <remote-id type="github">ankitects/anki</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 00ae290bdf..6a0e7bda10 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -51,12 +51,6 @@ dev-util/mock
# Removal on 2025-07-04
app-mobilephone/usb-tethering
-# Lucio Sauer <[email protected]> (2025-06-03)
-# Superseded by app-misc/anki::gentoo and poses extra maintenance burden with
-# little to no benefit.
-# Removal on 2025-07-03
-app-misc/anki-bin
-
# David (stkw0) Roman <[email protected]> (2025-06-03)
# Unmaintained since 2021, fails to compile. Bug #859643
# Removal on 2025-07-30