* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-07-29 11:41 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-07-29 11:41 UTC (permalink / raw
To: gentoo-commits
commit: 0dfbac25955f80ee265aca894ff63f0aa1e7752a
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Thu Jul 29 11:41:21 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Thu Jul 29 11:41:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0dfbac25
app-misc/anki-bin: new package
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/Manifest | 3 ++
app-misc/anki-bin/anki-bin-2.1.44.ebuild | 59 ++++++++++++++++++++++++++++++++
app-misc/anki-bin/metadata.xml | 12 +++++++
3 files changed, 74 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
new file mode 100644
index 000000000..10dac22b7
--- /dev/null
+++ b/app-misc/anki-bin/Manifest
@@ -0,0 +1,3 @@
+DIST anki-bin-2.1.44.zip 8421027 BLAKE2B 56ac58ac7a8a10487e28124512e31687cfda98899ba3ac23152155f8a478326be23974f1efe576c973096cbe063c8143129ac4a886265cb39545f67193d2cc37 SHA512 73a3bf5760830c622914d9da76f8c772ab4ef97bfd784d726b16cdbbfd1f0ed41724f6b9611bc365b44d656269d63c0254e062ad589b13261a9d9a0553211620
+DIST anki.png 110645 BLAKE2B 77fe1612016dcb6079c5d33e0c8124c9e3a07a7297f27d0ea16923628a687f14386173721eb87c60efd3d70b442984b297794c924e019602cf1810d6079811d0 SHA512 daf63cb585a080350f6eee9c447d13cae1e576341df8843810279a3cabb442ab2d69ad409a138f8b5ace9c1485e373ed40d30230e9b8696a0e7e4e6fd43ce8dc
+DIST aqt-2.1.44.zip 1609295 BLAKE2B f0930dd6dc9d7e0ecbbda8d81b13cb6f4225e867826d30ae6662dbe9491fdd2b4824a184c95ea9ac7bdc26df0004e72e627a2fce8cc5bfcd2fc7f01d828aae46 SHA512 e6e967659043d02935ead51d51c4bba8346c0855c076863ed050761a5657b1f2e19a4fe0452cec8eba9460762b001d45add50ee4facb450d2a83355ce1fc1d25
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
new file mode 100644
index 000000000..8239276ea
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+inherit python-single-r1 desktop xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-2.1.44-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-2.1.44-py3-none-any.whl -> aqt-${PV}.zip
+ https://github.com/ankitects/anki/blob/2.1.44/qt/linux/anki.png
+"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-python/decorator
+ dev-python/protobuf-python
+ dev-python/orjson-bin
+ dev-python/distro
+ dev-python/beautifulsoup
+ dev-python/requests
+ dev-python/flask
+ dev-python/waitress
+ dev-python/send2trash
+ dev-python/markdown
+ dev-python/jsonschema
+ dev-python/flask-cors
+ dev-python/PyQt5
+ dev-python/PyQtWebEngine
+"
+RDEPEND="
+ ${DEPEND}
+ !appmisc/anki
+"
+BDEPEND="app-arch/unzip
+${PYTHON_DEPS}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ default
+}
+
+src_install() {
+ python_domodule anki
+ python_domodule anki-2.1.44.dist-info
+ python_domodule aqt
+ python_domodule aqt-${PV}.dist-info
+ printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
+ python_newscript runanki anki
+ doicon "${DISTDIR}"/anki.png
+ make_desktop_entry /usr/bin/anki Anki anki Education
+}
diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml
new file mode 100644
index 000000000..a266aaf9b
--- /dev/null
+++ b/app-misc/anki-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>shaoyu0209@tuta.io</email>
+ <name>Shaoyu Tseng</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">anki</remote-id>
+ <remote-id type="github">ankitects/anki</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-07-29 12:20 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-07-29 12:20 UTC (permalink / raw
To: gentoo-commits
commit: ff3a23e1530963c268a83b732b157b27fe445117
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Thu Jul 29 12:20:24 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Thu Jul 29 12:20:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff3a23e1
app-misc/anki-bin: fix typo in RDEPEND
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/anki-bin-2.1.44.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
index 8239276ea..88b00d606 100644
--- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
@@ -36,7 +36,7 @@ DEPEND="
"
RDEPEND="
${DEPEND}
- !appmisc/anki
+ !app-misc/anki
"
BDEPEND="app-arch/unzip
${PYTHON_DEPS}"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-07-30 9:11 Andrew Ammerlaan
0 siblings, 0 replies; 62+ messages in thread
From: Andrew Ammerlaan @ 2021-07-30 9:11 UTC (permalink / raw
To: gentoo-commits
commit: 1135ff0c05d433ee5fa30a24ae93ec1d9596732c
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 09:11:14 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 09:11:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1135ff0c
app-misc/anki-bin: fix python deps/requireduse, fix staticuri
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/anki-bin/anki-bin-2.1.44.ebuild | 44 +++++++++++++++++---------------
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
index 88b00d606..298ec65f7 100644
--- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
@@ -9,37 +9,39 @@ inherit python-single-r1 desktop xdg
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
HOMEPAGE="https://apps.ankiweb.net/"
SRC_URI="
- https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-2.1.44-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-2.1.44-py3-none-any.whl -> aqt-${PV}.zip
- https://github.com/ankitects/anki/blob/2.1.44/qt/linux/anki.png
+ https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ https://github.com/ankitects/anki/blob/${PV}/qt/linux/anki.png
"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
- dev-python/decorator
- dev-python/protobuf-python
- dev-python/orjson-bin
- dev-python/distro
- dev-python/beautifulsoup
- dev-python/requests
- dev-python/flask
- dev-python/waitress
- dev-python/send2trash
- dev-python/markdown
- dev-python/jsonschema
- dev-python/flask-cors
- dev-python/PyQt5
- dev-python/PyQtWebEngine
+ $(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/orjson-bin[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ ')
"
-RDEPEND="
- ${DEPEND}
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
!app-misc/anki
"
-BDEPEND="app-arch/unzip
-${PYTHON_DEPS}"
+BDEPEND="app-arch/unzip"
S="${WORKDIR}"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-07-30 9:27 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-07-30 9:27 UTC (permalink / raw
To: gentoo-commits
commit: 3d9c1c34cc1836bf5af2998576f26c8e465e38b8
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Fri Jul 30 09:26:33 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Fri Jul 30 09:26:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d9c1c34
app-misc/anki-bin: fix icon uri, simplify SRC_URI
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/Manifest | 2 +-
app-misc/anki-bin/anki-bin-2.1.44.ebuild | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 10dac22b7..589049b17 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,3 @@
DIST anki-bin-2.1.44.zip 8421027 BLAKE2B 56ac58ac7a8a10487e28124512e31687cfda98899ba3ac23152155f8a478326be23974f1efe576c973096cbe063c8143129ac4a886265cb39545f67193d2cc37 SHA512 73a3bf5760830c622914d9da76f8c772ab4ef97bfd784d726b16cdbbfd1f0ed41724f6b9611bc365b44d656269d63c0254e062ad589b13261a9d9a0553211620
-DIST anki.png 110645 BLAKE2B 77fe1612016dcb6079c5d33e0c8124c9e3a07a7297f27d0ea16923628a687f14386173721eb87c60efd3d70b442984b297794c924e019602cf1810d6079811d0 SHA512 daf63cb585a080350f6eee9c447d13cae1e576341df8843810279a3cabb442ab2d69ad409a138f8b5ace9c1485e373ed40d30230e9b8696a0e7e4e6fd43ce8dc
+DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.44.zip 1609295 BLAKE2B f0930dd6dc9d7e0ecbbda8d81b13cb6f4225e867826d30ae6662dbe9491fdd2b4824a184c95ea9ac7bdc26df0004e72e627a2fce8cc5bfcd2fc7f01d828aae46 SHA512 e6e967659043d02935ead51d51c4bba8346c0855c076863ed050761a5657b1f2e19a4fe0452cec8eba9460762b001d45add50ee4facb450d2a83355ce1fc1d25
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
index 298ec65f7..4bf2c272b 100644
--- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild
@@ -6,12 +6,13 @@ EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
inherit python-single-r1 desktop xdg
+MY_PN=${PN%-bin}
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
HOMEPAGE="https://apps.ankiweb.net/"
SRC_URI="
- https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- https://github.com/ankitects/anki/blob/${PV}/qt/linux/anki.png
+ https://files.pythonhosted.org/packages/cp38/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
"
LICENSE="AGPL-3"
@@ -20,7 +21,7 @@ KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
- $(python_gen_cond_dep '
+$(python_gen_cond_dep '
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/orjson-bin[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-07-31 8:17 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-07-31 8:17 UTC (permalink / raw
To: gentoo-commits
commit: 13e25b6425dec0cc05cfdb399ae70058844e5a42
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Sat Jul 31 08:17:23 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Sat Jul 31 08:17:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13e25b64
app-misc/anki-bin: bump to 2.1.45
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/Manifest | 4 ++--
app-misc/anki-bin/{anki-bin-2.1.44.ebuild => anki-bin-2.1.45.ebuild} | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 589049b17..21c429148 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,3 @@
-DIST anki-bin-2.1.44.zip 8421027 BLAKE2B 56ac58ac7a8a10487e28124512e31687cfda98899ba3ac23152155f8a478326be23974f1efe576c973096cbe063c8143129ac4a886265cb39545f67193d2cc37 SHA512 73a3bf5760830c622914d9da76f8c772ab4ef97bfd784d726b16cdbbfd1f0ed41724f6b9611bc365b44d656269d63c0254e062ad589b13261a9d9a0553211620
+DIST anki-bin-2.1.45.zip 9818734 BLAKE2B e57089b4349bb301b61422296f99ace07de3392e40ebac509065a461666687abcf032782ac710a0e4ca5f4580b6adfa74021e3097c7b1e58325827f5f7d05bca SHA512 61693584126c47594d4ce31fb66d0ee1a4a8b96e680cd73ed8332633215ea6b540d68670d90e675b971ee84b3c4466c2dd1755ccef2e62a0850e3a209ee712ff
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.44.zip 1609295 BLAKE2B f0930dd6dc9d7e0ecbbda8d81b13cb6f4225e867826d30ae6662dbe9491fdd2b4824a184c95ea9ac7bdc26df0004e72e627a2fce8cc5bfcd2fc7f01d828aae46 SHA512 e6e967659043d02935ead51d51c4bba8346c0855c076863ed050761a5657b1f2e19a4fe0452cec8eba9460762b001d45add50ee4facb450d2a83355ce1fc1d25
+DIST aqt-2.1.45.zip 2180840 BLAKE2B 1c7e49e47ab5ea84402e22b420c744b255a533fc8d7fa53476f03aa290e079261b7c29d1d1ebf925549f48769362876ebf2cc9dc227aab0e6d870ac2789a6382 SHA512 bc731e62219e3031559b61e546ca9856bfc9c637bbe5b983dd29f95493f8d62f995760a0ede79eb0f153f3627a8a5531a832b096025f21f8ee23f68210f31d15
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.45.ebuild
similarity index 95%
rename from app-misc/anki-bin/anki-bin-2.1.44.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.45.ebuild
index 4bf2c272b..5e7a73272 100644
--- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.45.ebuild
@@ -36,6 +36,7 @@ $(python_gen_cond_dep '
dev-python/flask-cors[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}
@@ -52,7 +53,7 @@ src_unpack() {
src_install() {
python_domodule anki
- python_domodule anki-2.1.44.dist-info
+ python_domodule anki-${PV}.dist-info
python_domodule aqt
python_domodule aqt-${PV}.dist-info
printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-08-08 3:51 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-08-08 3:51 UTC (permalink / raw
To: gentoo-commits
commit: 79dd97ffd4572c44a434cb60abb1dbfa6ebbbc1d
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Sun Aug 8 02:54:43 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Sun Aug 8 02:54:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79dd97ff
app-misc/anki-bin: add QA_PREBUILT
Closes: https://bugs.gentoo.org/805242
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/anki-bin-2.1.45.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/anki-bin/anki-bin-2.1.45.ebuild b/app-misc/anki-bin/anki-bin-2.1.45.ebuild
index 5e7a73272..c0a593e6c 100644
--- a/app-misc/anki-bin/anki-bin-2.1.45.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.45.ebuild
@@ -20,6 +20,7 @@ SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+QA_PREBUILT="usr/lib/*"
DEPEND="
$(python_gen_cond_dep '
dev-python/decorator[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2021-10-17 16:23 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2021-10-17 16:23 UTC (permalink / raw
To: gentoo-commits
commit: 9cd808d3e0177e8fbe23f73958a5b310ebec211d
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Sun Oct 17 16:23:15 2021 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Sun Oct 17 16:23:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cd808d3
app-misc/anki-bin: bump version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/Manifest | 4 ++--
app-misc/anki-bin/{anki-bin-2.1.45.ebuild => anki-bin-2.1.48.ebuild} | 0
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 21c429148..5782bb912 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,3 @@
-DIST anki-bin-2.1.45.zip 9818734 BLAKE2B e57089b4349bb301b61422296f99ace07de3392e40ebac509065a461666687abcf032782ac710a0e4ca5f4580b6adfa74021e3097c7b1e58325827f5f7d05bca SHA512 61693584126c47594d4ce31fb66d0ee1a4a8b96e680cd73ed8332633215ea6b540d68670d90e675b971ee84b3c4466c2dd1755ccef2e62a0850e3a209ee712ff
+DIST anki-bin-2.1.48.zip 9859301 BLAKE2B 400bf592368aa55fd2588eb5309a4b9ebae89696d38eff8eff640e8edf33de4e0b534c5e7f93995e6c8635b455834f047cd5710a7891121f2e3a17e45f9b29f8 SHA512 98021eb7b031c6880a250015184ac668dbbd32e295bdb0cc442c7206436e0857b8b0d92ca2f4062a1d30399326868612d2302ef3ba50d26b33ec93191e526e8c
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.45.zip 2180840 BLAKE2B 1c7e49e47ab5ea84402e22b420c744b255a533fc8d7fa53476f03aa290e079261b7c29d1d1ebf925549f48769362876ebf2cc9dc227aab0e6d870ac2789a6382 SHA512 bc731e62219e3031559b61e546ca9856bfc9c637bbe5b983dd29f95493f8d62f995760a0ede79eb0f153f3627a8a5531a832b096025f21f8ee23f68210f31d15
+DIST aqt-2.1.48.zip 2199590 BLAKE2B e519d03d3145e52770dcde0f7f5ca7951740656bfbe2740a00126569b34f2c09984b47f38a2fab80bd36d763d0e1d9230b3ccbfd186fa12cb77fa186f2b49bb0 SHA512 851a374b91d7a4ff4ef3c53db9da969bf8e3abd4d93bc34e8240205197fb7e04f21da898c160b00e373bc84659b4f29c47ad5e14850a84ae4e73098a6aea6160
diff --git a/app-misc/anki-bin/anki-bin-2.1.45.ebuild b/app-misc/anki-bin/anki-bin-2.1.48.ebuild
similarity index 100%
rename from app-misc/anki-bin/anki-bin-2.1.45.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.48.ebuild
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-03-28 19:52 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2022-03-28 19:52 UTC (permalink / raw
To: gentoo-commits
commit: e498a9ca622f6533e2543086bf48c823c1930503
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
AuthorDate: Mon Mar 28 19:52:17 2022 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Mon Mar 28 19:52:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e498a9ca
app-misc/anki-bin: bump version
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io>
app-misc/anki-bin/Manifest | 4 ++--
app-misc/anki-bin/{anki-bin-2.1.48.ebuild => anki-bin-2.1.49.ebuild} | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 5782bb912..bbbc8340c 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,3 @@
-DIST anki-bin-2.1.48.zip 9859301 BLAKE2B 400bf592368aa55fd2588eb5309a4b9ebae89696d38eff8eff640e8edf33de4e0b534c5e7f93995e6c8635b455834f047cd5710a7891121f2e3a17e45f9b29f8 SHA512 98021eb7b031c6880a250015184ac668dbbd32e295bdb0cc442c7206436e0857b8b0d92ca2f4062a1d30399326868612d2302ef3ba50d26b33ec93191e526e8c
+DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.48.zip 2199590 BLAKE2B e519d03d3145e52770dcde0f7f5ca7951740656bfbe2740a00126569b34f2c09984b47f38a2fab80bd36d763d0e1d9230b3ccbfd186fa12cb77fa186f2b49bb0 SHA512 851a374b91d7a4ff4ef3c53db9da969bf8e3abd4d93bc34e8240205197fb7e04f21da898c160b00e373bc84659b4f29c47ad5e14850a84ae4e73098a6aea6160
+DIST aqt-2.1.49.zip 2199372 BLAKE2B 319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7 SHA512 65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0
diff --git a/app-misc/anki-bin/anki-bin-2.1.48.ebuild b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
similarity index 97%
rename from app-misc/anki-bin/anki-bin-2.1.48.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.49.ebuild
index deb08be1c..53b3ecbe6 100644
--- a/app-misc/anki-bin/anki-bin-2.1.48.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-09-16 0:50 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2022-09-16 0:50 UTC (permalink / raw
To: gentoo-commits
commit: 666fded28c51537b5d4bc1baa628b6e579cb8165
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Sep 16 00:42:26 2022 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Sep 16 00:45:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=666fded2
app-misc/anki-bin: add 2.1.54
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 2 +
app-misc/anki-bin/anki-bin-2.1.54.ebuild | 64 ++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index bbbc8340c..8075610b3 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,3 +1,5 @@
DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
+DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.49.zip 2199372 BLAKE2B 319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7 SHA512 65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0
+DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
new file mode 100644
index 000000000..388a9e9c3
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
+"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/orjson-bin[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ default
+}
+
+src_install() {
+ python_domodule anki
+ python_domodule anki-${PV}.dist-info
+ python_domodule aqt
+ python_domodule aqt-${PV}.dist-info
+ printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
+ python_newscript runanki anki
+ doicon "${DISTDIR}"/anki.png
+ make_desktop_entry /usr/bin/anki Anki anki Education
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-09-18 4:37 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2022-09-18 4:37 UTC (permalink / raw
To: gentoo-commits
commit: b82dce7250b37f95640639873d53165e350653b4
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 18 04:02:40 2022 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 18 04:34:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b82dce72
app-misc/anki-bin: update icon URL
Closes: https://bugs.gentoo.org/870688
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 1 +
app-misc/anki-bin/anki-bin-2.1.54.ebuild | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 8075610b3..709f07855 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,4 +1,5 @@
DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
+DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.49.zip 2199372 BLAKE2B 319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7 SHA512 65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0
diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
index 388a9e9c3..ec35b0130 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://apps.ankiweb.net/"
SRC_URI="
https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
+ https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png
"
LICENSE="AGPL-3"
@@ -59,6 +59,6 @@ src_install() {
python_domodule aqt-${PV}.dist-info
printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
python_newscript runanki anki
- doicon "${DISTDIR}"/anki.png
+ newicon "${DISTDIR}"/${P}.png ${MY_PN}.png
make_desktop_entry /usr/bin/anki Anki anki Education
}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-09-18 4:37 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2022-09-18 4:37 UTC (permalink / raw
To: gentoo-commits
commit: fffbe2d8bbcb01711dcbc7c62b232877ce7cd5d9
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 18 04:11:29 2022 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 18 04:34:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fffbe2d8
app-misc/anki-bin: update to EAPI 8, drop Python 3.8 support, update .desktop file, add man page
We are fetching a Python 3.9 wheel.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 2 +
app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild | 68 +++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 709f07855..23778d40d 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,4 +1,6 @@
DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
+DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
diff --git a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
new file mode 100644
index 000000000..bc3edd17e
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/orjson-bin[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${P}.zip aqt-${PV}.zip
+}
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-11-28 10:10 Jack Sangdahl
0 siblings, 0 replies; 62+ messages in thread
From: Jack Sangdahl @ 2022-11-28 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 35ec680388ea396c7cfb15f7168d9a74e905c2f8
Author: Jack Sangdahl <0x6A73 <AT> pm <DOT> me>
AuthorDate: Mon Nov 28 10:07:51 2022 +0000
Commit: Jack Sangdahl <0x6A73 <AT> pm <DOT> me>
CommitDate: Mon Nov 28 10:07:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35ec6803
app-misc/anki-bin: python 3.10
Signed-off-by: Jack Sangdahl <0x6A73 <AT> pm.me>
app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild | 2 +-
app-misc/anki-bin/anki-bin-2.1.54.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
index bc3edd17e..37b482975 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_9 )
+PYTHON_COMPAT=( python3_{9..10} )
inherit python-single-r1 desktop xdg
MY_PN=${PN%-bin}
diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
index ec35b0130..ec2fa578e 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{9..10} )
inherit python-single-r1 desktop xdg
MY_PN=${PN%-bin}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-11-28 18:59 Jack Sangdahl
0 siblings, 0 replies; 62+ messages in thread
From: Jack Sangdahl @ 2022-11-28 18:59 UTC (permalink / raw
To: gentoo-commits
commit: eebc64cc99bcb01884989c037bbbc6029202ec39
Author: Jack Sangdahl <0x6A73 <AT> pm <DOT> me>
AuthorDate: Mon Nov 28 18:56:09 2022 +0000
Commit: Jack Sangdahl <0x6A73 <AT> pm <DOT> me>
CommitDate: Mon Nov 28 18:56:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eebc64cc
app-misc/anki-bin: revert 35ec68038 (python 3.10)
no cp310 wheel available it seems
Signed-off-by: Jack Sangdahl <0x6A73 <AT> pm.me>
app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild | 2 +-
app-misc/anki-bin/anki-bin-2.1.54.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
index 37b482975..bc3edd17e 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_9 )
inherit python-single-r1 desktop xdg
MY_PN=${PN%-bin}
diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
index ec2fa578e..ec35b0130 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{8,9} )
inherit python-single-r1 desktop xdg
MY_PN=${PN%-bin}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-12-30 2:45 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2022-12-30 2:45 UTC (permalink / raw
To: gentoo-commits
commit: fbb500a6f41bc04e9af236deae98bdcea050001f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Dec 30 02:27:20 2022 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Dec 30 02:27:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fbb500a6
app-misc/anki-bin: drop 2.1.49, 2.1.54
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 3 --
app-misc/anki-bin/anki-bin-2.1.49.ebuild | 64 --------------------------------
app-misc/anki-bin/anki-bin-2.1.54.ebuild | 64 --------------------------------
3 files changed, 131 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 23778d40d..6955b7434 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,8 +1,5 @@
-DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
-DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.49.zip 2199372 BLAKE2B 319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7 SHA512 65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0
DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
diff --git a/app-misc/anki-bin/anki-bin-2.1.49.ebuild b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
deleted file mode 100644
index 53b3ecbe6..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.49.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp38/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
-"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/orjson-bin[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- default
-}
-
-src_install() {
- python_domodule anki
- python_domodule anki-${PV}.dist-info
- python_domodule aqt
- python_domodule aqt-${PV}.dist-info
- printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
- python_newscript runanki anki
- doicon "${DISTDIR}"/anki.png
- make_desktop_entry /usr/bin/anki Anki anki Education
-}
diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
deleted file mode 100644
index ec35b0130..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png
-"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/orjson-bin[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- default
-}
-
-src_install() {
- python_domodule anki
- python_domodule anki-${PV}.dist-info
- python_domodule aqt
- python_domodule aqt-${PV}.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
- make_desktop_entry /usr/bin/anki Anki anki Education
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2022-12-30 2:45 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2022-12-30 2:45 UTC (permalink / raw
To: gentoo-commits
commit: 344ed88698c92ba8383fd8bd6a4416f6228dc2d5
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Dec 30 02:37:36 2022 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Dec 30 02:43:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=344ed886
app-misc/anki-bin: add 2.1.55
Remove dependency on "orjson" as it's (still) optional in the code.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 +++
app-misc/anki-bin/anki-bin-2.1.55.ebuild | 67 ++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 6955b7434..e5b45747b 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -2,4 +2,9 @@ DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75d
DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
+DIST anki-bin-2.1.55.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.55.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.55.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.55.zip 11808071 BLAKE2B 0bb5435dca29a85ea6edee620005e2a17bd8259b288fd016aaaa91dbce3b676dc881b3be9bd10ee0f8601da63b4da34c8c229996961bdca61b64b48e063f9040 SHA512 87e5a220ca7714020a25937d581eddcfe5f11a6064410104d312e02b8fd133ab71e75578ab1e5b2abed6f58a0ecc105b26dfcdc6146d9e804e46df769c7acafb
DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
+DIST aqt-2.1.55.zip 6224720 BLAKE2B 9daee99763714a9d2abcb800b5409ac18005464936280239022c65c5d6d2466d7a3043b6c189798538f16b16ebbd8db7961b02e29d9fc413b57da6ded0921e34 SHA512 1de8a9990f26a39f953f118609e1919f49a79b474d8b9a0f121b8de6211599e6aa5a854a8061ddb7db161da774323bf4d3fbc9fe47005eb77ef39bb258785b2d
diff --git a/app-misc/anki-bin/anki-bin-2.1.55.ebuild b/app-misc/anki-bin/anki-bin-2.1.55.ebuild
new file mode 100644
index 000000000..d3b4b3b9b
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.55.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${P}.zip aqt-${PV}.zip
+}
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-01-10 2:40 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2023-01-10 2:40 UTC (permalink / raw
To: gentoo-commits
commit: 761c4f6f0facb296db97318f5e82ea5b6c7a346c
Author: Shaoyu Tseng <1over137 <AT> anche <DOT> no>
AuthorDate: Tue Jan 10 02:40:29 2023 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Tue Jan 10 02:40:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=761c4f6f
app-misc/anki-bin: add 2.1.56, drop 2.1.55
Signed-off-by: Shaoyu Tseng <1over137 <AT> anche.no>
app-misc/anki-bin/Manifest | 10 +++++-----
.../{anki-bin-2.1.55.ebuild => anki-bin-2.1.56.ebuild} | 0
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index e5b45747b..2276ffe15 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -2,9 +2,9 @@ DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75d
DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
-DIST anki-bin-2.1.55.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.55.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.55.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.55.zip 11808071 BLAKE2B 0bb5435dca29a85ea6edee620005e2a17bd8259b288fd016aaaa91dbce3b676dc881b3be9bd10ee0f8601da63b4da34c8c229996961bdca61b64b48e063f9040 SHA512 87e5a220ca7714020a25937d581eddcfe5f11a6064410104d312e02b8fd133ab71e75578ab1e5b2abed6f58a0ecc105b26dfcdc6146d9e804e46df769c7acafb
+DIST anki-bin-2.1.56.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.56.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.56.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.56.zip 11902907 BLAKE2B bb65bcc1dc2b926d35698f5cf66cda485c79a3cf875ceeee5755b06060971a485da2d7327d95477cf7e10479e25a941104b347ab8d4227cd90c4f5dc74754768 SHA512 dee3867a782685c21b1962cd0eecf4217f0cefb9134904bd7da7d30294943da38cda473402738706530650dc041a83fe1dfd88420763f9324ae259bd0535daea
DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
-DIST aqt-2.1.55.zip 6224720 BLAKE2B 9daee99763714a9d2abcb800b5409ac18005464936280239022c65c5d6d2466d7a3043b6c189798538f16b16ebbd8db7961b02e29d9fc413b57da6ded0921e34 SHA512 1de8a9990f26a39f953f118609e1919f49a79b474d8b9a0f121b8de6211599e6aa5a854a8061ddb7db161da774323bf4d3fbc9fe47005eb77ef39bb258785b2d
+DIST aqt-2.1.56.zip 6252046 BLAKE2B a4a6870aba14a91f49b82114d535ce00ff2e4dcd8893fa59c3a0749eba87bf0a4414b20aa98e1fe31b01a7a6515a5473e4f536dbe07b875112553ef61970dfcf SHA512 240f6e69582be929841f94c94d7be227b1301d212935dbad6164bec58eb399fe5a0a725609d43eb17ab9d0c1442d61f5e94badd8698a04e2f2d664384afe094d
diff --git a/app-misc/anki-bin/anki-bin-2.1.55.ebuild b/app-misc/anki-bin/anki-bin-2.1.56.ebuild
similarity index 100%
rename from app-misc/anki-bin/anki-bin-2.1.55.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.56.ebuild
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-01-14 16:35 Ran Rutenberg
0 siblings, 0 replies; 62+ messages in thread
From: Ran Rutenberg @ 2023-01-14 16:35 UTC (permalink / raw
To: gentoo-commits
commit: d58867e53d6058b5d9ba775b71e49fdcf8acfcea
Author: Ran Rutenberg <ran.rutenberg <AT> gmail <DOT> com>
AuthorDate: Sat Jan 14 16:31:28 2023 +0000
Commit: Ran Rutenberg <ran.rutenberg <AT> gmail <DOT> com>
CommitDate: Sat Jan 14 16:31:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d58867e5
app-misc/anki-bin:
Signed-off-by: Ran Rutenberg <ran.rutenberg <AT> gmail.com>
Add python compatabilty for 3.10
app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild | 67 +++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
new file mode 100644
index 000000000..16bedab74
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 python3_10 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${P}.zip aqt-${PV}.zip
+}
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-01-14 19:22 Ran Rutenberg
0 siblings, 0 replies; 62+ messages in thread
From: Ran Rutenberg @ 2023-01-14 19:22 UTC (permalink / raw
To: gentoo-commits
commit: 6d8469a5e25705911e04830d8e0db5b5ed2d72b5
Author: Ran Rutenberg <ran.rutenberg <AT> gmail <DOT> com>
AuthorDate: Sat Jan 14 19:20:27 2023 +0000
Commit: Ran Rutenberg <ran.rutenberg <AT> gmail <DOT> com>
CommitDate: Sat Jan 14 19:22:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d8469a5
app-misc/anki-bin: add a comment regarding python 3.10 compatability
Signed-off-by: Ran Rutenberg <ran.rutenberg <AT> gmail.com>
app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
index 16bedab74..3a105afdb 100644
--- a/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
@@ -3,6 +3,11 @@
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 was tested on a limited number of machines and is not gurenteed to work.
+
PYTHON_COMPAT=( python3_9 python3_10 )
inherit python-single-r1 desktop xdg
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-01-29 19:41 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-01-29 19:41 UTC (permalink / raw
To: gentoo-commits
commit: e3a6f2a5327e8e5c3879b439f44ad89e484044e3
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Jan 29 19:33:31 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jan 29 19:38:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3a6f2a5
app-misc/anki-bin: add 2.1.57
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 +++
app-misc/anki-bin/anki-bin-2.1.57.ebuild | 68 ++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 2276ffe15..6d4ea3831 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -6,5 +6,10 @@ DIST anki-bin-2.1.56.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75d
DIST anki-bin-2.1.56.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.56.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.56.zip 11902907 BLAKE2B bb65bcc1dc2b926d35698f5cf66cda485c79a3cf875ceeee5755b06060971a485da2d7327d95477cf7e10479e25a941104b347ab8d4227cd90c4f5dc74754768 SHA512 dee3867a782685c21b1962cd0eecf4217f0cefb9134904bd7da7d30294943da38cda473402738706530650dc041a83fe1dfd88420763f9324ae259bd0535daea
+DIST anki-bin-2.1.57.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.57.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.57.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.57.zip 12827095 BLAKE2B 590c3767fdee4063e35d3b9e5cba1a08eee6ce11f3790aca7a207ee785599245b58cafee86a7045f0ecfe6dabab578b7c0d98b6f95650d2ad8dc05b139851090 SHA512 0d228af16a3b4dfd14f6ce4f46c0d984668eac0853596f039af6d701f5135f023ac9cb6688b6614ab23b81c960c9ffdb1f059fbebb950680291a9cb9ef73bc94
DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
DIST aqt-2.1.56.zip 6252046 BLAKE2B a4a6870aba14a91f49b82114d535ce00ff2e4dcd8893fa59c3a0749eba87bf0a4414b20aa98e1fe31b01a7a6515a5473e4f536dbe07b875112553ef61970dfcf SHA512 240f6e69582be929841f94c94d7be227b1301d212935dbad6164bec58eb399fe5a0a725609d43eb17ab9d0c1442d61f5e94badd8698a04e2f2d664384afe094d
+DIST aqt-2.1.57.zip 6269844 BLAKE2B a8863be1192180f34544df522a6bb69e96968525f0c839ba217cbb360aa06624cd2e0f4fc67559e77dfef4d0ad76c91352b6c210e4f2c39c33733a48785acc89 SHA512 6532a0c59ae2e3e041558c758a57e5b6b19ec11afb63755dda04cc55eb6a30a363d2ede88754e4825f3bddc4dd30b11be33155d5a99c4021d30d6d54d1b8c130
diff --git a/app-misc/anki-bin/anki-bin-2.1.57.ebuild b/app-misc/anki-bin/anki-bin-2.1.57.ebuild
new file mode 100644
index 000000000..1451071ca
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.57.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2021-2022 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 was tested on a limited number of machines and is not gurenteed to work.
+
+PYTHON_COMPAT=( python3_9 python3_10 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-01-29 19:41 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-01-29 19:41 UTC (permalink / raw
To: gentoo-commits
commit: 9cf1e52963fd666fc2848c2573afa5b84ddc25fa
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Jan 29 19:35:19 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jan 29 19:38:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cf1e529
app-misc/anki-bin: drop 2.1.54-r1, 2.1.56, 2.1.56-r1
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 10 ----
app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild | 68 ---------------------------
app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild | 72 -----------------------------
app-misc/anki-bin/anki-bin-2.1.56.ebuild | 67 ---------------------------
4 files changed, 217 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 6d4ea3831..d51196767 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,15 +1,5 @@
-DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
-DIST anki-bin-2.1.56.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.56.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.56.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.56.zip 11902907 BLAKE2B bb65bcc1dc2b926d35698f5cf66cda485c79a3cf875ceeee5755b06060971a485da2d7327d95477cf7e10479e25a941104b347ab8d4227cd90c4f5dc74754768 SHA512 dee3867a782685c21b1962cd0eecf4217f0cefb9134904bd7da7d30294943da38cda473402738706530650dc041a83fe1dfd88420763f9324ae259bd0535daea
DIST anki-bin-2.1.57.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.57.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.57.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.57.zip 12827095 BLAKE2B 590c3767fdee4063e35d3b9e5cba1a08eee6ce11f3790aca7a207ee785599245b58cafee86a7045f0ecfe6dabab578b7c0d98b6f95650d2ad8dc05b139851090 SHA512 0d228af16a3b4dfd14f6ce4f46c0d984668eac0853596f039af6d701f5135f023ac9cb6688b6614ab23b81c960c9ffdb1f059fbebb950680291a9cb9ef73bc94
-DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
-DIST aqt-2.1.56.zip 6252046 BLAKE2B a4a6870aba14a91f49b82114d535ce00ff2e4dcd8893fa59c3a0749eba87bf0a4414b20aa98e1fe31b01a7a6515a5473e4f536dbe07b875112553ef61970dfcf SHA512 240f6e69582be929841f94c94d7be227b1301d212935dbad6164bec58eb399fe5a0a725609d43eb17ab9d0c1442d61f5e94badd8698a04e2f2d664384afe094d
DIST aqt-2.1.57.zip 6269844 BLAKE2B a8863be1192180f34544df522a6bb69e96968525f0c839ba217cbb360aa06624cd2e0f4fc67559e77dfef4d0ad76c91352b6c210e4f2c39c33733a48785acc89 SHA512 6532a0c59ae2e3e041558c758a57e5b6b19ec11afb63755dda04cc55eb6a30a363d2ede88754e4825f3bddc4dd30b11be33155d5a99c4021d30d6d54d1b8c130
diff --git a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
deleted file mode 100644
index bc3edd17e..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.54-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_9 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/orjson-bin[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- unpack ${P}.zip aqt-${PV}.zip
-}
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info aqt aqt-${PV}.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
-}
diff --git a/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild b/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
deleted file mode 100644
index 3a105afdb..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.56-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2021-2022 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 was tested on a limited number of machines and is not gurenteed to work.
-
-PYTHON_COMPAT=( python3_9 python3_10 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- unpack ${P}.zip aqt-${PV}.zip
-}
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
diff --git a/app-misc/anki-bin/anki-bin-2.1.56.ebuild b/app-misc/anki-bin/anki-bin-2.1.56.ebuild
deleted file mode 100644
index d3b4b3b9b..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.56.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_9 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- unpack ${P}.zip aqt-${PV}.zip
-}
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-02-21 0:56 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-02-21 0:56 UTC (permalink / raw
To: gentoo-commits
commit: 65d1aaf69a51ec4f429cba522fc2d42b48bd7dd6
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Feb 21 00:56:13 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue Feb 21 00:56:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65d1aaf6
app-misc/anki-bin: add 2.1.58
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 +++
app-misc/anki-bin/anki-bin-2.1.58.ebuild | 68 ++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index d51196767..9cc2c5e0a 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -2,4 +2,9 @@ DIST anki-bin-2.1.57.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75d
DIST anki-bin-2.1.57.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.57.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.57.zip 12827095 BLAKE2B 590c3767fdee4063e35d3b9e5cba1a08eee6ce11f3790aca7a207ee785599245b58cafee86a7045f0ecfe6dabab578b7c0d98b6f95650d2ad8dc05b139851090 SHA512 0d228af16a3b4dfd14f6ce4f46c0d984668eac0853596f039af6d701f5135f023ac9cb6688b6614ab23b81c960c9ffdb1f059fbebb950680291a9cb9ef73bc94
+DIST anki-bin-2.1.58.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.58.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.58.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.58.zip 12842522 BLAKE2B 163039131fcaa19f8a2cd1da242f79d26a3822011182ea1edfa76a336826a95da0b7db99d7ae4e84c93dbb65ca61816403f0dd53130a45e53cfca957c9cdb01d SHA512 ebacfa4cc15775be295505853ca3be18d5fa2b4e869e7945a8a669929c8a6ecd4f21c380544c2f425603dc571bfec7102ad112548d56dbf981754b324b544521
DIST aqt-2.1.57.zip 6269844 BLAKE2B a8863be1192180f34544df522a6bb69e96968525f0c839ba217cbb360aa06624cd2e0f4fc67559e77dfef4d0ad76c91352b6c210e4f2c39c33733a48785acc89 SHA512 6532a0c59ae2e3e041558c758a57e5b6b19ec11afb63755dda04cc55eb6a30a363d2ede88754e4825f3bddc4dd30b11be33155d5a99c4021d30d6d54d1b8c130
+DIST aqt-2.1.58.zip 6274492 BLAKE2B d81c37992673596a963a6136656d16b39d155bffc711dd2c244c407622a404c845719c6d704871aa39e9d45db73b8164f4785a2842add1437162c5a4891eab87 SHA512 330494c9d75c73b43b5bf9301f996b167cd4477bf36909b2f8410bb3ceae759b5a8f0a747428206198b770e6840968ebf98fb7a00ec86d004f78efc152824bb5
diff --git a/app-misc/anki-bin/anki-bin-2.1.58.ebuild b/app-misc/anki-bin/anki-bin-2.1.58.ebuild
new file mode 100644
index 000000000..d7e426181
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.58.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2021-2022 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 was tested on a limited number of machines and is not guaranteed to work.
+
+PYTHON_COMPAT=( python3_9 python3_10 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-02-22 16:51 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-02-22 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 0981f2a71cf15ed856ed07e2c92afb3f5fb0a907
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Feb 22 16:34:54 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Feb 22 16:47:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0981f2a7
app-misc/anki-bin: add 2.1.60
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 +++
app-misc/anki-bin/anki-bin-2.1.60.ebuild | 64 ++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 9cc2c5e0a..30f7b00ac 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -6,5 +6,10 @@ DIST anki-bin-2.1.58.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75d
DIST anki-bin-2.1.58.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.58.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.58.zip 12842522 BLAKE2B 163039131fcaa19f8a2cd1da242f79d26a3822011182ea1edfa76a336826a95da0b7db99d7ae4e84c93dbb65ca61816403f0dd53130a45e53cfca957c9cdb01d SHA512 ebacfa4cc15775be295505853ca3be18d5fa2b4e869e7945a8a669929c8a6ecd4f21c380544c2f425603dc571bfec7102ad112548d56dbf981754b324b544521
+DIST anki-bin-2.1.60.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.60.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.60.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.60.zip 12847675 BLAKE2B 5373f317ea6b7687063308556c7eff8d99746ed3f1ab6f4a1d33d1da1b2037f803875c547d13c4aa3bcdd98127ab49510d5e4fef2a73172ce7c72d48953311cc SHA512 7dcce0a5741c683eda84fc52478740c8775935e43cd3a5a7fc662326724d3d73491e4e078e6429ecd3bfa45644aa38e1254228db6f84a9f68301940b2113ebf4
DIST aqt-2.1.57.zip 6269844 BLAKE2B a8863be1192180f34544df522a6bb69e96968525f0c839ba217cbb360aa06624cd2e0f4fc67559e77dfef4d0ad76c91352b6c210e4f2c39c33733a48785acc89 SHA512 6532a0c59ae2e3e041558c758a57e5b6b19ec11afb63755dda04cc55eb6a30a363d2ede88754e4825f3bddc4dd30b11be33155d5a99c4021d30d6d54d1b8c130
DIST aqt-2.1.58.zip 6274492 BLAKE2B d81c37992673596a963a6136656d16b39d155bffc711dd2c244c407622a404c845719c6d704871aa39e9d45db73b8164f4785a2842add1437162c5a4891eab87 SHA512 330494c9d75c73b43b5bf9301f996b167cd4477bf36909b2f8410bb3ceae759b5a8f0a747428206198b770e6840968ebf98fb7a00ec86d004f78efc152824bb5
+DIST aqt-2.1.60.zip 6277087 BLAKE2B 9183b9a0ada043ba2d2c762772d872afc4aa49dfb4dc79931818c26c51be9741fcba5706f6a4e8e591a3ec8a68bb7c98e858793ba1e6aab8172e0aaaa90da5f9 SHA512 51db34d6dc8aef7e466826e8f67df41558379011abc8a20c17a991dc583681952e8769141d81563bfa960f08347ad91e262a0f67c57e03ae1b584d1600cab269
diff --git a/app-misc/anki-bin/anki-bin-2.1.60.ebuild b/app-misc/anki-bin/anki-bin-2.1.60.ebuild
new file mode 100644
index 000000000..17a598450
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.60.ebuild
@@ -0,0 +1,64 @@
+# 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 was tested on a limited number of machines and is not guaranteed to work.
+
+PYTHON_COMPAT=( python3_9 python3_10 )
+inherit python-single-r1 desktop xdg
+
+MY_PN=${PN%-bin}
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/"
+SRC_URI="
+ https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
+ 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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-02-22 16:51 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-02-22 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 964a82d8da60791c97c5bf02e0e8b25bf10694b6
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Feb 22 14:17:30 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Feb 22 16:47:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=964a82d8
app-misc/anki-bin: update metadata.xml DTD to https
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml
index a3cf6e209..ac2ebcfc8 100644
--- a/app-misc/anki-bin/metadata.xml
+++ b/app-misc/anki-bin/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>1over137@anche.no</email>
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-03-31 22:08 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-03-31 22:08 UTC (permalink / raw
To: gentoo-commits
commit: 591e7df1ab971c013b02b0ed92b7ab4548089708
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Mar 31 21:58:32 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Mar 31 22:05:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=591e7df1
app-misc/anki-bin: drop 2.1.57, 2.1.58
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 10 -----
app-misc/anki-bin/anki-bin-2.1.57.ebuild | 68 --------------------------------
app-misc/anki-bin/anki-bin-2.1.58.ebuild | 68 --------------------------------
3 files changed, 146 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 30f7b00ac..73db6b12e 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,15 +1,5 @@
-DIST anki-bin-2.1.57.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.57.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.57.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.57.zip 12827095 BLAKE2B 590c3767fdee4063e35d3b9e5cba1a08eee6ce11f3790aca7a207ee785599245b58cafee86a7045f0ecfe6dabab578b7c0d98b6f95650d2ad8dc05b139851090 SHA512 0d228af16a3b4dfd14f6ce4f46c0d984668eac0853596f039af6d701f5135f023ac9cb6688b6614ab23b81c960c9ffdb1f059fbebb950680291a9cb9ef73bc94
-DIST anki-bin-2.1.58.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.58.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.58.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.58.zip 12842522 BLAKE2B 163039131fcaa19f8a2cd1da242f79d26a3822011182ea1edfa76a336826a95da0b7db99d7ae4e84c93dbb65ca61816403f0dd53130a45e53cfca957c9cdb01d SHA512 ebacfa4cc15775be295505853ca3be18d5fa2b4e869e7945a8a669929c8a6ecd4f21c380544c2f425603dc571bfec7102ad112548d56dbf981754b324b544521
DIST anki-bin-2.1.60.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.60.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.60.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.60.zip 12847675 BLAKE2B 5373f317ea6b7687063308556c7eff8d99746ed3f1ab6f4a1d33d1da1b2037f803875c547d13c4aa3bcdd98127ab49510d5e4fef2a73172ce7c72d48953311cc SHA512 7dcce0a5741c683eda84fc52478740c8775935e43cd3a5a7fc662326724d3d73491e4e078e6429ecd3bfa45644aa38e1254228db6f84a9f68301940b2113ebf4
-DIST aqt-2.1.57.zip 6269844 BLAKE2B a8863be1192180f34544df522a6bb69e96968525f0c839ba217cbb360aa06624cd2e0f4fc67559e77dfef4d0ad76c91352b6c210e4f2c39c33733a48785acc89 SHA512 6532a0c59ae2e3e041558c758a57e5b6b19ec11afb63755dda04cc55eb6a30a363d2ede88754e4825f3bddc4dd30b11be33155d5a99c4021d30d6d54d1b8c130
-DIST aqt-2.1.58.zip 6274492 BLAKE2B d81c37992673596a963a6136656d16b39d155bffc711dd2c244c407622a404c845719c6d704871aa39e9d45db73b8164f4785a2842add1437162c5a4891eab87 SHA512 330494c9d75c73b43b5bf9301f996b167cd4477bf36909b2f8410bb3ceae759b5a8f0a747428206198b770e6840968ebf98fb7a00ec86d004f78efc152824bb5
DIST aqt-2.1.60.zip 6277087 BLAKE2B 9183b9a0ada043ba2d2c762772d872afc4aa49dfb4dc79931818c26c51be9741fcba5706f6a4e8e591a3ec8a68bb7c98e858793ba1e6aab8172e0aaaa90da5f9 SHA512 51db34d6dc8aef7e466826e8f67df41558379011abc8a20c17a991dc583681952e8769141d81563bfa960f08347ad91e262a0f67c57e03ae1b584d1600cab269
diff --git a/app-misc/anki-bin/anki-bin-2.1.57.ebuild b/app-misc/anki-bin/anki-bin-2.1.57.ebuild
deleted file mode 100644
index 1451071ca..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.57.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2021-2022 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 was tested on a limited number of machines and is not gurenteed to work.
-
-PYTHON_COMPAT=( python3_9 python3_10 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
diff --git a/app-misc/anki-bin/anki-bin-2.1.58.ebuild b/app-misc/anki-bin/anki-bin-2.1.58.ebuild
deleted file mode 100644
index d7e426181..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.58.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2021-2022 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 was tested on a limited number of machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_9 python3_10 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-03-31 22:08 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-03-31 22:08 UTC (permalink / raw
To: gentoo-commits
commit: 289165a933db1829d17e6455284659ad3215aed8
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Mar 31 22:00:09 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Mar 31 22:05:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=289165a9
app-misc/anki-bin: add 2.1.61
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 +++
app-misc/anki-bin/anki-bin-2.1.61.ebuild | 64 ++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 73db6b12e..823681d21 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,10 @@
+DIST anki-2.1.61-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12895470 BLAKE2B a2bcc4b7f60a9ea9dd9957a2a526472e3eff838b0dc9613bd14c830dc6ed248eb27946b4221987f5100a2811f5e8c13e249c0a38dd52e41abd5812d48bcd6a0b SHA512 55e11440efb9953aa5c1dacb721508adaf191076ea05c8cc0154dfe84cbe1e7b88fa5572fe9297346b13df7bbe41348f53acd2ed2c1ec066795226d31f98677c
DIST anki-bin-2.1.60.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.60.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.60.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.60.zip 12847675 BLAKE2B 5373f317ea6b7687063308556c7eff8d99746ed3f1ab6f4a1d33d1da1b2037f803875c547d13c4aa3bcdd98127ab49510d5e4fef2a73172ce7c72d48953311cc SHA512 7dcce0a5741c683eda84fc52478740c8775935e43cd3a5a7fc662326724d3d73491e4e078e6429ecd3bfa45644aa38e1254228db6f84a9f68301940b2113ebf4
+DIST anki-bin-2.1.61.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.61.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.61.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.60.zip 6277087 BLAKE2B 9183b9a0ada043ba2d2c762772d872afc4aa49dfb4dc79931818c26c51be9741fcba5706f6a4e8e591a3ec8a68bb7c98e858793ba1e6aab8172e0aaaa90da5f9 SHA512 51db34d6dc8aef7e466826e8f67df41558379011abc8a20c17a991dc583681952e8769141d81563bfa960f08347ad91e262a0f67c57e03ae1b584d1600cab269
+DIST aqt-2.1.61-py3-none-any.whl.zip 6526466 BLAKE2B e497aaaf2c546a687252371459e9b8a604742e9435d56cbd901121515b2aaca1010abf5d750a085da5ba681e35aa2bb9cd3a1eee9b9ce5e5657b024715100505 SHA512 bc1a055d2a4450e0030f2bccf3981fb2ef9b92a24c4b62cc5dcedf36265fd639026f5430f0b1e29d6bb0cba66c99334e612b5f7e3d2928d826caa0d82c08cede
diff --git a/app-misc/anki-bin/anki-bin-2.1.61.ebuild b/app-misc/anki-bin/anki-bin-2.1.61.ebuild
new file mode 100644
index 000000000..1a06b1b8c
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.61.ebuild
@@ -0,0 +1,64 @@
+# 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 was tested on a limited number of machines and is not guaranteed to work.
+
+PYTHON_COMPAT=( python3_9 python3_10 )
+inherit desktop 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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+QA_PREBUILT="usr/lib/*"
+DEPEND="
+$(python_gen_cond_dep '
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/waitress[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/stringcase[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-06 22:52 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-06 22:52 UTC (permalink / raw
To: gentoo-commits
commit: c8b155c5618a98006c751e09afb52554eefa7123
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat May 6 22:52:17 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat May 6 22:52:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8b155c5
app-misc/anki-bin: drop 2.1.60, 2.1.61
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 10 -----
app-misc/anki-bin/anki-bin-2.1.60.ebuild | 64 --------------------------------
app-misc/anki-bin/anki-bin-2.1.61.ebuild | 64 --------------------------------
3 files changed, 138 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index d1bb28c97..fa4ac37b6 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,15 +1,5 @@
-DIST anki-2.1.61-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12895470 BLAKE2B a2bcc4b7f60a9ea9dd9957a2a526472e3eff838b0dc9613bd14c830dc6ed248eb27946b4221987f5100a2811f5e8c13e249c0a38dd52e41abd5812d48bcd6a0b SHA512 55e11440efb9953aa5c1dacb721508adaf191076ea05c8cc0154dfe84cbe1e7b88fa5572fe9297346b13df7bbe41348f53acd2ed2c1ec066795226d31f98677c
DIST anki-2.1.62-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13016717 BLAKE2B f7c8fd7a4de8c7ea9099b35aa4d7576ebcc0dcba3d32ec409a8a16e4b4f926ae5d1a8e0a57cbb3c892353b33fe49aee935eebe3ce14a848256c1baaade509456 SHA512 2e33eabd3797c1b9a5c81a9d6b05a3733b57fe5ffbaae7771233c23469f5b9ba11b79c723f0fdef03343bcfab5e24c88a920d52938905b028d62add1127653e7
-DIST anki-bin-2.1.60.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.60.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.60.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-2.1.60.zip 12847675 BLAKE2B 5373f317ea6b7687063308556c7eff8d99746ed3f1ab6f4a1d33d1da1b2037f803875c547d13c4aa3bcdd98127ab49510d5e4fef2a73172ce7c72d48953311cc SHA512 7dcce0a5741c683eda84fc52478740c8775935e43cd3a5a7fc662326724d3d73491e4e078e6429ecd3bfa45644aa38e1254228db6f84a9f68301940b2113ebf4
-DIST anki-bin-2.1.61.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.61.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.61.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.62.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.62.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.62.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.60.zip 6277087 BLAKE2B 9183b9a0ada043ba2d2c762772d872afc4aa49dfb4dc79931818c26c51be9741fcba5706f6a4e8e591a3ec8a68bb7c98e858793ba1e6aab8172e0aaaa90da5f9 SHA512 51db34d6dc8aef7e466826e8f67df41558379011abc8a20c17a991dc583681952e8769141d81563bfa960f08347ad91e262a0f67c57e03ae1b584d1600cab269
-DIST aqt-2.1.61-py3-none-any.whl.zip 6526466 BLAKE2B e497aaaf2c546a687252371459e9b8a604742e9435d56cbd901121515b2aaca1010abf5d750a085da5ba681e35aa2bb9cd3a1eee9b9ce5e5657b024715100505 SHA512 bc1a055d2a4450e0030f2bccf3981fb2ef9b92a24c4b62cc5dcedf36265fd639026f5430f0b1e29d6bb0cba66c99334e612b5f7e3d2928d826caa0d82c08cede
DIST aqt-2.1.62-py3-none-any.whl.zip 6530752 BLAKE2B d67c1b30515104e4b8a7ef704a93d00a98d30c1b142f436de0a38df39ca8390017e1c36562f00350461f136ea870c6a4cb53465b65cd26ef207e9ab33b205af4 SHA512 2287fb29c9e06f44ea9ca4bd2e3f5cc2279ece67a876c0ae254e342054735110f63656dbebbff8fec11cf48daf52bd8809c2d8fd7510c02ea82adb843be3e073
diff --git a/app-misc/anki-bin/anki-bin-2.1.60.ebuild b/app-misc/anki-bin/anki-bin-2.1.60.ebuild
deleted file mode 100644
index a56d7776d..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.60.ebuild
+++ /dev/null
@@ -1,64 +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 was tested on a limited number of machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_10 )
-inherit python-single-r1 desktop xdg
-
-MY_PN=${PN%-bin}
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/"
-SRC_URI="
- https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
- https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
- 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"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
diff --git a/app-misc/anki-bin/anki-bin-2.1.61.ebuild b/app-misc/anki-bin/anki-bin-2.1.61.ebuild
deleted file mode 100644
index ea55bbcda..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.61.ebuild
+++ /dev/null
@@ -1,64 +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 was tested on a limited number of machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_10 )
-inherit desktop 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"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-QA_PREBUILT="usr/lib/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${PYTHON_USEDEP}]
- ')
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-06 22:52 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-06 22:52 UTC (permalink / raw
To: gentoo-commits
commit: 3ff6ef3e0537174ce85e1f46ecec6118e1dab715
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat May 6 22:45:17 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat May 6 22:45:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ff6ef3e
app-misc/anki-bin: add QT6 support
* drop unneeded dependencies
* USE !qt6 blocks PyQt6 because of Anki's QT6
detection mechanism via `try: import PyQt6`
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-2.1.62.ebuild | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.62.ebuild b/app-misc/anki-bin/anki-bin-2.1.62.ebuild
index 278790c5b..ed8b4e3c3 100644
--- a/app-misc/anki-bin/anki-bin-2.1.62.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.62.ebuild
@@ -25,6 +25,7 @@ SRC_URI="
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/*"
@@ -35,16 +36,29 @@ $(python_gen_cond_dep '
dev-python/distro[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
- dev-python/stringcase[${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,${PYTHON_USEDEP}]
+ >=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}]
+ >=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
+ ')
+ )
"
RDEPEND="${DEPEND}
${PYTHON_DEPS}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-15 19:17 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-15 19:17 UTC (permalink / raw
To: gentoo-commits
commit: ad7f278deb54d36348cdddb2eb2d082bf20dfd2a
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon May 15 19:16:55 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon May 15 19:16:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad7f278d
app-misc/anki-bin: add 2.1.63
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 ++
app-misc/anki-bin/anki-bin-2.1.63.ebuild | 79 ++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index fa4ac37b6..1c4279292 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,10 @@
DIST anki-2.1.62-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13016717 BLAKE2B f7c8fd7a4de8c7ea9099b35aa4d7576ebcc0dcba3d32ec409a8a16e4b4f926ae5d1a8e0a57cbb3c892353b33fe49aee935eebe3ce14a848256c1baaade509456 SHA512 2e33eabd3797c1b9a5c81a9d6b05a3733b57fe5ffbaae7771233c23469f5b9ba11b79c723f0fdef03343bcfab5e24c88a920d52938905b028d62add1127653e7
+DIST anki-2.1.63-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13022324 BLAKE2B 524d44d0b6a5c233ebb3fa68c63ba736bbb81c43f8c85882782220948173a1472b9c1408727b8fd770682554c69e573cb589da123cf7854c8de305f67ed910fb SHA512 61a8ee5278be364cb130d33c9e7f14b2f36baf922e94eda284744d9bf537c5e708fa19c40b26161038a12353de34187deacc42c64e9aadaa5095128a02055536
DIST anki-bin-2.1.62.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.62.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.62.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.63.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.63.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.63.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.62-py3-none-any.whl.zip 6530752 BLAKE2B d67c1b30515104e4b8a7ef704a93d00a98d30c1b142f436de0a38df39ca8390017e1c36562f00350461f136ea870c6a4cb53465b65cd26ef207e9ab33b205af4 SHA512 2287fb29c9e06f44ea9ca4bd2e3f5cc2279ece67a876c0ae254e342054735110f63656dbebbff8fec11cf48daf52bd8809c2d8fd7510c02ea82adb843be3e073
+DIST aqt-2.1.63-py3-none-any.whl.zip 6531126 BLAKE2B c256278447cd52544b2efe481712c6be9471787f4d8ab3bf6bac5323d3c5563dc4e2e5c82fec6099e5317b8485e16b7e3c89d5048004e55d7c306373769a38f9 SHA512 a4bf0acd942acab1ce90711c975673cf664f9bd1f2b154fd1fb9ecec54992a2c1ea0b5406b71f6f916d9f4aac2bf29a830b5fc531e67efe48e664d12839136cc
diff --git a/app-misc/anki-bin/anki-bin-2.1.63.ebuild b/app-misc/anki-bin/anki-bin-2.1.63.ebuild
new file mode 100644
index 000000000..63b62ad2b
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.63.ebuild
@@ -0,0 +1,79 @@
+# 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 was tested on a limited number of machines and is not guaranteed to work.
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit desktop 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/*"
+DEPEND="
+$(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,${PYTHON_USEDEP}]
+ >=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}]
+ >=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
+ ')
+ )
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ !app-misc/anki
+"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-15 19:17 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-15 19:17 UTC (permalink / raw
To: gentoo-commits
commit: 4d9f2347e881e20552c26273d06269a9c78bd854
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon May 15 19:17:17 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon May 15 19:17:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d9f2347
app-misc/anki-bin: drop 2.1.62
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 --
app-misc/anki-bin/anki-bin-2.1.62.ebuild | 78 --------------------------------
2 files changed, 83 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 1c4279292..2b5cc20ee 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,10 +1,5 @@
-DIST anki-2.1.62-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13016717 BLAKE2B f7c8fd7a4de8c7ea9099b35aa4d7576ebcc0dcba3d32ec409a8a16e4b4f926ae5d1a8e0a57cbb3c892353b33fe49aee935eebe3ce14a848256c1baaade509456 SHA512 2e33eabd3797c1b9a5c81a9d6b05a3733b57fe5ffbaae7771233c23469f5b9ba11b79c723f0fdef03343bcfab5e24c88a920d52938905b028d62add1127653e7
DIST anki-2.1.63-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13022324 BLAKE2B 524d44d0b6a5c233ebb3fa68c63ba736bbb81c43f8c85882782220948173a1472b9c1408727b8fd770682554c69e573cb589da123cf7854c8de305f67ed910fb SHA512 61a8ee5278be364cb130d33c9e7f14b2f36baf922e94eda284744d9bf537c5e708fa19c40b26161038a12353de34187deacc42c64e9aadaa5095128a02055536
-DIST anki-bin-2.1.62.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.62.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.62.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.63.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.63.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.63.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.62-py3-none-any.whl.zip 6530752 BLAKE2B d67c1b30515104e4b8a7ef704a93d00a98d30c1b142f436de0a38df39ca8390017e1c36562f00350461f136ea870c6a4cb53465b65cd26ef207e9ab33b205af4 SHA512 2287fb29c9e06f44ea9ca4bd2e3f5cc2279ece67a876c0ae254e342054735110f63656dbebbff8fec11cf48daf52bd8809c2d8fd7510c02ea82adb843be3e073
DIST aqt-2.1.63-py3-none-any.whl.zip 6531126 BLAKE2B c256278447cd52544b2efe481712c6be9471787f4d8ab3bf6bac5323d3c5563dc4e2e5c82fec6099e5317b8485e16b7e3c89d5048004e55d7c306373769a38f9 SHA512 a4bf0acd942acab1ce90711c975673cf664f9bd1f2b154fd1fb9ecec54992a2c1ea0b5406b71f6f916d9f4aac2bf29a830b5fc531e67efe48e664d12839136cc
diff --git a/app-misc/anki-bin/anki-bin-2.1.62.ebuild b/app-misc/anki-bin/anki-bin-2.1.62.ebuild
deleted file mode 100644
index ed8b4e3c3..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.62.ebuild
+++ /dev/null
@@ -1,78 +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 was tested on a limited number of machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit desktop 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/*"
-DEPEND="
-$(python_gen_cond_dep '
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/distro[${PYTHON_USEDEP}]
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/waitress[${PYTHON_USEDEP}]
- dev-python/send2trash[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/flask-cors[${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,${PYTHON_USEDEP}]
- >=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}]
- >=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
- ')
- )
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-24 22:38 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-24 22:38 UTC (permalink / raw
To: gentoo-commits
commit: f418556ffa31d04d6ec05340ee79379696487b22
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 24 21:43:30 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed May 24 22:37:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f418556f
app-misc/anki-bin: drop 2.1.63
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 --
app-misc/anki-bin/anki-bin-2.1.63.ebuild | 79 --------------------------------
2 files changed, 84 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 226f26f43..4c32c3376 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,10 +1,5 @@
-DIST anki-2.1.63-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13022324 BLAKE2B 524d44d0b6a5c233ebb3fa68c63ba736bbb81c43f8c85882782220948173a1472b9c1408727b8fd770682554c69e573cb589da123cf7854c8de305f67ed910fb SHA512 61a8ee5278be364cb130d33c9e7f14b2f36baf922e94eda284744d9bf537c5e708fa19c40b26161038a12353de34187deacc42c64e9aadaa5095128a02055536
DIST anki-2.1.64-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13039104 BLAKE2B f53bd793d2fa977691519e0aedc43485e4bf58c62735d6e6f70ef168237fe69a24283868ae6bc069de3b2292f78481670355b7832ffacc286d0fe9daefeeb2f1 SHA512 112fea989e7321e10caa4c570784034463af760605d680ac9c8103c578ab5462881a5925ff6534785b368f8360966d34a15eea83b9638f802d9450232159315f
-DIST anki-bin-2.1.63.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.63.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.63.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.64.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.64.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.64.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.63-py3-none-any.whl.zip 6531126 BLAKE2B c256278447cd52544b2efe481712c6be9471787f4d8ab3bf6bac5323d3c5563dc4e2e5c82fec6099e5317b8485e16b7e3c89d5048004e55d7c306373769a38f9 SHA512 a4bf0acd942acab1ce90711c975673cf664f9bd1f2b154fd1fb9ecec54992a2c1ea0b5406b71f6f916d9f4aac2bf29a830b5fc531e67efe48e664d12839136cc
DIST aqt-2.1.64-py3-none-any.whl.zip 6539634 BLAKE2B 1843d766550c1be4f68522a9f0c79976848d6cec29a2e5b6303ba6af8f54ec8e0f4173b9c2585f0a84ea87e8d1f152056e56fe2c0251ab3882e90d357e4e284e SHA512 e0b7810a251c62719e57a2fbc543993244fffea9cb56beda77ed22e0339b305c12840a7aee6e3484e2dbf378bf4bf731d42fb139d67fd83ba7fcbf02932a6ec0
diff --git a/app-misc/anki-bin/anki-bin-2.1.63.ebuild b/app-misc/anki-bin/anki-bin-2.1.63.ebuild
deleted file mode 100644
index 63b62ad2b..000000000
--- a/app-misc/anki-bin/anki-bin-2.1.63.ebuild
+++ /dev/null
@@ -1,79 +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 was tested on a limited number of machines and is not guaranteed to work.
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit desktop 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/*"
-DEPEND="
-$(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,${PYTHON_USEDEP}]
- >=dev-python/PyQt6-sip-13.5.1[${PYTHON_USEDEP}]
- >=dev-python/PyQt6-WebEngine-6.5.0[widgets,${PYTHON_USEDEP}]
- ')
- )
-"
-RDEPEND="${DEPEND}
- ${PYTHON_DEPS}
- !app-misc/anki
-"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-05-24 22:38 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-05-24 22:38 UTC (permalink / raw
To: gentoo-commits
commit: c7e9809f9e54a3abf34b88adc9e2ed6b759058f4
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 24 21:43:12 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed May 24 22:37:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7e9809f
app-misc/anki-bin: add 2.1.64
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 ++
app-misc/anki-bin/anki-bin-2.1.64.ebuild | 78 ++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 2b5cc20ee..226f26f43 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,10 @@
DIST anki-2.1.63-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13022324 BLAKE2B 524d44d0b6a5c233ebb3fa68c63ba736bbb81c43f8c85882782220948173a1472b9c1408727b8fd770682554c69e573cb589da123cf7854c8de305f67ed910fb SHA512 61a8ee5278be364cb130d33c9e7f14b2f36baf922e94eda284744d9bf537c5e708fa19c40b26161038a12353de34187deacc42c64e9aadaa5095128a02055536
+DIST anki-2.1.64-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13039104 BLAKE2B f53bd793d2fa977691519e0aedc43485e4bf58c62735d6e6f70ef168237fe69a24283868ae6bc069de3b2292f78481670355b7832ffacc286d0fe9daefeeb2f1 SHA512 112fea989e7321e10caa4c570784034463af760605d680ac9c8103c578ab5462881a5925ff6534785b368f8360966d34a15eea83b9638f802d9450232159315f
DIST anki-bin-2.1.63.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.63.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.63.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.64.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.64.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.64.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.63-py3-none-any.whl.zip 6531126 BLAKE2B c256278447cd52544b2efe481712c6be9471787f4d8ab3bf6bac5323d3c5563dc4e2e5c82fec6099e5317b8485e16b7e3c89d5048004e55d7c306373769a38f9 SHA512 a4bf0acd942acab1ce90711c975673cf664f9bd1f2b154fd1fb9ecec54992a2c1ea0b5406b71f6f916d9f4aac2bf29a830b5fc531e67efe48e664d12839136cc
+DIST aqt-2.1.64-py3-none-any.whl.zip 6539634 BLAKE2B 1843d766550c1be4f68522a9f0c79976848d6cec29a2e5b6303ba6af8f54ec8e0f4173b9c2585f0a84ea87e8d1f152056e56fe2c0251ab3882e90d357e4e284e SHA512 e0b7810a251c62719e57a2fbc543993244fffea9cb56beda77ed22e0339b305c12840a7aee6e3484e2dbf378bf4bf731d42fb139d67fd83ba7fcbf02932a6ec0
diff --git a/app-misc/anki-bin/anki-bin-2.1.64.ebuild b/app-misc/anki-bin/anki-bin-2.1.64.ebuild
new file mode 100644
index 000000000..abc4a94d9
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.64.ebuild
@@ -0,0 +1,78 @@
+# 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 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="
+$(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,${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 anki-${PV}.dist-info _aqt aqt aqt-${PV}.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
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-06-05 22:32 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-06-05 22:32 UTC (permalink / raw
To: gentoo-commits
commit: 4400d29b65775a7fd9f3e09242972f81aa158ca5
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jun 5 22:16:33 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun 5 22:16:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4400d29b
app-misc/anki-bin: add 2.1.65, drop 2.1.64
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 10 +++++-----
.../{anki-bin-2.1.64.ebuild => anki-bin-2.1.65.ebuild} | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 4c32c3376..dc6676b8a 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,5 @@
-DIST anki-2.1.64-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13039104 BLAKE2B f53bd793d2fa977691519e0aedc43485e4bf58c62735d6e6f70ef168237fe69a24283868ae6bc069de3b2292f78481670355b7832ffacc286d0fe9daefeeb2f1 SHA512 112fea989e7321e10caa4c570784034463af760605d680ac9c8103c578ab5462881a5925ff6534785b368f8360966d34a15eea83b9638f802d9450232159315f
-DIST anki-bin-2.1.64.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.64.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.64.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.64-py3-none-any.whl.zip 6539634 BLAKE2B 1843d766550c1be4f68522a9f0c79976848d6cec29a2e5b6303ba6af8f54ec8e0f4173b9c2585f0a84ea87e8d1f152056e56fe2c0251ab3882e90d357e4e284e SHA512 e0b7810a251c62719e57a2fbc543993244fffea9cb56beda77ed22e0339b305c12840a7aee6e3484e2dbf378bf4bf731d42fb139d67fd83ba7fcbf02932a6ec0
+DIST anki-2.1.65-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13044229 BLAKE2B 0eeaaca8b9b11edbb04d049cbebc10b4fa2d017ee12b152c630df638ee224160a1d12510d49ab30c2b703c1094ead1fd10f9f419e7ab6ed9f72e7e82de2e6e8a SHA512 16f981d111ea3b309f93dc06a70d8df477cfb71ae399aed0423fbca01e1893981408a3f87c43be01e55192296acc1b8240c7673c39c055b4aa717e4e4b423106
+DIST anki-bin-2.1.65.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.65.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.65.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST aqt-2.1.65-py3-none-any.whl.zip 6634410 BLAKE2B a95ef86f346373b893f71e49c42f25e4638cbf880d89c2df271ef6df667a2e6100087dff2a321b1b5465c1d4a0d18415a6b815216556ab206304516253a0e17a SHA512 a346579fc40846f46d7f7d0a6ad67244409d3fd7480d75babd609377836eb21b9a134bcd3de35bf7ab85db5fd646feba670d5abada0426b49085480a4792a0a4
diff --git a/app-misc/anki-bin/anki-bin-2.1.64.ebuild b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
similarity index 97%
rename from app-misc/anki-bin/anki-bin-2.1.64.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.65.ebuild
index abc4a94d9..b51a7de8d 100644
--- a/app-misc/anki-bin/anki-bin-2.1.64.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
@@ -69,7 +69,7 @@ BDEPEND="app-arch/unzip"
S="${WORKDIR}"
src_install() {
- python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.dist-info
+ 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
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-06-07 19:53 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-06-07 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 652f1f91099896c2102d207baf234c25215ffb83
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jun 7 19:21:27 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jun 7 19:22:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=652f1f91
app-misc/anki-bin: add optfeatures
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-2.1.65.ebuild | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.65.ebuild b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
index b51a7de8d..00ce197ea 100644
--- a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
@@ -9,7 +9,7 @@ EAPI=8
# 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 python-single-r1 pypi xdg
+inherit desktop optfeature python-single-r1 pypi xdg
MY_PN=${PN%-bin}
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
@@ -76,3 +76,18 @@ src_install() {
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
+ if use qt6; then
+ ewarn "Recording support is broken for Qt6 until dev-qt/multimedia"
+ ewarn "implements support for ALSA or PulseAudio."
+ ewarn "Consider running Anki with Qt5 if you need recordings."
+ else
+ optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt5[multimedia]"
+ fi
+ einfo "You can customize the LaTeX header for your cards to fit your needs:"
+ einfo "Notes > Manage Note Types > Options"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-06-07 19:58 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-06-07 19:58 UTC (permalink / raw
To: gentoo-commits
commit: c2d3aff1231adfac9716ddb9eb9d138a54632702
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jun 7 19:56:26 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jun 7 19:56:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2d3aff1
app-misc/anki-bin: fix ewarn typo
* May be relevant for those who want to look up the package with the
typo.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-2.1.65.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.65.ebuild b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
index 00ce197ea..c57a27768 100644
--- a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
@@ -82,7 +82,7 @@ pkg_postinst() {
optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng"
optfeature "sound support" media-video/mpv media-video/mplayer
if use qt6; then
- ewarn "Recording support is broken for Qt6 until dev-qt/multimedia"
+ ewarn "Recording support is broken for Qt6 until dev-qt/qtmultimedia"
ewarn "implements support for ALSA or PulseAudio."
ewarn "Consider running Anki with Qt5 if you need recordings."
else
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-06-12 7:39 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-06-12 7:39 UTC (permalink / raw
To: gentoo-commits
commit: f82d8723c5537742a1adbf5dfc6ded3345969e70
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jun 12 07:38:12 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun 12 07:39:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f82d8723
app-misc/anki-bin: add recording optfeature for qt6
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-2.1.65.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.65.ebuild b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
index c57a27768..37861a6f0 100644
--- a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
@@ -81,13 +81,7 @@ 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
- if use qt6; then
- ewarn "Recording support is broken for Qt6 until dev-qt/qtmultimedia"
- ewarn "implements support for ALSA or PulseAudio."
- ewarn "Consider running Anki with Qt5 if you need recordings."
- else
- optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt5[multimedia]"
- fi
+ 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"
}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-08-24 20:02 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-08-24 20:02 UTC (permalink / raw
To: gentoo-commits
commit: 1cc9822e4f2c7bb0dd512a870e362c6d40603e4b
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug 24 20:01:28 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug 24 20:01:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cc9822e
app-misc/anki-bin: add 2.1.66
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 ++
app-misc/anki-bin/anki-bin-2.1.66.ebuild | 87 ++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index dc6676b8a1..2e515451da 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,10 @@
DIST anki-2.1.65-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13044229 BLAKE2B 0eeaaca8b9b11edbb04d049cbebc10b4fa2d017ee12b152c630df638ee224160a1d12510d49ab30c2b703c1094ead1fd10f9f419e7ab6ed9f72e7e82de2e6e8a SHA512 16f981d111ea3b309f93dc06a70d8df477cfb71ae399aed0423fbca01e1893981408a3f87c43be01e55192296acc1b8240c7673c39c055b4aa717e4e4b423106
+DIST anki-2.1.66-cp39-abi3-manylinux_2_28_x86_64.whl.zip 10209787 BLAKE2B 2459ffc090c8a191fddfd28834e4e234ab4d6c2331a70edfa1f07dc77479052f74515c1f567424eb5e6c6e936dc28bff05247b3f1cd9c1735fd5b88c36a1ae77 SHA512 f7f24ddcde12d31aa1efce98c5d7adf10209a1d8136d67d5b8066899cd07dd92c6db0b1abe99cc067dd66ca7835b6aadfd4d135e10d606ddec4e9ee8b0532400
DIST anki-bin-2.1.65.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.65.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.65.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-2.1.66.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-2.1.66.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-2.1.66.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST aqt-2.1.65-py3-none-any.whl.zip 6634410 BLAKE2B a95ef86f346373b893f71e49c42f25e4638cbf880d89c2df271ef6df667a2e6100087dff2a321b1b5465c1d4a0d18415a6b815216556ab206304516253a0e17a SHA512 a346579fc40846f46d7f7d0a6ad67244409d3fd7480d75babd609377836eb21b9a134bcd3de35bf7ab85db5fd646feba670d5abada0426b49085480a4792a0a4
+DIST aqt-2.1.66-py3-none-any.whl.zip 7468167 BLAKE2B 0ac356f2fb86671298abaf25e50f083922de6e09786230dadd20312b11a97d71ee86541a5be5e3c5196221b723888dfbb54ecebe5e810dc5e26f547e9265c532 SHA512 bb5119e4290bebd9e55929ce398fb55edf816bbc263e8cd75ce8b2ba39bd506c789fe08fed46186e4561122379c5b85450c15494d7e09da045d7124cd420016a
diff --git a/app-misc/anki-bin/anki-bin-2.1.66.ebuild b/app-misc/anki-bin/anki-bin-2.1.66.ebuild
new file mode 100644
index 0000000000..37861a6f02
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-2.1.66.ebuild
@@ -0,0 +1,87 @@
+# 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="
+$(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,${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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-08-24 20:02 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-08-24 20:02 UTC (permalink / raw
To: gentoo-commits
commit: e1114a45d2ea4e6e26f9b03d0defc66d7082f933
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug 24 20:01:49 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug 24 20:01:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1114a45
app-misc/anki-bin: drop 2.1.65
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 --
app-misc/anki-bin/anki-bin-2.1.65.ebuild | 87 --------------------------------
2 files changed, 92 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 2e515451da..b089cab370 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,10 +1,5 @@
-DIST anki-2.1.65-cp39-abi3-manylinux_2_28_x86_64.whl.zip 13044229 BLAKE2B 0eeaaca8b9b11edbb04d049cbebc10b4fa2d017ee12b152c630df638ee224160a1d12510d49ab30c2b703c1094ead1fd10f9f419e7ab6ed9f72e7e82de2e6e8a SHA512 16f981d111ea3b309f93dc06a70d8df477cfb71ae399aed0423fbca01e1893981408a3f87c43be01e55192296acc1b8240c7673c39c055b4aa717e4e4b423106
DIST anki-2.1.66-cp39-abi3-manylinux_2_28_x86_64.whl.zip 10209787 BLAKE2B 2459ffc090c8a191fddfd28834e4e234ab4d6c2331a70edfa1f07dc77479052f74515c1f567424eb5e6c6e936dc28bff05247b3f1cd9c1735fd5b88c36a1ae77 SHA512 f7f24ddcde12d31aa1efce98c5d7adf10209a1d8136d67d5b8066899cd07dd92c6db0b1abe99cc067dd66ca7835b6aadfd4d135e10d606ddec4e9ee8b0532400
-DIST anki-bin-2.1.65.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.65.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.65.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-2.1.66.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-2.1.66.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-2.1.66.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.65-py3-none-any.whl.zip 6634410 BLAKE2B a95ef86f346373b893f71e49c42f25e4638cbf880d89c2df271ef6df667a2e6100087dff2a321b1b5465c1d4a0d18415a6b815216556ab206304516253a0e17a SHA512 a346579fc40846f46d7f7d0a6ad67244409d3fd7480d75babd609377836eb21b9a134bcd3de35bf7ab85db5fd646feba670d5abada0426b49085480a4792a0a4
DIST aqt-2.1.66-py3-none-any.whl.zip 7468167 BLAKE2B 0ac356f2fb86671298abaf25e50f083922de6e09786230dadd20312b11a97d71ee86541a5be5e3c5196221b723888dfbb54ecebe5e810dc5e26f547e9265c532 SHA512 bb5119e4290bebd9e55929ce398fb55edf816bbc263e8cd75ce8b2ba39bd506c789fe08fed46186e4561122379c5b85450c15494d7e09da045d7124cd420016a
diff --git a/app-misc/anki-bin/anki-bin-2.1.65.ebuild b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
deleted file mode 100644
index 37861a6f02..0000000000
--- a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
+++ /dev/null
@@ -1,87 +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="
-$(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,${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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-08-27 19:51 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-08-27 19:51 UTC (permalink / raw
To: gentoo-commits
commit: 584de23dfe08af17fb257028286fe60729aae673
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Aug 27 19:47:48 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Aug 27 19:47:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=584de23d
app-misc/anki-bin: add missing runtime dependency
The TLS library Rustls makes use of the native certificate store.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/{anki-bin-2.1.66.ebuild => anki-bin-2.1.66-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/anki-bin/anki-bin-2.1.66.ebuild b/app-misc/anki-bin/anki-bin-2.1.66-r1.ebuild
similarity index 99%
rename from app-misc/anki-bin/anki-bin-2.1.66.ebuild
rename to app-misc/anki-bin/anki-bin-2.1.66-r1.ebuild
index 37861a6f02..a07338c53d 100644
--- a/app-misc/anki-bin/anki-bin-2.1.66.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.66-r1.ebuild
@@ -31,6 +31,7 @@ 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}]
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-11-02 0:58 Shaoyu Tseng
0 siblings, 0 replies; 62+ messages in thread
From: Shaoyu Tseng @ 2023-11-02 0:58 UTC (permalink / raw
To: gentoo-commits
commit: 28db01ec68c46130487d563ef891e88fc855b38a
Author: Shaoyu Tseng <1over137 <AT> anche <DOT> no>
AuthorDate: Thu Nov 2 00:58:01 2023 +0000
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io>
CommitDate: Thu Nov 2 00:58:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28db01ec
app-misc/anki-bin: add 23.10, drop 2.1.66-r1
Signed-off-by: Shaoyu Tseng <1over137 <AT> anche.no>
app-misc/anki-bin/Manifest | 10 +++++-----
.../{anki-bin-2.1.66-r1.ebuild => anki-bin-23.10.ebuild} | 0
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index b089cab370..4da6c6d045 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,5 @@
-DIST anki-2.1.66-cp39-abi3-manylinux_2_28_x86_64.whl.zip 10209787 BLAKE2B 2459ffc090c8a191fddfd28834e4e234ab4d6c2331a70edfa1f07dc77479052f74515c1f567424eb5e6c6e936dc28bff05247b3f1cd9c1735fd5b88c36a1ae77 SHA512 f7f24ddcde12d31aa1efce98c5d7adf10209a1d8136d67d5b8066899cd07dd92c6db0b1abe99cc067dd66ca7835b6aadfd4d135e10d606ddec4e9ee8b0532400
-DIST anki-bin-2.1.66.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-2.1.66.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-2.1.66.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST aqt-2.1.66-py3-none-any.whl.zip 7468167 BLAKE2B 0ac356f2fb86671298abaf25e50f083922de6e09786230dadd20312b11a97d71ee86541a5be5e3c5196221b723888dfbb54ecebe5e810dc5e26f547e9265c532 SHA512 bb5119e4290bebd9e55929ce398fb55edf816bbc263e8cd75ce8b2ba39bd506c789fe08fed46186e4561122379c5b85450c15494d7e09da045d7124cd420016a
+DIST anki-23.10-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11943812 BLAKE2B d2058291d65b4e206956d1367c03d18021ac2f19266249d22680714ca12c31b3553705788ed74cf06b3dae97d27228e85b97057dad50f4821954d196fb3696b9 SHA512 8b835044f9f974129bfdac18166c7ebf58cf199c510ebb618a03e8a2415b1e42d42fca39a5c92c3430b18429d0cc5095d7ae07213f90f28b6480c8f6a3cabb88
+DIST anki-bin-23.10.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+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
diff --git a/app-misc/anki-bin/anki-bin-2.1.66-r1.ebuild b/app-misc/anki-bin/anki-bin-23.10.ebuild
similarity index 100%
rename from app-misc/anki-bin/anki-bin-2.1.66-r1.ebuild
rename to app-misc/anki-bin/anki-bin-23.10.ebuild
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-11-09 5:49 Amano Kenji
0 siblings, 0 replies; 62+ messages in thread
From: Amano Kenji @ 2023-11-09 5:49 UTC (permalink / raw
To: gentoo-commits
commit: e687f5218a2592aa7a2ed57a75b37ed576883f5a
Author: amano.kenji <amano.kenji <AT> proton <DOT> me>
AuthorDate: Thu Nov 9 05:47:39 2023 +0000
Commit: Amano Kenji <amano.kenji <AT> proton <DOT> me>
CommitDate: Thu Nov 9 05:47:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e687f521
app-misc/anki-bin: Require quick USE flag on PyQt6
Without PyQt6.quick module, anki-bin crashes.
Signed-off-by: amano.kenji <amano.kenji <AT> proton.me>
app-misc/anki-bin/{anki-bin-23.10.ebuild => anki-bin-23.10-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-23.10.ebuild b/app-misc/anki-bin/anki-bin-23.10-r1.ebuild
similarity index 98%
rename from app-misc/anki-bin/anki-bin-23.10.ebuild
rename to app-misc/anki-bin/anki-bin-23.10-r1.ebuild
index a07338c53d..87e01eee87 100644
--- a/app-misc/anki-bin/anki-bin-23.10.ebuild
+++ b/app-misc/anki-bin/anki-bin-23.10-r1.ebuild
@@ -57,7 +57,7 @@ $(python_gen_cond_dep '
qt6? (
$(python_gen_cond_dep '
- >=dev-python/PyQt6-6.5.0[dbus,gui,network,opengl,printsupport,webchannel,widgets,${PYTHON_USEDEP}]
+ >=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}]
')
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-11-24 12:17 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-11-24 12:17 UTC (permalink / raw
To: gentoo-commits
commit: 52546e351aac4e6aeab76d5a19c27d1df171226a
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Nov 24 12:13:04 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Nov 24 12:13:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52546e35
app-misc/anki-bin: add 23.10.1
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-23.10.1.ebuild | 149 ++++++++++++++++++++++++++++++
2 files changed, 156 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 4da6c6d045..91b2dbf241 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,12 @@
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
diff --git a/app-misc/anki-bin/anki-bin-23.10.1.ebuild b/app-misc/anki-bin/anki-bin-23.10.1.ebuild
new file mode 100644
index 0000000000..45918765a3
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-23.10.1.ebuild
@@ -0,0 +1,149 @@
+# 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.xpm -> ${P}.xpm
+ https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/bundle/lin/anki.xml -> ${P}.xml
+"
+
+# The program itself is licensed under AGPL-3+ with contributed portions licensed
+# under BSD-3.
+LICENSE="AGPL-3+ BSD"
+# The translation files are licensed under BSD-3 and public-domain.
+# - ftl/
+#
+# 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
+#
+# jQuery and jQuery-UI are licensed under MIT.
+# - node_modules/jquery/jquery.min.js
+# - node_modules/jquery-ui/jquery-ui.min.js
+#
+# The Flot plotting library is licensed under MIT.
+# - qt/aqt/data/web/js/vendor/plot.js
+LICENSE+=" public-domain 0BSD Apache-2.0 CC-BY-2.5 CC-BY-4.0 GPL-3+ MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
+ MPL-2.0 openssl Unicode-DFS-2016
+"
+
+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_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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-11-24 12:17 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-11-24 12:17 UTC (permalink / raw
To: gentoo-commits
commit: 0fa29bf793e9ebb51825da608a93cc2ef88b050f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Nov 24 12:17:13 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Nov 24 12:17:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fa29bf7
app-misc/anki-bin: drop 23.10-r1
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 5 --
app-misc/anki-bin/anki-bin-23.10-r1.ebuild | 88 ------------------------------
2 files changed, 93 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 91b2dbf241..dd54b02a09 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -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
diff --git a/app-misc/anki-bin/anki-bin-23.10-r1.ebuild b/app-misc/anki-bin/anki-bin-23.10-r1.ebuild
deleted file mode 100644
index 87e01eee87..0000000000
--- a/app-misc/anki-bin/anki-bin-23.10-r1.ebuild
+++ /dev/null
@@ -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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-11-27 0:32 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-11-27 0:32 UTC (permalink / raw
To: gentoo-commits
commit: e0614e3b704a9a80cbb77ff529326e6162812ab1
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Nov 27 00:31:59 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Nov 27 00:31:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0614e3b
app-misc/anki-bin: update LICENSE
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-23.10.1.ebuild | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-23.10.1.ebuild b/app-misc/anki-bin/anki-bin-23.10.1.ebuild
index 45918765a3..697a1f3924 100644
--- a/app-misc/anki-bin/anki-bin-23.10.1.ebuild
+++ b/app-misc/anki-bin/anki-bin-23.10.1.ebuild
@@ -25,10 +25,14 @@ SRC_URI="
# The program itself is licensed under AGPL-3+ with contributed portions licensed
# under BSD-3.
-LICENSE="AGPL-3+ BSD"
# 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
#
@@ -48,18 +52,14 @@ LICENSE="AGPL-3+ BSD"
# The Winpath module is licensed under MIT.
# - qt/aqt/winpaths.py
#
-# jQuery and jQuery-UI are licensed under MIT.
-# - node_modules/jquery/jquery.min.js
-# - node_modules/jquery-ui/jquery-ui.min.js
+# 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 Flot plotting library is licensed under MIT.
+# The vendored Flot plotting library is licensed under MIT.
# - qt/aqt/data/web/js/vendor/plot.js
-LICENSE+=" public-domain 0BSD Apache-2.0 CC-BY-2.5 CC-BY-4.0 GPL-3+ MIT"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
- MPL-2.0 openssl Unicode-DFS-2016
-"
+LICENSE+=" 0BSD CC-BY-4.0 CC-BY-SA-2.5 GPL-3+ Unlicense"
SLOT="0"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-12-11 13:28 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-12-11 13:28 UTC (permalink / raw
To: gentoo-commits
commit: de148e5714e6c52f5b08e25e9c7c1fda822927c3
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Dec 11 13:26:03 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Dec 11 13:26:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de148e57
app-misc/anki-bin: add 23.10.1-r1, drop 23.10.1
Fix runtime Qt detection mechanism:
Prior to this commit, Anki would select its Qt6 GUI at runtime,
if it successfully imported PyQt6.
Anki's choice of GUI framework should only depend on the qt6 USE flag.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
.../{anki-bin-23.10.1.ebuild => anki-bin-23.10.1-r1.ebuild} | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-23.10.1.ebuild b/app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild
similarity index 95%
rename from app-misc/anki-bin/anki-bin-23.10.1.ebuild
rename to app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild
index 697a1f3924..247ebe6f01 100644
--- a/app-misc/anki-bin/anki-bin-23.10.1.ebuild
+++ b/app-misc/anki-bin/anki-bin-23.10.1-r1.ebuild
@@ -19,8 +19,8 @@ SRC_URI="
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.xpm -> ${P}.xpm
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
@@ -110,13 +110,22 @@ 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.
+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
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-12-26 18:24 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-12-26 18:24 UTC (permalink / raw
To: gentoo-commits
commit: 9ea277445f22f0321e0ccec44905cbc7720fcdc0
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Dec 26 14:26:24 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue Dec 26 18:23:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ea27744
app-misc/anki-bin: add 23.12
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-23.12.ebuild | 153 ++++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index dd54b02a09..2d30c801cb 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,7 +1,14 @@
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.12.ebuild b/app-misc/anki-bin/anki-bin-23.12.ebuild
new file mode 100644
index 0000000000..5c24611d9f
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-23.12.ebuild
@@ -0,0 +1,153 @@
+# 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 ZLIB
+"
+# 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/
+#
+# 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 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? ( dev-qt/qtsvg:6
+ $(python_gen_cond_dep '
+ >=dev-python/PyQt6-6.5.0[gui,network,opengl,quick,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]
+ 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"
+
+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.
+\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}"/${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
+
+ 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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-12-26 18:24 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-12-26 18:24 UTC (permalink / raw
To: gentoo-commits
commit: fa274d11e711ab3c183de7fbd8d116951fb56440
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Dec 26 14:26:49 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> 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 <watermanpaint <AT> 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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-12-28 13:46 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-12-28 13:46 UTC (permalink / raw
To: gentoo-commits
commit: 0be7cfbe36b4d45c253a113473d68ba56dbd183f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Dec 28 13:44:00 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Dec 28 13:45:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0be7cfbe
app-misc/anki-bin: drop 23.12
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 --
app-misc/anki-bin/anki-bin-23.12.ebuild | 153 --------------------------------
2 files changed, 160 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 1dd488a7e7..7ca7724ee3 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,14 +1,7 @@
-DIST anki-23.12-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12010508 BLAKE2B 7eab5bfd30078b6e37522d424ca05ef7066dedc40952a0186dbd685b56e2e94a5ef84fce3c674be387b369abdfc0f3d0fbae3a4bdcb452c9b8477053135cf02f SHA512 b737dd54be84d2c0cb1edc154177d47b8d2871a113b9d4da57ada7c018f58a939eda2db9ea6d8efc96532ee23e2e783cdf74854372a91d4b9a0d0ff3ae511d31
DIST anki-23.12.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12020777 BLAKE2B ebc3574e301c7ccc7017c3027c5bc5dd9de7001cc101815fdbab26abbf8cd1b4fe32ff45949849ea1bbb1c5d21d2cf8ab67c4265a3adc3fa50e62b6b5cccd533 SHA512 431062df968c39d20ea13891dc1a5911cd9809914d15157bc0207f10256412f6e7002d11cb60843a314b5dfe2a71517701a5308ae8831e32a98808628229d5c9
-DIST anki-bin-23.12.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.12.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.12.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-23.12.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-23.12.1.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
DIST anki-bin-23.12.1.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
-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.12-py3-none-any.whl.zip 8061633 BLAKE2B 7808250998385b248539df386ff714bf96fd374552108b62d6fcadd7e63f8760105b350b6eac3b2d4518c1477249c1346aeffe9cd9383374e7a8b0cd9022dc75 SHA512 8504d8f2e62521aa7d5475ce89f499090654cac19c75da3c3b7182f8b66990da824f34e07ada4cc7b1c9f5d4bd71ca8d4311b5a482bea45a5dd4b244a4bf08e7
DIST aqt-23.12.1-py3-none-any.whl.zip 8061712 BLAKE2B 5239156c20834c970dd742006a2c1b3ca8a6ee7339b51640cdb67fcf46479ebe5dc1cc907ae8a87a16b1410fa6a430a115d1683d6c74eec5dcea70109aae3f5f SHA512 2f4f8a092d0d0027c86913f0086b0a0df72f4f4b9f86d3e28ab4c1ed53ca4ff871c97a39f20fb60df7f8ed09cdd40826c511ae58dbeb5293892cbe8a7f13322a
diff --git a/app-misc/anki-bin/anki-bin-23.12.ebuild b/app-misc/anki-bin/anki-bin-23.12.ebuild
deleted file mode 100644
index 5c24611d9f..0000000000
--- a/app-misc/anki-bin/anki-bin-23.12.ebuild
+++ /dev/null
@@ -1,153 +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 ZLIB
-"
-# 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/
-#
-# 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 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? ( dev-qt/qtsvg:6
- $(python_gen_cond_dep '
- >=dev-python/PyQt6-6.5.0[gui,network,opengl,quick,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]
- 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"
-
-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.
-\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}"/${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
-
- 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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2023-12-28 13:46 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2023-12-28 13:46 UTC (permalink / raw
To: gentoo-commits
commit: e50534d2977ef9cffab602d7d42e0b5269194a09
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Dec 28 13:43:38 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Dec 28 13:45:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e50534d2
app-misc/anki-bin: add 23.12.1
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-23.12.1.ebuild | 153 ++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index caa7c82ecd..1dd488a7e7 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,7 +1,14 @@
DIST anki-23.12-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12010508 BLAKE2B 7eab5bfd30078b6e37522d424ca05ef7066dedc40952a0186dbd685b56e2e94a5ef84fce3c674be387b369abdfc0f3d0fbae3a4bdcb452c9b8477053135cf02f SHA512 b737dd54be84d2c0cb1edc154177d47b8d2871a113b9d4da57ada7c018f58a939eda2db9ea6d8efc96532ee23e2e783cdf74854372a91d4b9a0d0ff3ae511d31
+DIST anki-23.12.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12020777 BLAKE2B ebc3574e301c7ccc7017c3027c5bc5dd9de7001cc101815fdbab26abbf8cd1b4fe32ff45949849ea1bbb1c5d21d2cf8ab67c4265a3adc3fa50e62b6b5cccd533 SHA512 431062df968c39d20ea13891dc1a5911cd9809914d15157bc0207f10256412f6e7002d11cb60843a314b5dfe2a71517701a5308ae8831e32a98808628229d5c9
DIST anki-bin-23.12.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-23.12.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-23.12.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-23.12.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-23.12.1.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
+DIST anki-bin-23.12.1.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
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.12-py3-none-any.whl.zip 8061633 BLAKE2B 7808250998385b248539df386ff714bf96fd374552108b62d6fcadd7e63f8760105b350b6eac3b2d4518c1477249c1346aeffe9cd9383374e7a8b0cd9022dc75 SHA512 8504d8f2e62521aa7d5475ce89f499090654cac19c75da3c3b7182f8b66990da824f34e07ada4cc7b1c9f5d4bd71ca8d4311b5a482bea45a5dd4b244a4bf08e7
+DIST aqt-23.12.1-py3-none-any.whl.zip 8061712 BLAKE2B 5239156c20834c970dd742006a2c1b3ca8a6ee7339b51640cdb67fcf46479ebe5dc1cc907ae8a87a16b1410fa6a430a115d1683d6c74eec5dcea70109aae3f5f SHA512 2f4f8a092d0d0027c86913f0086b0a0df72f4f4b9f86d3e28ab4c1ed53ca4ff871c97a39f20fb60df7f8ed09cdd40826c511ae58dbeb5293892cbe8a7f13322a
diff --git a/app-misc/anki-bin/anki-bin-23.12.1.ebuild b/app-misc/anki-bin/anki-bin-23.12.1.ebuild
new file mode 100644
index 0000000000..5c24611d9f
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-23.12.1.ebuild
@@ -0,0 +1,153 @@
+# 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 ZLIB
+"
+# 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/
+#
+# 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 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? ( dev-qt/qtsvg:6
+ $(python_gen_cond_dep '
+ >=dev-python/PyQt6-6.5.0[gui,network,opengl,quick,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]
+ 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"
+
+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.
+\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}"/${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
+
+ 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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-02-25 1:21 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-02-25 1:21 UTC (permalink / raw
To: gentoo-commits
commit: dfeb4b154a3bf03722517a05f9564d3ceb17a219
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Feb 24 21:25:40 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Feb 25 01:19:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfeb4b15
app-misc/anki-bin: add myself as a maintainer
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml
index ac2ebcfc82..6c4f9e8d84 100644
--- a/app-misc/anki-bin/metadata.xml
+++ b/app-misc/anki-bin/metadata.xml
@@ -5,6 +5,10 @@
<email>1over137@anche.no</email>
<name>Shaoyu Tseng</name>
</maintainer>
+ <maintainer type="person">
+ <email>watermanpaint@posteo.net</email>
+ <name>Lucio Sauer</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">anki</remote-id>
<remote-id type="github">ankitects/anki</remote-id>
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-04-01 20:38 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-04-01 20:38 UTC (permalink / raw
To: gentoo-commits
commit: a07a76489a0fdb2b63aa9cdd290a5d61122de0c7
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Apr 1 20:37:29 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Apr 1 20:38:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a07a7648
app-misc/anki-bin: add 24.04
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-24.04.ebuild | 157 ++++++++++++++++++++++++++++++++
2 files changed, 164 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 7ca7724ee3..b43f88f1ca 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,7 +1,14 @@
DIST anki-23.12.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12020777 BLAKE2B ebc3574e301c7ccc7017c3027c5bc5dd9de7001cc101815fdbab26abbf8cd1b4fe32ff45949849ea1bbb1c5d21d2cf8ab67c4265a3adc3fa50e62b6b5cccd533 SHA512 431062df968c39d20ea13891dc1a5911cd9809914d15157bc0207f10256412f6e7002d11cb60843a314b5dfe2a71517701a5308ae8831e32a98808628229d5c9
+DIST anki-24.04-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11228071 BLAKE2B f9ca9ef3c2d4447228f54b7d36c94def70ec4c7b2b4c99ef171f527451f46ed03e1f845f7a89b682f860723ddc9562218c3242fd7a583221b40d8598ccc1aa19 SHA512 e4ade78188ce6e1e17f4c44aeb11ab7d72eaaf0349fc72649d9d934dd24c3886bb8d5f928a61abe489ff041ae04530385dae1fae430ea955884148117e3283d6
DIST anki-bin-23.12.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.12.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-23.12.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
DIST anki-bin-23.12.1.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
DIST anki-bin-23.12.1.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
+DIST anki-bin-24.04.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
+DIST anki-bin-24.04.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
+DIST anki-bin-24.04.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
+DIST anki-bin-24.04.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
+DIST anki-bin-24.04.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
DIST aqt-23.12.1-py3-none-any.whl.zip 8061712 BLAKE2B 5239156c20834c970dd742006a2c1b3ca8a6ee7339b51640cdb67fcf46479ebe5dc1cc907ae8a87a16b1410fa6a430a115d1683d6c74eec5dcea70109aae3f5f SHA512 2f4f8a092d0d0027c86913f0086b0a0df72f4f4b9f86d3e28ab4c1ed53ca4ff871c97a39f20fb60df7f8ed09cdd40826c511ae58dbeb5293892cbe8a7f13322a
+DIST aqt-24.04-py3-none-any.whl.zip 4644250 BLAKE2B f846688d463e7a88f84c6e4a694c7d28672179750d56fb430c680f5679a9cae9df2627bd117b6a197b18e72a5478ac6dd076e20d6465dc2d211b470e54007a40 SHA512 433565ed43741f09e4ad53b9992c0921b2bb7d2c83f86a17a6f9cbb94f4a8c2297c9175dfbdbaf57008062493b12ec4ced02c62af4405f29a23af24950f6b1aa
diff --git a/app-misc/anki-bin/anki-bin-24.04.ebuild b/app-misc/anki-bin/anki-bin-24.04.ebuild
new file mode 100644
index 0000000000..71e8ec20e2
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-24.04.ebuild
@@ -0,0 +1,157 @@
+# 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
+
+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 Unicode-DFS-2016 ZLIB
+"
+# Manually added crate licenses
+LICENSE+=" openssl Unicode-3.0"
+# 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/
+#
+# 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 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? (
+ 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"
+
+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.
+\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
+ # revert fa771991c in favor of Gentoo's hack to force the system cert
+ # store on dev-python/certifi
+ sed -i '/pip_system_certs/d' aqt/__init__.py || die
+ # 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
+
+ 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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-04-28 17:55 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-04-28 17:55 UTC (permalink / raw
To: gentoo-commits
commit: a4e10baad2a874b68874246c29af72b86274ae2c
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 17:54:44 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Apr 28 17:54:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4e10baa
app-misc/anki-bin: drop 23.12.1, 24.04
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 14 ---
app-misc/anki-bin/anki-bin-23.12.1.ebuild | 153 -----------------------------
app-misc/anki-bin/anki-bin-24.04.ebuild | 157 ------------------------------
3 files changed, 324 deletions(-)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index cfb37f49bc..82ca30cc30 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,21 +1,7 @@
-DIST anki-23.12.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12020777 BLAKE2B ebc3574e301c7ccc7017c3027c5bc5dd9de7001cc101815fdbab26abbf8cd1b4fe32ff45949849ea1bbb1c5d21d2cf8ab67c4265a3adc3fa50e62b6b5cccd533 SHA512 431062df968c39d20ea13891dc1a5911cd9809914d15157bc0207f10256412f6e7002d11cb60843a314b5dfe2a71517701a5308ae8831e32a98808628229d5c9
-DIST anki-24.04-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11228071 BLAKE2B f9ca9ef3c2d4447228f54b7d36c94def70ec4c7b2b4c99ef171f527451f46ed03e1f845f7a89b682f860723ddc9562218c3242fd7a583221b40d8598ccc1aa19 SHA512 e4ade78188ce6e1e17f4c44aeb11ab7d72eaaf0349fc72649d9d934dd24c3886bb8d5f928a61abe489ff041ae04530385dae1fae430ea955884148117e3283d6
DIST anki-24.04.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11236407 BLAKE2B fc69cc25645cc29c7d1b08f3d0496bcf31e5fbd487a2e5d3a836471e875292006f83091ee2ca317ef8072a179c059d90edcd71542e1ae28a5f6fa4d9962b76c3 SHA512 6e6c7f4bab8120364ee84fb445b0f289cc44693d3c13cd17b555f108e7fb4bfa1d08f5be41aef7e2ffd2372048d60a0cc94a5ec8eb8a1ef4254e83b0768a909c
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-23.12.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-23.12.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-23.12.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-23.12.1.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
-DIST anki-bin-23.12.1.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
-DIST anki-bin-24.04.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
-DIST anki-bin-24.04.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
-DIST anki-bin-24.04.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
-DIST anki-bin-24.04.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998aafb41740010ec36da4886fa01f471855aae841d27b492e31864878e4475fa3e6096d87a9270adf00ed7e SHA512 67f2f8679acbece2c3abbb9dacb3d6f6c7428388297d9354991aa099b2d0331d028fd0de50c83d48ae0591b0b4bb2f9076edfe7fea77fd5d7429a2b83bd0f2ce
-DIST anki-bin-24.04.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
-DIST aqt-23.12.1-py3-none-any.whl.zip 8061712 BLAKE2B 5239156c20834c970dd742006a2c1b3ca8a6ee7339b51640cdb67fcf46479ebe5dc1cc907ae8a87a16b1410fa6a430a115d1683d6c74eec5dcea70109aae3f5f SHA512 2f4f8a092d0d0027c86913f0086b0a0df72f4f4b9f86d3e28ab4c1ed53ca4ff871c97a39f20fb60df7f8ed09cdd40826c511ae58dbeb5293892cbe8a7f13322a
-DIST aqt-24.04-py3-none-any.whl.zip 4644250 BLAKE2B f846688d463e7a88f84c6e4a694c7d28672179750d56fb430c680f5679a9cae9df2627bd117b6a197b18e72a5478ac6dd076e20d6465dc2d211b470e54007a40 SHA512 433565ed43741f09e4ad53b9992c0921b2bb7d2c83f86a17a6f9cbb94f4a8c2297c9175dfbdbaf57008062493b12ec4ced02c62af4405f29a23af24950f6b1aa
DIST aqt-24.04.1-py3-none-any.whl.zip 4644843 BLAKE2B bd26772de68e67a13ebba2fded6e0d8b2679ba1a50771b44ce16840fb5094bf168c6dc878aa5aadfd4836a6f697acbaeb63b7e5b6c1b0a0ad1ca0c5d541fd662 SHA512 de2eeb2d442786e1443971f83770401d383af80c10da3114b3cb9f9103e1c3a323def0a2998e3466440564dbad88b3c776555dae7224420d50a45de9706e6342
diff --git a/app-misc/anki-bin/anki-bin-23.12.1.ebuild b/app-misc/anki-bin/anki-bin-23.12.1.ebuild
deleted file mode 100644
index ba6ac59396..0000000000
--- a/app-misc/anki-bin/anki-bin-23.12.1.ebuild
+++ /dev/null
@@ -1,153 +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
-"
-
-S="${WORKDIR}"
-
-# 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 ZLIB
-"
-# 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/
-#
-# 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 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? ( dev-qt/qtsvg:6
- $(python_gen_cond_dep '
- >=dev-python/PyQt6-6.5.0[gui,network,opengl,quick,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]
- 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}"/${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
-
- 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.04.ebuild b/app-misc/anki-bin/anki-bin-24.04.ebuild
deleted file mode 100644
index 43195331a3..0000000000
--- a/app-misc/anki-bin/anki-bin-24.04.ebuild
+++ /dev/null
@@ -1,157 +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
-
-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
-"
-
-S="${WORKDIR}"
-
-# 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 Unicode-DFS-2016 ZLIB
-"
-# Manually added crate licenses
-LICENSE+=" openssl Unicode-3.0"
-# 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/
-#
-# 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 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? (
- 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
- # revert fa771991c in favor of Gentoo's hack to force the system cert
- # store on dev-python/certifi
- sed -i '/pip_system_certs/d' aqt/__init__.py || die
- # 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
-
- 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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-04-28 17:55 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-04-28 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 1d7dde327b2b20dab7d47d554f9a3e6bd0e023c6
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 17:49:41 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Apr 28 17:49:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d7dde32
app-misc/anki-bin: add 24.04.1
- Fetch and install miscellaneous files from a fixed PV instead of
recording new entries in Manifest for unchanged files upon each new
release.
- Remove redundant license comments
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-24.04.1.ebuild | 131 ++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index b43f88f1ca..cfb37f49bc 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,11 @@
DIST anki-23.12.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 12020777 BLAKE2B ebc3574e301c7ccc7017c3027c5bc5dd9de7001cc101815fdbab26abbf8cd1b4fe32ff45949849ea1bbb1c5d21d2cf8ab67c4265a3adc3fa50e62b6b5cccd533 SHA512 431062df968c39d20ea13891dc1a5911cd9809914d15157bc0207f10256412f6e7002d11cb60843a314b5dfe2a71517701a5308ae8831e32a98808628229d5c9
DIST anki-24.04-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11228071 BLAKE2B f9ca9ef3c2d4447228f54b7d36c94def70ec4c7b2b4c99ef171f527451f46ed03e1f845f7a89b682f860723ddc9562218c3242fd7a583221b40d8598ccc1aa19 SHA512 e4ade78188ce6e1e17f4c44aeb11ab7d72eaaf0349fc72649d9d934dd24c3886bb8d5f928a61abe489ff041ae04530385dae1fae430ea955884148117e3283d6
+DIST anki-24.04.1-cp39-abi3-manylinux_2_28_x86_64.whl.zip 11236407 BLAKE2B fc69cc25645cc29c7d1b08f3d0496bcf31e5fbd487a2e5d3a836471e875292006f83091ee2ca317ef8072a179c059d90edcd71542e1ae28a5f6fa4d9962b76c3 SHA512 6e6c7f4bab8120364ee84fb445b0f289cc44693d3c13cd17b555f108e7fb4bfa1d08f5be41aef7e2ffd2372048d60a0cc94a5ec8eb8a1ef4254e83b0768a909c
+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-23.12.1.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
DIST anki-bin-23.12.1.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
DIST anki-bin-23.12.1.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
@@ -12,3 +18,4 @@ DIST anki-bin-24.04.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998a
DIST anki-bin-24.04.xpm 6324 BLAKE2B 7dc61bb7a86323828f52f53194d36493f1c9355b1384a8b611829f7f2d97d844cf9d7358f8c352272440ace146593f417df261338cff4565fc3b4c0ca44e06bc SHA512 7e2821141522fe2afb07d2eca4013a0f170119856ba46bed0894c09d289133cdd64559df7e0cbcb56b73c5ee5a64215279101722865dede7982c8e6002da9d41
DIST aqt-23.12.1-py3-none-any.whl.zip 8061712 BLAKE2B 5239156c20834c970dd742006a2c1b3ca8a6ee7339b51640cdb67fcf46479ebe5dc1cc907ae8a87a16b1410fa6a430a115d1683d6c74eec5dcea70109aae3f5f SHA512 2f4f8a092d0d0027c86913f0086b0a0df72f4f4b9f86d3e28ab4c1ed53ca4ff871c97a39f20fb60df7f8ed09cdd40826c511ae58dbeb5293892cbe8a7f13322a
DIST aqt-24.04-py3-none-any.whl.zip 4644250 BLAKE2B f846688d463e7a88f84c6e4a694c7d28672179750d56fb430c680f5679a9cae9df2627bd117b6a197b18e72a5478ac6dd076e20d6465dc2d211b470e54007a40 SHA512 433565ed43741f09e4ad53b9992c0921b2bb7d2c83f86a17a6f9cbb94f4a8c2297c9175dfbdbaf57008062493b12ec4ced02c62af4405f29a23af24950f6b1aa
+DIST aqt-24.04.1-py3-none-any.whl.zip 4644843 BLAKE2B bd26772de68e67a13ebba2fded6e0d8b2679ba1a50771b44ce16840fb5094bf168c6dc878aa5aadfd4836a6f697acbaeb63b7e5b6c1b0a0ad1ca0c5d541fd662 SHA512 de2eeb2d442786e1443971f83770401d383af80c10da3114b3cb9f9103e1c3a323def0a2998e3466440564dbad88b3c776555dae7224420d50a45de9706e6342
diff --git a/app-misc/anki-bin/anki-bin-24.04.1.ebuild b/app-misc/anki-bin/anki-bin-24.04.1.ebuild
new file mode 100644
index 0000000000..56b5a7f609
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-24.04.1.ebuild
@@ -0,0 +1,131 @@
+# 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="AGPL-3+ BSD public-domain 0BSD CC-BY-4.0 GPL-3+ Unlicense"
+# 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+=" openssl Unicode-3.0"
+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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-04-28 18:00 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-04-28 18:00 UTC (permalink / raw
To: gentoo-commits
commit: cb3d7c3922e997577322f2b07b74b4ae1c55936b
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 17:58:08 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Apr 28 17:58:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3d7c39
app-misc/anki-bin: order LICENSE
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-24.04.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 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
index 56b5a7f609..59f344c71a 100644
--- a/app-misc/anki-bin/anki-bin-24.04.1.ebuild
+++ b/app-misc/anki-bin/anki-bin-24.04.1.ebuild
@@ -31,14 +31,14 @@ 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="AGPL-3+ BSD public-domain 0BSD CC-BY-4.0 GPL-3+ Unlicense"
+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+=" openssl Unicode-3.0"
+LICENSE+=" Unicode-3.0 openssl"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qt6"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-04-29 14:14 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-04-29 14:14 UTC (permalink / raw
To: gentoo-commits
commit: a3eeaa785495f148ade8c919e06dee7b38ebaa49
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Apr 29 14:12:15 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-06-20 2:41 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-06-20 2:41 UTC (permalink / raw
To: gentoo-commits
commit: 456ac8caf516b42d7868470b67651098f03712c9
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jun 13 00:22:26 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jun 20 02:40:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=456ac8ca
app-misc/anki-bin: add 24.06.2
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 7 ++
app-misc/anki-bin/anki-bin-24.06.2.ebuild | 132 ++++++++++++++++++++++++++++++
2 files changed, 139 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 82ca30cc3..8999f354b 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,7 +1,14 @@
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-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
diff --git a/app-misc/anki-bin/anki-bin-24.06.2.ebuild b/app-misc/anki-bin/anki-bin-24.06.2.ebuild
new file mode 100644
index 000000000..31964206d
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-24.06.2.ebuild
@@ -0,0 +1,132 @@
+# 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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-07-03 16:07 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-07-03 16:07 UTC (permalink / raw
To: gentoo-commits
commit: 4a3cc154f0ab7bbbe18fbce2b32fc18a7a3edc40
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jul 3 15:52:12 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 3 15:52:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a3cc154
app-misc/anki-bin: add 24.06.3
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/Manifest | 2 +
app-misc/anki-bin/anki-bin-24.06.3.ebuild | 132 ++++++++++++++++++++++++++++++
2 files changed, 134 insertions(+)
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 8999f354b..c12fa058b 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,5 +1,6 @@
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
@@ -12,3 +13,4 @@ DIST anki-bin-24.06.xml 528 BLAKE2B 237497a01901ead3a48e0282a4a270c1eee2e121998a
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.06.3.ebuild b/app-misc/anki-bin/anki-bin-24.06.3.ebuild
new file mode 100644
index 000000000..31964206d
--- /dev/null
+++ b/app-misc/anki-bin/anki-bin-24.06.3.ebuild
@@ -0,0 +1,132 @@
+# 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"
+}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-07-03 16:11 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-07-03 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 1f6c86e918f9dcfc1d1aa8e9c168da1e2dcd1196
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jul 3 16:10:45 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 3 16:10:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f6c86e9
app-misc/anki-bin: add upstream metadata
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/metadata.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/app-misc/anki-bin/metadata.xml b/app-misc/anki-bin/metadata.xml
index 7dc2b6e18..3f1d1c3bb 100644
--- a/app-misc/anki-bin/metadata.xml
+++ b/app-misc/anki-bin/metadata.xml
@@ -10,6 +10,12 @@
<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>
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-09-01 20:58 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-09-01 20:58 UTC (permalink / raw
To: gentoo-commits
commit: 37184794d17e0774459d41c5147e8f0aaeabf352
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 1 20:55:53 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 1 20:55:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37184794
app-misc/anki-bin: force Qt6 GUI
Adapt package to conform to new policy
https://wiki.gentoo.org/index.php?title=Project:Qt/Policies&diff=prev&oldid=1310293
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
...n-24.06.3.ebuild => anki-bin-24.06.3-r1.ebuild} | 53 +++++++---------------
1 file changed, 16 insertions(+), 37 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-24.06.3.ebuild b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
similarity index 71%
rename from app-misc/anki-bin/anki-bin-24.06.3.ebuild
rename to app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
index 31964206d..a2732db83 100644
--- a/app-misc/anki-bin/anki-bin-24.06.3.ebuild
+++ b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
@@ -41,11 +41,13 @@ LICENSE+="
LICENSE+=" Unicode-3.0 openssl"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="qt6"
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}]
@@ -57,24 +59,10 @@ RDEPEND="
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
+ 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"
@@ -82,15 +70,6 @@ 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
@@ -102,12 +81,12 @@ src_install() {
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
+ 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
@@ -121,10 +100,10 @@ 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]"
+ optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt6[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]
+ 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:"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-09-01 20:58 Lucio Sauer
0 siblings, 0 replies; 62+ messages in thread
From: Lucio Sauer @ 2024-09-01 20:58 UTC (permalink / raw
To: gentoo-commits
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"
-}
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-11-14 3:45 Anna Vyalkova
0 siblings, 0 replies; 62+ messages in thread
From: Anna Vyalkova @ 2024-11-14 3:45 UTC (permalink / raw
To: gentoo-commits
commit: 5f0331949a305bfdd38e25f00b9ff9074a62d09d
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov 14 03:44:01 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Nov 14 03:45:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f033194
app-misc/anki-bin: fix DependencyMoved
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
index a2732db83..068a36f32 100644
--- a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
@@ -56,7 +56,7 @@ RDEPEND="
dev-python/flask-cors[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/protobuf[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-11-24 21:06 Anna Vyalkova
0 siblings, 0 replies; 62+ messages in thread
From: Anna Vyalkova @ 2024-11-24 21:06 UTC (permalink / raw
To: gentoo-commits
commit: b88e5d6887195b47bc7775c18b787b9b30892c91
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Nov 24 20:44:40 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Nov 24 20:44:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b88e5d68
app-misc/anki-bin: rename dev-python/{PyQt6-WebEngine → pyqt6-webengine}
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
index 068a36f32..198fe0d4f 100644
--- a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
@@ -62,7 +62,7 @@ RDEPEND="
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}]')
+ >=dev-python/pyqt6-webengine-6.6.0[widgets,${PYTHON_USEDEP}]')
"
BDEPEND="app-arch/unzip"
^ permalink raw reply related [flat|nested] 62+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/
@ 2024-11-24 21:06 Anna Vyalkova
0 siblings, 0 replies; 62+ messages in thread
From: Anna Vyalkova @ 2024-11-24 21:06 UTC (permalink / raw
To: gentoo-commits
commit: 8abb856b0f6c86e4ac816f679f2002fab04369ca
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Nov 24 20:45:26 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Nov 24 20:45:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8abb856b
app-misc/anki-bin: rename dev-python/{PyQt6-sip → pyqt6-sip}
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
index 198fe0d4f..649cfbc2d 100644
--- a/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
+++ b/app-misc/anki-bin/anki-bin-24.06.3-r1.ebuild
@@ -61,7 +61,7 @@ RDEPEND="
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-sip-13.6.0[${PYTHON_USEDEP}]
>=dev-python/pyqt6-webengine-6.6.0[widgets,${PYTHON_USEDEP}]')
"
BDEPEND="app-arch/unzip"
^ permalink raw reply related [flat|nested] 62+ messages in thread
end of thread, other threads:[~2024-11-24 21:06 UTC | newest]
Thread overview: 62+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24 20:02 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/ Lucio Sauer
-- strict thread matches above, loose matches on Subject: below --
2024-11-24 21:06 Anna Vyalkova
2024-11-24 21:06 Anna Vyalkova
2024-11-14 3:45 Anna Vyalkova
2024-09-01 20:58 Lucio Sauer
2024-09-01 20:58 Lucio Sauer
2024-07-03 16:11 Lucio Sauer
2024-07-03 16:07 Lucio Sauer
2024-06-20 2:41 Lucio Sauer
2024-04-29 14:14 Lucio Sauer
2024-04-28 18:00 Lucio Sauer
2024-04-28 17:55 Lucio Sauer
2024-04-28 17:55 Lucio Sauer
2024-04-01 20:38 Lucio Sauer
2024-02-25 1:21 Lucio Sauer
2023-12-28 13:46 Lucio Sauer
2023-12-28 13:46 Lucio Sauer
2023-12-26 18:24 Lucio Sauer
2023-12-26 18:24 Lucio Sauer
2023-12-11 13:28 Lucio Sauer
2023-11-27 0:32 Lucio Sauer
2023-11-24 12:17 Lucio Sauer
2023-11-24 12:17 Lucio Sauer
2023-11-09 5:49 Amano Kenji
2023-11-02 0:58 Shaoyu Tseng
2023-08-27 19:51 Lucio Sauer
2023-08-24 20:02 Lucio Sauer
2023-06-12 7:39 Lucio Sauer
2023-06-07 19:58 Lucio Sauer
2023-06-07 19:53 Lucio Sauer
2023-06-05 22:32 Lucio Sauer
2023-05-24 22:38 Lucio Sauer
2023-05-24 22:38 Lucio Sauer
2023-05-15 19:17 Lucio Sauer
2023-05-15 19:17 Lucio Sauer
2023-05-06 22:52 Lucio Sauer
2023-05-06 22:52 Lucio Sauer
2023-03-31 22:08 Lucio Sauer
2023-03-31 22:08 Lucio Sauer
2023-02-22 16:51 Lucio Sauer
2023-02-22 16:51 Lucio Sauer
2023-02-21 0:56 Lucio Sauer
2023-01-29 19:41 Lucio Sauer
2023-01-29 19:41 Lucio Sauer
2023-01-14 19:22 Ran Rutenberg
2023-01-14 16:35 Ran Rutenberg
2023-01-10 2:40 Shaoyu Tseng
2022-12-30 2:45 Lucio Sauer
2022-12-30 2:45 Lucio Sauer
2022-11-28 18:59 Jack Sangdahl
2022-11-28 10:10 Jack Sangdahl
2022-09-18 4:37 Lucio Sauer
2022-09-18 4:37 Lucio Sauer
2022-09-16 0:50 Lucio Sauer
2022-03-28 19:52 Shaoyu Tseng
2021-10-17 16:23 Shaoyu Tseng
2021-08-08 3:51 Shaoyu Tseng
2021-07-31 8:17 Shaoyu Tseng
2021-07-30 9:27 Shaoyu Tseng
2021-07-30 9:11 Andrew Ammerlaan
2021-07-29 12:20 Shaoyu Tseng
2021-07-29 11:41 Shaoyu Tseng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox