commit: cfbbbe1ecab71022038440b9cc06012e16aee369
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 1 20:49:42 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 1 20:49:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfbbbe1e
app-misc/anki-bin: drop 24.04.1-r1, 24.06.2
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 9 --
app-misc/anki-bin/anki-bin-24.04.1-r1.ebuild | 133 ---------------------------
app-misc/anki-bin/anki-bin-24.06.2.ebuild | 132 --------------------------
3 files changed, 274 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index c12fa058b..81f8c14d8 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,16 +1,7 @@
-DIST anki-24.04.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11236407 BLAKE2B
fc69cc25645cc29c7d1b08f3d0496bcf31e5fbd487a2e5d3a836471e875292006f83091ee2ca317ef8072a179c059d90edcd71542e1ae28a5f6fa4d9962b76c3
SHA512
6e6c7f4bab8120364ee84fb445b0f289cc44693d3c13cd17b555f108e7fb4bfa1d08f5be41aef7e2ffd2372048d60a0cc94a5ec8eb8a1ef4254e83b0768a909c
-DIST anki-24.06.2-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11280840 BLAKE2B
141ed3c5b5528d62f737bb5c8c1d3348be78030203b7c8bd86933bc55f99e3413ee71582b34105d1d4d0a089432128e1f24920117411a21c3f7a81a550f3496f
SHA512
4dae14dbf6f7cf50c70ba5eebab3ad84c4f08c2571d2404d717a051c9e984c492a95f9fe7f11937c3714e3b33e65b17dd0482316c3bffd8af558ef63cf31f110
DIST anki-24.06.3-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11301619 BLAKE2B
e98a1124a0932c0283f859ac713774f787345d6445765445a5781f9300190b848cbe300907f818dfa2e9b612c5a4bc7f01607dd2ff64d46edb766a79ce6c50f2
SHA512
a9c04c1038f4537b2927aeecdb807e7558d65f8ecbecfeae1fdf253f71e16604e7f7cb8e143b85f8e6efc07ebb7c5e0c9e767f7cb627ef85749761fca2cfc8a7
-DIST anki-bin-2.1.50.1 2212 BLAKE2B
18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50
SHA512
50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.50.desktop 458 BLAKE2B
7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b
SHA512
4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.50.png 34595 BLAKE2B
7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88
SHA512
c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.50.xml 528 BLAKE2B
237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e
SHA512
67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
-DIST anki-bin-2.1.50.xpm 6324 BLAKE2B
7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc
SHA512
7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
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-24.04.1-py3-none-any.whl.zip 4644843 BLAKE2B
bd26772de68e67a13ebba2fded6e0d8b2679ba1a50771b44ce16840fb5094bf168c6dc878aa5aadfd4836a6f697acbaeb63b7e5b6c1b0a0ad1ca0c5d541fd662
SHA512
de2eeb2d442786e1443971f83770401d383af80c10da3114b3cb9f9103e1c3a323def0a2998e3466440564dbad88b3c776555dae7224420d50a45de9706e6342
-DIST aqt-24.06.2-py3-none-any.whl.zip 13452151 BLAKE2B
72d0fc6ccd53bd73181afdc08bc8012737e56234c03f0a5c03c766adcbae46082d7a5aa498187b04dbc8266254aa89aa7e742f9923b7b561341c2f12574b2f59
SHA512
50be6d724e71531d12c9cf60634ad118effd09276c97642135dbdd2ca7793d3a98fc89458491538d6ca1dd4bc489a1f7f6c586c1c8f68044339078553bb7575a
DIST aqt-24.06.3-py3-none-any.whl.zip 16149923 BLAKE2B
d9bd8ff403215d2c401160c3264dbb1ba60c8aa9cfb22bba92449c64541a5094b733935ecc17d012c9b8c22328fe7b971c7b42364d30afe5666b87b0eac220ab
SHA512
119315de7a0207bf53d896582a2288da4433e4a33257e51ed23e23ba9247572ed74b03890af1a2bae8a8bae8655e3db123239d2ed29812348ad3f74bb7e4d705
diff --git a/app-misc/anki-bin/anki-bin-24.04.1-r1.ebuild
b/app-misc/anki-bin/anki-bin-24.04.1-r1.ebuild
deleted file mode 100644
index bc2fb597b..000000000
--- a/app-misc/anki-bin/anki-bin-24.04.1-r1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2021-2024 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..12} was tested on a limited number of
machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit desktop optfeature python-single-r1 pypi readme.gentoo-r1 xdg
-
-# bump to latest PV, where any of the miscellaneous files changed
-MY_PV=2.1.50
-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_28_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+ Unlicense 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-DFS-2016 ZLIB
-"
-# Manually added crate licenses
-LICENSE+=" Unicode-3.0 openssl"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qt6"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES="${FILESDIR}"/${P}-revert-cert-store-hack.patch
-
-RDEPEND="
- app-misc/ca-certificates
- $(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[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]')
- qt6? (
- dev-qt/qtsvg:6
- $(python_gen_cond_dep '
-
>=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}]')
- )
- !qt6? (
- dev-qt/qtgui:5[jpeg,png]
- dev-qt/qtsvg:5
- $(python_gen_cond_dep '
-
>=dev-python/PyQt5-5.15.5[gui,network,webchannel,widgets,${PYTHON_USEDEP}]
- >=dev-python/PyQt5-sip-12.9.0[${PYTHON_USEDEP}]
- >=dev-python/PyQtWebEngine-5.15.5[${PYTHON_USEDEP}]')
- )
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-QA_PREBUILT="usr/lib/*"
-
-DOC_CONTENTS="Users with add-ons that still rely on Anki's Qt5 GUI can either
switch
-to ${CATEGORY}/${PN}[-qt6], or temporarily set an environment variable
-ENABLE_QT5_COMPAT to 1 to have Anki install the previous compatibility code.
-The latter option has additional runtime dependencies. Please take a look
-at this package's 'optional runtime features' for a complete listing.
-\n\nIn an early 2024 update, ENABLE_QT5_COMPAT will be removed, 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/
-"
-
-src_prepare() {
- default
- # Anki's Qt detection mechanism falls back to Qt5 Python bindings, if
Qt6
- # Python bindings don't get imported successfully.
- if ! use qt6; then
- sed -i 's/import PyQt6/raise ImportError/' aqt/qt/__init__.py
|| die
- fi
-}
-
-src_install() {
- python_domodule anki {,_}aqt *.dist-info
- printf "#!/usr/bin/python3\nimport sys;from aqt import
run;sys.exit(run())" > runanki
- python_newscript runanki anki
- 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
-
- 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/PyQt$(usex qt6 6 5)[multimedia]"
- optfeature "faster database operations" dev-python/orjson
- use qt6 && optfeature "compatibility with Qt5-dependent add-ons"
dev-python/PyQt6[dbus,printsupport]
- use qt6 && optfeature "Vulkan driver" "media-libs/vulkan-loader
dev-qt/qtbase[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/anki-bin-24.06.2.ebuild
b/app-misc/anki-bin/anki-bin-24.06.2.ebuild
deleted file mode 100644
index 31964206d..000000000
--- a/app-misc/anki-bin/anki-bin-24.06.2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 2021-2024 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..12} was tested on a limited number of
machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_{10..12} )
-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_28_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+ Unlicense 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-DFS-2016 ZLIB
-"
-# Manually added crate licenses
-LICENSE+=" Unicode-3.0 openssl"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qt6"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- app-misc/ca-certificates
- $(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[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]')
- qt6? (
- dev-qt/qtsvg:6
- $(python_gen_cond_dep '
-
>=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}]')
- )
- !qt6? (
- dev-qt/qtgui:5[jpeg,png]
- dev-qt/qtsvg:5
- $(python_gen_cond_dep '
-
>=dev-python/PyQt5-5.15.5[gui,network,webchannel,widgets,${PYTHON_USEDEP}]
- >=dev-python/PyQt5-sip-12.9.0[${PYTHON_USEDEP}]
- >=dev-python/PyQtWebEngine-5.15.5[${PYTHON_USEDEP}]')
- )
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-PATCHES="${FILESDIR}"/${PN}-24.04.1-revert-cert-store-hack.patch
-
-QA_PREBUILT="usr/lib/*"
-
-src_prepare() {
- default
- # Anki's Qt detection mechanism falls back to Qt5 Python bindings, if
Qt6
- # Python bindings don't get imported successfully.
- if ! use qt6; then
- sed -i 's/import PyQt6/raise ImportError/' aqt/qt/__init__.py
|| die
- fi
-}
-
-src_install() {
- python_domodule anki {,_}aqt *.dist-info
- printf "#!/usr/bin/python3\nimport sys;from aqt import
run;sys.exit(run())" > runanki
- python_newscript runanki anki
- 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 either switch
- to ${CATEGORY}/${PN}[-qt6], or temporarily set an environment variable
- ENABLE_QT5_COMPAT to 1 to have Anki install the previous compatibility
code.
- The latter option has additional runtime dependencies. Please take a
look
- at this package's 'optional runtime features' for a complete listing.
- \n\nIn an early 2024 update, ENABLE_QT5_COMPAT will be removed, 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/PyQt$(usex qt6 6 5)[multimedia]"
- optfeature "faster database operations" dev-python/orjson
- use qt6 && optfeature "compatibility with Qt5-dependent add-ons"
dev-python/PyQt6[dbus,printsupport]
- use qt6 && optfeature "Vulkan driver" "media-libs/vulkan-loader
dev-qt/qtbase[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"
-}