public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/anki-bin/
Date: Mon, 29 Apr 2024 21:27:43 +0000 (UTC)	[thread overview]
Message-ID: <1714400032.a3eeaa785495f148ade8c919e06dee7b38ebaa49.davidroman@gentoo> (raw)

commit:     a3eeaa785495f148ade8c919e06dee7b38ebaa49
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Apr 29 14:12:15 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Apr 29 14:13:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3eeaa78

app-misc/anki-bin: drop 24.04.1

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/anki-bin/anki-bin-24.04.1.ebuild | 131 ------------------------------
 1 file changed, 131 deletions(-)

diff --git a/app-misc/anki-bin/anki-bin-24.04.1.ebuild b/app-misc/anki-bin/anki-bin-24.04.1.ebuild
deleted file mode 100644
index 59f344c71a..0000000000
--- a/app-misc/anki-bin/anki-bin-24.04.1.ebuild
+++ /dev/null
@@ -1,131 +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}"
-
-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? (
-		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"
-
-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"
-}


             reply	other threads:[~2024-04-29 21:27 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 21:27 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02  9:58 [gentoo-commits] repo/proj/guru:master commit in: app-misc/anki-bin/ David Roman
2024-09-02  9:58 David Roman
2024-07-04 11:19 David Roman
2024-07-04 11:19 David Roman
2024-06-25  9:10 David Roman
2024-04-28 21:05 David Roman
2024-04-28 21:05 David Roman
2024-04-28 21:05 David Roman
2024-04-01 21:30 Haelwenn Monnier
2024-02-25  2:27 Julien Roy
2023-12-28 18:02 David Roman
2023-12-28 18:02 David Roman
2023-12-27 20:23 David Roman
2023-12-27 20:23 David Roman
2023-12-12  6:19 Viorel Munteanu
2023-11-24 17:20 David Roman
2023-11-24 17:20 David Roman
2023-11-09  6:45 Haelwenn Monnier
2023-11-02  9:21 Rui Huang
2023-08-28 16:33 David Roman
2023-08-24 22:41 David Roman
2023-08-24 22:41 David Roman
2023-06-12 19:27 Florian Schmaus
2023-06-07  7:04 Viorel Munteanu
2023-05-25  2:21 Haelwenn Monnier
2023-05-25  2:21 Haelwenn Monnier
2023-05-16  5:08 Viorel Munteanu
2023-05-16  5:08 Viorel Munteanu
2023-04-01 21:30 Haelwenn Monnier
2023-04-01 21:30 Haelwenn Monnier
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-01-30 10:29 Viorel Munteanu
2023-01-30 10:29 Viorel Munteanu
2023-01-14 18:43 Andrew Ammerlaan
2023-01-10  8:37 Haelwenn Monnier
2022-12-30  9:41 Viorel Munteanu
2022-12-30  9:41 Viorel Munteanu
2022-12-01  3:59 Haelwenn Monnier
2022-09-19  6:30 Ronny Gutbrod
2022-09-19  6:30 Ronny Gutbrod
2022-09-17 11:49 Ronny Gutbrod
2022-03-29  0:23 Ronny Gutbrod
2021-10-20  8:18 Florian Schmaus
2021-07-30  9:29 Andrew Ammerlaan
2021-07-30  9:11 Andrew Ammerlaan
2021-07-30  9:11 Andrew Ammerlaan
2021-07-30  9:11 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-07-30  9:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1714400032.a3eeaa785495f148ade8c919e06dee7b38ebaa49.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox