From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B20AA158015 for ; Tue, 26 Dec 2023 18:24:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 895DC2BC017; Tue, 26 Dec 2023 18:24:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BEA12BC014 for ; Tue, 26 Dec 2023 18:24:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 443BB335DEB for ; Tue, 26 Dec 2023 18:24:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7EE71357 for ; Tue, 26 Dec 2023 18:24:02 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1703615033.fa274d11e711ab3c183de7fbd8d116951fb56440.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/anki-bin/Manifest app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild X-VCS-Directories: app-misc/anki-bin/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: fa274d11e711ab3c183de7fbd8d116951fb56440 X-VCS-Branch: dev Date: Tue, 26 Dec 2023 18:24:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10ffb3c7-b1a4-46eb-b257-b8c8f6548fef X-Archives-Hash: 1189991104cd8993564c298406fb02b0 commit: fa274d11e711ab3c183de7fbd8d116951fb56440 Author: Lucio Sauer posteo net> AuthorDate: Tue Dec 26 14:26:49 2023 +0000 Commit: Lucio Sauer posteo net> CommitDate: Tue Dec 26 18:23:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa274d11 app-misc/anki-bin: drop 23.10.1-r1 Signed-off-by: Lucio Sauer posteo.net> app-misc/anki-bin/Manifest | 7 -- app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild | 158 --------------------------- 2 files changed, 165 deletions(-) diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest index 2d30c801cb..caa7c82ecd 100644 --- a/app-misc/anki-bin/Manifest +++ b/app-misc/anki-bin/Manifest @@ -1,14 +1,7 @@ -DIST anki-23.10.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11926171 BLAKE2B 0f3d0f7012a98b224379a3d709f82e8ac4c046ea5b4d9ae3df83d864f87ed9f5bdbb40ee926122a9e359b026109bae5c3628f1e532955b6355f36ea8c3601e0f SHA512 ff7cfca1fdcacff8c609530f1441206f7dbc825ae37310366dfc227dec30d75f6476dca3ed19b89a0af6510ac45d5babf43562156464cfd18b54f1624ae4b87b DIST anki-23.12-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12010508 BLAKE2B 7eab5bfd30078b6e37522d424ca05ef7066dedc40952a0186dbd685b56e2e94a5ef84fce3c674be387b369abdfc0f3d0fbae3a4bdcb452c9b8477053135cf02f SHA512 b737dd54be84d2c0cb1edc154177d47b8d2871a113b9d4da57ada7c018f58a939eda2db9ea6d8efc96532ee23e2e783cdf74854372a91d4b9a0d0ff3ae511d31 -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.12.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05 DIST anki-bin-23.12.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220 DIST anki-bin-23.12.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7 DIST anki-bin-23.12.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce DIST anki-bin-23.12.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41 -DIST aqt-23.10.1-py3-none-any.whl.zip 7739265 BLAKE2B f238c088393d6ca67169d6755f509d8ea73c42658b01d5ee10e61dc8c4f268fdf900098bd47e9dcd98a34b882ea7aeda9e3a9d7d91dbbfc9b73b22f183c8aa8c SHA512 29a31d5710ded560abb986123bcf67f9140f5f438b1fdfa2ac59e42d8ed2c9452c752f0606ba08057107f3d1df64012f6352d35e0bbf28c88adfe7a116ddd98a DIST aqt-23.12-py3-none-any.whl.zip 8061633 BLAKE2B 7808250998385b248539df386ff714bf96fd374552108b62d6fcadd7e63f8760105b350b6eac3b2d4518c1477249c1346aeffe9cd9383374e7a8b0cd9022dc75 SHA512 8504d8f2e62521aa7d5475ce89f499090654cac19c75da3c3b7182f8b66990da824f34e07ada4cc7b1c9f5d4bd71ca8d4311b5a482bea45a5dd4b244a4bf08e7 diff --git a/app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild b/app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild deleted file mode 100644 index 247ebe6f01..0000000000 --- a/app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild +++ /dev/null @@ -1,158 +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..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 - -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/${PV}/qt/bundle/lin/anki.1 -> ${P}.1 - https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/bundle/lin/anki.desktop -> ${P}.desktop - https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/bundle/lin/anki.png -> ${P}.png - https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/bundle/lin/anki.xml -> ${P}.xml - https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/bundle/lin/anki.xpm -> ${P}.xpm -" - -# The program itself is licensed under AGPL-3+ with contributed portions licensed -# under BSD-3. -# The translation files are licensed under BSD-3 and public-domain. -# - ftl/ -LICENSE="AGPL-3+ BSD 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 openssl Unicode-DFS-2016 -" -# The supermemo importer is licensed under GPL-3+ and 0BSD. -# - pylib/anki/importing/supermemo_xml.py -# -# Anki bundles 3rd-party code and assets: -# The MathJax files are licensed under Apache-2.0. -# - node_modules/mathjax/es5/ -# -# CSS Browser Selector is licensed under CC-BY-2.5. -# - node_modules/css-browser-selector/css_browser_selector.min.js -# -# The fancy deboss pattern is licensed under CC-BY-4.0. -# - pylib/anki/statsbg.py -# -# The patched MPV controls are licensed under MIT. -# - qt/aqt/mpv.py -# -# The Winpath module is licensed under MIT. -# - qt/aqt/winpaths.py -# -# The licenses for the runtime JS libaries are documented in the source code. -# - ts/licenses.json -# How to get an up-to-date summary: -# ./node_modules/.bin/license-checker-rseidelsohn --production --excludePackages anki --summary -# -# The vendored Flot plotting library is licensed under MIT. -# - qt/aqt/data/web/js/vendor/plot.js -LICENSE+=" 0BSD CC-BY-4.0 CC-BY-SA-2.5 GPL-3+ Unlicense" - -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/PyQt6-6.5.0[gui,network,opengl,quick,svg,webchannel,widgets,${PYTHON_USEDEP}] - >=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}] - >=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]') - - ) - !qt6? ( dev-qt/qtgui[jpeg,png] - $(python_gen_cond_dep ' - >=dev-python/PyQt5-5.15.5[gui,network,svg,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" - -S="${WORKDIR}" - -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. - -In an early 2024 update, ENABLE_QT5_COMPAT will be removed, so this is not a -long-term solution. - -Anki's user manual is located online at https://docs.ankiweb.net/ -Anki'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}"/${P}.png anki.png - newicon "${DISTDIR}"/${P}.xpm anki.xpm - newmenu "${DISTDIR}"/${P}.desktop anki.desktop - newman "${DISTDIR}"/${P}.1 anki.1 - insinto /usr/share/mime/packages - newins "${DISTDIR}"/${P}.xml anki.xml - - local DISABLE_AUTOFORMATTING=1 - readme.gentoo_create_doc -} - -pkg_postinst() { - [[ "${REPLACING_VERSIONS%-r*}" != '23.10.1' ]] && local FORCE_PRINT_ELOG=1 - 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" -}