app-misc/anki-bin: drop 23.10-r1

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2023-11-24 13:17:13 +01:00
parent 52546e351a
commit 0fa29bf793
2 changed files with 0 additions and 93 deletions

View File

@@ -1,12 +1,7 @@
DIST anki-23.10-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11943812 BLAKE2B d2058291d65b4e206956d1367c03d18021ac2f19266249d22680714ca12c31b3553705788ed74cf06b3dae97d27228e85b97057dad50f4821954d196fb3696b9 SHA512 8b835044f9f974129bfdac18166c7ebf58cf199c510ebb618a03e8a2415b1e42d42fca39a5c92c3430b18429d0cc5095d7ae07213f90f28b6480c8f6a3cabb88
DIST anki-23.10.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11926171 BLAKE2B 0f3d0f7012a98b224379a3d709f82e8ac4c046ea5b4d9ae3df83d864f87ed9f5bdbb40ee926122a9e359b026109bae5c3628f1e532955b6355f36ea8c3601e0f SHA512 ff7cfca1fdcacff8c609530f1441206f7dbc825ae37310366dfc227dec30d75f6476dca3ed19b89a0af6510ac45d5babf43562156464cfd18b54f1624ae4b87b
DIST anki-bin-23.10.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.10.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.10.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-23.10.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-23.10.1.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
DIST anki-bin-23.10.1.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
DIST anki-bin-23.10.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-23.10.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-23.10-py3-none-any.whl.zip 7737563 BLAKE2B 93dd55f95b5f6395ac20c1d58bca7e6273ccb3d448df0f174a7a2758d9d579550e7ff1056c5642c3f7d39348d6cf86e91f935f303a62e904206cd11e053f9420 SHA512 6865fc3ddb1c93ed5310d35aa4738d8526e4fd829a108b3fc3e0a0fa4e349e82d9a74e03016644ba4a2fb3302d8c9b0fbe2b127ce139fe7e8907afbd1a721651
DIST aqt-23.10.1-py3-none-any.whl.zip 7739265 BLAKE2B f238c088393d6ca67169d6755f509d8ea73c42658b01d5ee10e61dc8c4f268fdf900098bd47e9dcd98a34b882ea7aeda9e3a9d7d91dbbfc9b73b22f183c8aa8c SHA512 29a31d5710ded560abb986123bcf67f9140f5f438b1fdfa2ac59e42d8ed2c9452c752f0606ba08057107f3d1df64012f6352d35e0bbf28c88adfe7a116ddd98a

View File

@@ -1,88 +0,0 @@
# Copyright 2021-2023 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,11} was tested on a limited number of machines and is not guaranteed to work.
PYTHON_COMPAT=( python3_{10..11} )
inherit desktop optfeature python-single-r1 pypi xdg
MY_PN=${PN%-bin}
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
HOMEPAGE="https://apps.ankiweb.net/"
SRC_URI="
$(pypi_wheel_url --unpack ${MY_PN} ${PV} cp39 abi3-manylinux_2_28_x86_64)
$(pypi_wheel_url --unpack aqt ${PV})
https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.desktop -> ${P}.desktop
https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png
https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.1 -> ${P}.1
"
LICENSE="AGPL-3+ Apache-2.0 BSD CC-BY-3.0 GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qt6"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
QA_PREBUILT="usr/lib/*"
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? (
$(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}]
')
!dev-python/PyQt6
)
qt6? (
$(python_gen_cond_dep '
>=dev-python/PyQt6-6.5.0[dbus,gui,network,opengl,printsupport,webchannel,widgets,quick,${PYTHON_USEDEP}]
>=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}]
>=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
')
)
${PYTHON_DEPS}
!app-misc/anki
"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
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}"/${P}.png ${MY_PN}.png
newmenu "${DISTDIR}"/${P}.desktop ${MY_PN}.desktop
newman "${DISTDIR}"/${P}.1 ${MY_PN}.1
}
pkg_postinst() {
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]"
einfo "You can customize the LaTeX header for your cards to fit your needs:"
einfo "Notes > Manage Note Types > Options"
}