[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/23.12.1/

2025-07-08 Thread Sam James
commit: a45888ffd84ea1a84427246938325e237cfaf756
Author: Lucio Sauer  posteo  net>
AuthorDate: Fri Jun  6 17:33:41 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  8 19:47:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a45888ff

app-misc/anki: clean up patches

* We no longer invoke the build system for running cargo-nextest since
  5cd794. Now, I'm removing the corresponding patch in
  ninja-rules-for-cargo.patch, which formerly prevented network access
  in that scenario.

Fixes: 5cd7947a1b92e982e6bc96aa3019d8ccf532bd3d
Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42917
Signed-off-by: Sam James  gentoo.org>

 .../anki/files/23.12.1/ninja-rules-for-cargo.patch | 23 --
 1 file changed, 23 deletions(-)

diff --git a/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch 
b/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
index cf9356bbc24c..8f0e65e09b86 100644
--- a/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
+++ b/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
@@ -2,9 +2,6 @@ Fix the output path for Rust binaries in the Ninja file to match
 Cargo's target directory when CARGO_BUILD_TARGET is set.  This prevents
 file-not-found errors for some build steps.
 
-Provide the cargo-nextest binary ourselves to prevent network access.
-Set test runner options in the ebuild.
-
 From: Lucio Sauer 
 --- a/build/ninja_gen/src/cargo.rs
 +++ b/build/ninja_gen/src/cargo.rs
@@ -18,23 +15,3 @@ From: Lucio Sauer 
  }
  path = path.join(profile_output_dir(build_profile)).join(filename);
  path.to_string()
-@@ -152,19 +155,11 @@ impl BuildAction for CargoTest {
- 
- fn files(&mut self, build: &mut impl FilesHandle) {
- build.add_inputs("", &self.inputs);
--build.add_inputs("", inputs![":cargo-nextest"]);
- build.add_env_var("ANKI_TEST_MODE", "1");
- build.add_output_stamp("tests/cargo_test");
- }
- 
- fn on_first_instance(&self, build: &mut Build) -> Result<()> {
--build.add_action(
--"cargo-nextest",
--CargoInstall {
--binary_name: "cargo-nextest",
--args: "cargo-nextest --version 0.9.57 --locked",
--},
--)?;
- setup_flags(build)
- }
- }



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, profiles/arch/x86/

2025-07-08 Thread Sam James
commit: 7080699971ea611bdd3dd9d6744fbd2c5daecabc
Author: Lucio Sauer  posteo  net>
AuthorDate: Mon Jul  7 12:22:56 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  8 19:47:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70806999

app-misc/anki: drop 25.02.6

* This was the last version with support for x86, so I removed all
  references to it in profiles/arch/x86.

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42917
Closes: https://github.com/gentoo/gentoo/pull/42917
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest |   5 -
 app-misc/anki/anki-25.02.6.ebuild  | 321 -
 profiles/arch/x86/package.mask |   7 -
 profiles/arch/x86/package.use.mask |   1 -
 4 files changed, 334 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index ca9594f89e58..46cc6831019f 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,12 +1,7 @@
-DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
-DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
-DIST anki-25.02.6.gh.tar.gz 2433980 BLAKE2B 
6a572f21f72f79da3e8faf384b04978bb26e2f4b0414f67658d41d434b3244641cdcab51af9027fc86280f1bdafb3790eb1a7a3de3700f231b145d959c2f81fe
 SHA512 
acb9f29842f8025752fa4dd3e5de58b6f066c85f6862d97dd44e20fe622dd49347057f8c97174c7477f5bb291210af477bd58b6e9e3f18ebde46f54c1e04380c
 DIST anki-25.07.1-crates.tar.xz 62239872 BLAKE2B 
1179594a32fd93d47f5b385db08dc023685bb9a03b01078f32e5ccff72488e0f25a2b445601362221523afd2a8816409cd965e52d7a599801349de3baef626fe
 SHA512 
f82c51a5b63518a94807e8daa1a97e50f372632c8409a285e51daa7d7988d3a358ada16e364d9bb0ad2eff042c280877743a8ce35d32ad10b10dbf4f6cd22ce2
 DIST anki-25.07.1-node_modules.tar.xz 191719888 BLAKE2B 
87748620fc8d57cf92ae5cafba6ac8ffa035a7147a2611cb432e85cf0248b76fc6020d3a13860a3ac7031e4d39b72d2aad8ab02184781326a3642c84e2f9b422
 SHA512 
6b2246600e5fd2bfbd3a589ce09cea4edeab13265889bde9ca62041d1f2ed6254f4bc4edad14a0be33bee6443bfd2576908d7084cf32ab5c2a5878343e32c1ab
 DIST anki-25.07.1.gh.tar.gz 2505851 BLAKE2B 
dace7ba31895875963f6c54f9ed0a6b97c7e4f2394b1135a4d9001a6cc0251d3b246e8de9072c556240321bd960c59cb6f38b371e582fd363c58218c50e06c15
 SHA512 
bc800d97df5ff48b9e7e7a714c836796597fbebbd66ac5ed8574c1927376ac696d67d72d5c245b71ce6534fadce13dc951212389aa22772637b9e986977ff357
-DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-core-i18n-a9216499ba1fb1538cfd740c698adaaa3410fd4b.gh.tar.gz 1663490 
BLAKE2B 
d09d9df034b9e4be426ac63eb8fbc78ef8027b5e2a75e172ee44416227ee83c4d9095b61cde87d5d1dbcc2d91d04d0891bca3b3850b99a2111932473a30167eb
 SHA512 
d59493e6cb0de6519c268ec52fc1021f34548e87553325c9b6874af8cc0bc5211e1819aad1015abe5c226517fbd179304928559cd8c404d4d53923e3917b943e
-DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
 DIST anki-desktop-ftl-a1134ab59d3d23468af2968741aa1f21d16ff308.gh.tar.gz 
248333 BLAKE2B 
b4cc10764df8ad39df670adba6a4dee54bfd07022bfe61bf3e15bf708772323cad892a299f0641f67f49cbfe499cd01caed5479f8855bc852316549c9ecbe858
 SHA512 
23b745671edb3be1f5c42f6b657a6c36e3892e70276765652b3d80d5e5eab149a6420cbaac97b193f18241eb969cdd77e97df697c12590bbcc78e34c779dc027
 DIST linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca.gh.tar.gz 19408 
BLAKE2B 
c5e4f155f2d79d6d4340eaf3caaab8cbc0a558bc351d06b6c77ac4b61afa4172f5e3497106d5535b79911c7697a74ef8765f3fdcb7b602edb7524d6b5169a6fc
 SHA512 
2cff7ad872c9ce3b29a8c74f9ce1ca365f6c381e1d9bc5da46bb34d0687708164ad86fb78baecdb596de37f79f891d1326b994348e51f4e74ec2731da23034d4
 DIST rust-url-bb930b8d089f4d30d7d19c12e54e66191de47b88.gh.tar.gz 394844 
BLAKE2B 
e3c0cabca18a77cc71bb9982bbd7d49c540f5a597c993f66fb9cf52b0a4ecce2ef909cfe9b466767c0021c3adf8a0b9733d40e90d341bd2a97b5e9cbcc8e8037
 SHA512 
bad4ba7801168bed869ef3b9510566ed625fe345b3209f08d781

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/

2025-07-08 Thread Sam James
commit: 794a949f0391b5c4fbfed8a4d603e47a6b3d1b3f
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Jul  6 07:47:06 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  8 19:47:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794a949f

app-misc/anki: add 25.07.1

* Upstream now generates the wheels using the hatchling backend and uv
  as frontend. Since the disutils-r1 eclass calls the backend directly
  using dev-python/gpep517, we can remove all references to the frontend
  and omit the dependency.

* Follow up on 0d7c8f89 and drop the x86 keyword.
* Disable pytest plugin autoload.
* Extract Python-specific code into the appropriate sub-phases.
* Invoke cargo-nextest with common options found across ::gentoo.
* Use edo where it's sensible.

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42917
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest |   5 +
 app-misc/anki/anki-25.07.1.ebuild  | 314 +
 .../anki/files/anki-25.07.1-remove-aqt-data.patch  |  19 ++
 3 files changed, 338 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index df330c0abc8c..ca9594f89e58 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,7 +1,12 @@
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
 DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.6.gh.tar.gz 2433980 BLAKE2B 
6a572f21f72f79da3e8faf384b04978bb26e2f4b0414f67658d41d434b3244641cdcab51af9027fc86280f1bdafb3790eb1a7a3de3700f231b145d959c2f81fe
 SHA512 
acb9f29842f8025752fa4dd3e5de58b6f066c85f6862d97dd44e20fe622dd49347057f8c97174c7477f5bb291210af477bd58b6e9e3f18ebde46f54c1e04380c
+DIST anki-25.07.1-crates.tar.xz 62239872 BLAKE2B 
1179594a32fd93d47f5b385db08dc023685bb9a03b01078f32e5ccff72488e0f25a2b445601362221523afd2a8816409cd965e52d7a599801349de3baef626fe
 SHA512 
f82c51a5b63518a94807e8daa1a97e50f372632c8409a285e51daa7d7988d3a358ada16e364d9bb0ad2eff042c280877743a8ce35d32ad10b10dbf4f6cd22ce2
+DIST anki-25.07.1-node_modules.tar.xz 191719888 BLAKE2B 
87748620fc8d57cf92ae5cafba6ac8ffa035a7147a2611cb432e85cf0248b76fc6020d3a13860a3ac7031e4d39b72d2aad8ab02184781326a3642c84e2f9b422
 SHA512 
6b2246600e5fd2bfbd3a589ce09cea4edeab13265889bde9ca62041d1f2ed6254f4bc4edad14a0be33bee6443bfd2576908d7084cf32ab5c2a5878343e32c1ab
+DIST anki-25.07.1.gh.tar.gz 2505851 BLAKE2B 
dace7ba31895875963f6c54f9ed0a6b97c7e4f2394b1135a4d9001a6cc0251d3b246e8de9072c556240321bd960c59cb6f38b371e582fd363c58218c50e06c15
 SHA512 
bc800d97df5ff48b9e7e7a714c836796597fbebbd66ac5ed8574c1927376ac696d67d72d5c245b71ce6534fadce13dc951212389aa22772637b9e986977ff357
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
+DIST anki-core-i18n-a9216499ba1fb1538cfd740c698adaaa3410fd4b.gh.tar.gz 1663490 
BLAKE2B 
d09d9df034b9e4be426ac63eb8fbc78ef8027b5e2a75e172ee44416227ee83c4d9095b61cde87d5d1dbcc2d91d04d0891bca3b3850b99a2111932473a30167eb
 SHA512 
d59493e6cb0de6519c268ec52fc1021f34548e87553325c9b6874af8cc0bc5211e1819aad1015abe5c226517fbd179304928559cd8c404d4d53923e3917b943e
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
+DIST anki-desktop-ftl-a1134ab59d3d23468af2968741aa1f21d16ff308.gh.tar.gz 
248333 BLAKE2B 
b4cc10764df8ad39df670adba6a4dee54bfd07022bfe61bf3e15bf708772323cad892a299f0641f67f49cbfe499cd01caed5479f8855bc852316549c9ecbe858
 SHA512 
23b745671edb3be1f5c42f6b657a6c36e3892e70276765652b3d80d5e5eab149a6420cbaac97b193f18241eb969cdd77e97df697c12590bbcc78e34c779dc027
 DIST linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca.gh.tar.gz 19408 
BLAKE2B 
c5e4f155f2d79d6d4340eaf3caaab8cbc0a558bc351d06b6c77ac4b61afa4172f5e3497106d5535b79911c7697a74ef8765f3fdcb7b602edb7524d6b5169a6fc
 SHA512 
2cff7ad872c9ce3b29a8c74f9ce1ca365f6c381e1d9bc5da46bb34d0687708164ad86fb78baecdb596de3

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-07-08 Thread Sam James
commit: e2be7d474cfecfa7e5c59a7a6f43def6d68231cc
Author: Lucio Sauer  posteo  net>
AuthorDate: Sat Jun  7 20:12:23 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  8 19:47:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2be7d47

app-misc/anki: add missing bdep dev-python/gpep517

This ebuild uses distutils_wheel_install but sets DISTUTILS_PEP517=no
which means we need to add the build-time dependency ourselves.

Fixes: e6b81091d520c123d552d521073088a19748ee78
Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42917
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-25.02.6.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/anki/anki-25.02.6.ebuild 
b/app-misc/anki/anki-25.02.6.ebuild
index 4797f3be475f..a55039c92807 100644
--- a/app-misc/anki/anki-25.02.6.ebuild
+++ b/app-misc/anki/anki-25.02.6.ebuild
@@ -104,6 +104,7 @@ BDEPEND="
>=net-libs/nodejs-20.12.1
sys-apps/yarn
$(python_gen_cond_dep '
+   >=dev-python/gpep517-16[${PYTHON_USEDEP}]
dev-python/pyqt6[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
')



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-06-02 Thread Sam James
commit: 7aa2e46b691ea76899041c63abd6d7625c98caae
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Jun  1 10:55:37 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  2 21:40:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa2e46b

app-misc/anki: drop 25.02.5

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42384
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest|   1 -
 app-misc/anki/anki-25.02.5.ebuild | 320 --
 2 files changed, 321 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 52792f81101f..df330c0abc8c 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,6 +1,5 @@
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
 DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
-DIST anki-25.02.5.gh.tar.gz 2433426 BLAKE2B 
95518d0038c5f697ebae0ce8a04a5ff67419c7a15e99205574e6c3ab94543cd05d3d9dc636decc3e4de1ebc294bb0c9649cd2eb4a717e53c1d6051c85472f48c
 SHA512 
39f98052d8869e3170b65eca472b02edd61d83f6b4c2628c0351c239a68ccea7da4d8488e11cb23ea1d3df7b9be6d1b1ef84b9ea0e14650ab0d4e65b06e38656
 DIST anki-25.02.6.gh.tar.gz 2433980 BLAKE2B 
6a572f21f72f79da3e8faf384b04978bb26e2f4b0414f67658d41d434b3244641cdcab51af9027fc86280f1bdafb3790eb1a7a3de3700f231b145d959c2f81fe
 SHA512 
acb9f29842f8025752fa4dd3e5de58b6f066c85f6862d97dd44e20fe622dd49347057f8c97174c7477f5bb291210af477bd58b6e9e3f18ebde46f54c1e04380c
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a

diff --git a/app-misc/anki/anki-25.02.5.ebuild 
b/app-misc/anki/anki-25.02.5.ebuild
deleted file mode 100644
index 8fcfad92f488..
--- a/app-misc/anki/anki-25.02.5.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=no
-PYTHON_COMPAT=( python3_{11..13} )
-
-declare -A GIT_CRATES=(
-   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
-   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
-)
-RUST_MIN_VER="1.82.0"
-
-inherit cargo desktop distutils-r1 greadme multiprocessing ninja-utils \
-   optfeature toolchain-funcs xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/";
-
-declare -A COMMITS=(
-   [anki]="29192d156ae60d6ce35e80ccf815a8331c9db724"
-   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e"
-   [ftl-desktop]="17216b03db7249600542e388bd4ea124478400e5"
-)
-SRC_URI="${CARGO_CRATE_URIS}
-   https://github.com/ankitects/anki/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
-   
https://github.com/ankitects/anki-core-i18n/archive/${COMMITS[ftl-core]}.tar.gz
-   -> anki-core-i18n-${COMMITS[ftl-core]}.gh.tar.gz
-   
https://github.com/ankitects/anki-desktop-ftl/archive/${COMMITS[ftl-desktop]}.tar.gz
-   -> anki-desktop-ftl-${COMMITS[ftl-desktop]}.gh.tar.gz
-   
https://github.com/gentoo-crate-dist/anki/releases/download/${PV}/${P}-crates.tar.xz
-   gui? (
-   https://home.cit.tum.de/~salu/distfiles/anki-25.02.4-node_modules.tar.xz
-   )
-"
-# 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 gui? ( 0BSD CC-BY-4.0 GPL-3+ )"
-# Dependent crate licenses
-LICENSE+="
-   Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT
-   MPL-2.0 Unicode-3.0 Unicode-DF

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-06-02 Thread Sam James
commit: 681940692d64106e98ff5ec73ec13de4f9706daf
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Jun  1 10:54:48 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  2 21:40:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68194069

app-misc/anki: add 25.02.6

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42384
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest|   1 +
 app-misc/anki/anki-25.02.6.ebuild | 320 ++
 2 files changed, 321 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 0cb70a3a0555..52792f81101f 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,6 +1,7 @@
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
 DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.5.gh.tar.gz 2433426 BLAKE2B 
95518d0038c5f697ebae0ce8a04a5ff67419c7a15e99205574e6c3ab94543cd05d3d9dc636decc3e4de1ebc294bb0c9649cd2eb4a717e53c1d6051c85472f48c
 SHA512 
39f98052d8869e3170b65eca472b02edd61d83f6b4c2628c0351c239a68ccea7da4d8488e11cb23ea1d3df7b9be6d1b1ef84b9ea0e14650ab0d4e65b06e38656
+DIST anki-25.02.6.gh.tar.gz 2433980 BLAKE2B 
6a572f21f72f79da3e8faf384b04978bb26e2f4b0414f67658d41d434b3244641cdcab51af9027fc86280f1bdafb3790eb1a7a3de3700f231b145d959c2f81fe
 SHA512 
acb9f29842f8025752fa4dd3e5de58b6f066c85f6862d97dd44e20fe622dd49347057f8c97174c7477f5bb291210af477bd58b6e9e3f18ebde46f54c1e04380c
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
 DIST linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca.gh.tar.gz 19408 
BLAKE2B 
c5e4f155f2d79d6d4340eaf3caaab8cbc0a558bc351d06b6c77ac4b61afa4172f5e3497106d5535b79911c7697a74ef8765f3fdcb7b602edb7524d6b5169a6fc
 SHA512 
2cff7ad872c9ce3b29a8c74f9ce1ca365f6c381e1d9bc5da46bb34d0687708164ad86fb78baecdb596de37f79f891d1326b994348e51f4e74ec2731da23034d4

diff --git a/app-misc/anki/anki-25.02.6.ebuild 
b/app-misc/anki/anki-25.02.6.ebuild
new file mode 100644
index ..4797f3be475f
--- /dev/null
+++ b/app-misc/anki/anki-25.02.6.ebuild
@@ -0,0 +1,320 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{11..13} )
+
+declare -A GIT_CRATES=(
+   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
+   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
+)
+RUST_MIN_VER="1.82.0"
+
+inherit cargo desktop distutils-r1 greadme multiprocessing ninja-utils \
+   optfeature toolchain-funcs xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/";
+
+declare -A COMMITS=(
+   [anki]="6381f1845ff2e79f4a424e6978c2a3e9bbb91735"
+   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e"
+   [ftl-desktop]="17216b03db7249600542e388bd4ea124478400e5"
+)
+SRC_URI="${CARGO_CRATE_URIS}
+   https://github.com/ankitects/anki/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
+   
https://github.com/ankitects/anki-core-i18n/archive/${COMMITS[ftl-core]}.tar.gz
+   -> anki-core-i18n-${COMMITS[ftl-core]}.gh.tar.gz
+   
https://github.com/ankitects/anki-desktop-ftl/archive/${COMMITS[ftl-desktop]}.tar.gz
+   -> anki-desktop-ftl-${COMMITS[ftl-desktop]}.gh.tar.gz
+   
https://github.com/gentoo-crate-dist/anki/releases/download/25.02.5/anki-25.02.5-crates.tar.xz
+   gui? (
+   https://home.cit.tum.de/~salu/distfiles/anki-25.02.4-node_modules.tar.xz
+   )
+"
+# How to get an up-to-date

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-05-21 Thread Sam James
commit: f5d47c287288c0dd68308f3b1817acad21a6402f
Author: Lucio Sauer  posteo  net>
AuthorDate: Thu May 15 13:21:50 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 21 21:01:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d47c28

app-misc/anki: drop 25.02.4

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42135
Closes: https://github.com/gentoo/gentoo/pull/42135
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest|   2 -
 app-misc/anki/anki-25.02.4.ebuild | 320 --
 2 files changed, 322 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index edc5c6442eb1..0cb70a3a0555 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,6 +1,4 @@
-DIST anki-25.02.4-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
-DIST anki-25.02.4.gh.tar.gz 2430814 BLAKE2B 
3351b23dd47686d8048dd55783e0a8ea1d90ed8f329aecab141ef4bf2c044278e66b4f0369d70ca57020a6f4ab4deda2358185fd89d36eab25b8faade9149d53
 SHA512 
d371c79e6f78af07420c7384a47eef63e6764775386c94fa52203d2bb03929b8176b51e042de70613d1985317c840fcb3ff9c9cb9f7147d19312a4e505d4b766
 DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.5.gh.tar.gz 2433426 BLAKE2B 
95518d0038c5f697ebae0ce8a04a5ff67419c7a15e99205574e6c3ab94543cd05d3d9dc636decc3e4de1ebc294bb0c9649cd2eb4a717e53c1d6051c85472f48c
 SHA512 
39f98052d8869e3170b65eca472b02edd61d83f6b4c2628c0351c239a68ccea7da4d8488e11cb23ea1d3df7b9be6d1b1ef84b9ea0e14650ab0d4e65b06e38656
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910

diff --git a/app-misc/anki/anki-25.02.4.ebuild 
b/app-misc/anki/anki-25.02.4.ebuild
deleted file mode 100644
index e44cda7b6283..
--- a/app-misc/anki/anki-25.02.4.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=no
-PYTHON_COMPAT=( python3_{11..13} )
-
-declare -A GIT_CRATES=(
-   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
-   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
-)
-RUST_MIN_VER="1.82.0"
-
-inherit cargo desktop distutils-r1 greadme multiprocessing ninja-utils \
-   optfeature toolchain-funcs xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/";
-
-declare -A COMMITS=(
-   [anki]="a5c33ad07de95640994cefd70c5a9a89ed5a0c62"
-   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e"
-   [ftl-desktop]="17216b03db7249600542e388bd4ea124478400e5"
-)
-SRC_URI="${CARGO_CRATE_URIS}
-   https://github.com/ankitects/anki/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
-   
https://github.com/ankitects/anki-core-i18n/archive/${COMMITS[ftl-core]}.tar.gz
-   -> anki-core-i18n-${COMMITS[ftl-core]}.gh.tar.gz
-   
https://github.com/ankitects/anki-desktop-ftl/archive/${COMMITS[ftl-desktop]}.tar.gz
-   -> anki-desktop-ftl-${COMMITS[ftl-desktop]}.gh.tar.gz
-   
https://git.sr.ht/~antecrescent/gentoo-files/blob/main/app-misc/anki/${P}-crates.tar.xz
-   gui? (
-   
https://git.sr.ht/~antecrescent/gentoo-files/blob/main/app-misc/anki/${P}-node_modules.tar.xz
-   )
-"
-# 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 gui? ( 0BSD CC-BY-4.0 GPL-3+ )"
-# Dependent crate licenses
-LICENSE+="
-   Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 CC0-1.0 ISC MIT
-

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-05-21 Thread Sam James
commit: 32f5552f1eb4870ec5935c59341b1365aa627daa
Author: Lucio Sauer  posteo  net>
AuthorDate: Thu May 15 13:17:32 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 21 21:01:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f5552f

app-misc/anki: add 25.02.5

Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42135
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest|   2 +
 app-misc/anki/anki-25.02.5.ebuild | 320 ++
 2 files changed, 322 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index fd5adea6f464..edc5c6442eb1 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,6 +1,8 @@
 DIST anki-25.02.4-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
 DIST anki-25.02.4.gh.tar.gz 2430814 BLAKE2B 
3351b23dd47686d8048dd55783e0a8ea1d90ed8f329aecab141ef4bf2c044278e66b4f0369d70ca57020a6f4ab4deda2358185fd89d36eab25b8faade9149d53
 SHA512 
d371c79e6f78af07420c7384a47eef63e6764775386c94fa52203d2bb03929b8176b51e042de70613d1985317c840fcb3ff9c9cb9f7147d19312a4e505d4b766
+DIST anki-25.02.5-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
+DIST anki-25.02.5.gh.tar.gz 2433426 BLAKE2B 
95518d0038c5f697ebae0ce8a04a5ff67419c7a15e99205574e6c3ab94543cd05d3d9dc636decc3e4de1ebc294bb0c9649cd2eb4a717e53c1d6051c85472f48c
 SHA512 
39f98052d8869e3170b65eca472b02edd61d83f6b4c2628c0351c239a68ccea7da4d8488e11cb23ea1d3df7b9be6d1b1ef84b9ea0e14650ab0d4e65b06e38656
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
 DIST linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca.gh.tar.gz 19408 
BLAKE2B 
c5e4f155f2d79d6d4340eaf3caaab8cbc0a558bc351d06b6c77ac4b61afa4172f5e3497106d5535b79911c7697a74ef8765f3fdcb7b602edb7524d6b5169a6fc
 SHA512 
2cff7ad872c9ce3b29a8c74f9ce1ca365f6c381e1d9bc5da46bb34d0687708164ad86fb78baecdb596de37f79f891d1326b994348e51f4e74ec2731da23034d4

diff --git a/app-misc/anki/anki-25.02.5.ebuild 
b/app-misc/anki/anki-25.02.5.ebuild
new file mode 100644
index ..8fcfad92f488
--- /dev/null
+++ b/app-misc/anki/anki-25.02.5.ebuild
@@ -0,0 +1,320 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{11..13} )
+
+declare -A GIT_CRATES=(
+   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
+   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
+)
+RUST_MIN_VER="1.82.0"
+
+inherit cargo desktop distutils-r1 greadme multiprocessing ninja-utils \
+   optfeature toolchain-funcs xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/";
+
+declare -A COMMITS=(
+   [anki]="29192d156ae60d6ce35e80ccf815a8331c9db724"
+   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e"
+   [ftl-desktop]="17216b03db7249600542e388bd4ea124478400e5"
+)
+SRC_URI="${CARGO_CRATE_URIS}
+   https://github.com/ankitects/anki/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
+   
https://github.com/ankitects/anki-core-i18n/archive/${COMMITS[ftl-core]}.tar.gz
+   -> anki-core-i18n-${COMMITS[ftl-core]}.gh.tar.gz
+   
https://github.com/ankitects/anki-desktop-ftl/archive/${COMMITS[ftl-d

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-05-03 Thread Sam James
commit: 32312bfa1873318a4c15ae14e7dc7a6a1e3b6a14
Author: Lucio Sauer  posteo  net>
AuthorDate: Sat May  3 08:46:37 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  4 06:07:19 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32312bfa

app-misc/anki: create README.gentoo before attempting to install it

* Switch to greadme.eclass for customizability based on gui USE flag
* Drop forced printing of README since I believe all users should have
  switched to a version >24.06.3-r1 by now.

Closes: https://bugs.gentoo.org/955110
Fixes: e6b81091 (add 25.02)
Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/41898
Closes: https://github.com/gentoo/gentoo/pull/41898
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-25.02.4.ebuild | 40 +++
 1 file changed, 24 insertions(+), 16 deletions(-)

diff --git a/app-misc/anki/anki-25.02.4.ebuild 
b/app-misc/anki/anki-25.02.4.ebuild
index 89490f723003..e44cda7b6283 100644
--- a/app-misc/anki/anki-25.02.4.ebuild
+++ b/app-misc/anki/anki-25.02.4.ebuild
@@ -15,8 +15,8 @@ declare -A GIT_CRATES=(
 )
 RUST_MIN_VER="1.82.0"
 
-inherit cargo desktop distutils-r1 eapi9-ver multiprocessing ninja-utils \
-   optfeature readme.gentoo-r1 toolchain-funcs xdg
+inherit cargo desktop distutils-r1 greadme multiprocessing ninja-utils \
+   optfeature toolchain-funcs xdg
 
 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
 HOMEPAGE="https://apps.ankiweb.net/";
@@ -257,18 +257,6 @@ src_test() {
 }
 
 python_install_all() {
-   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
-   https://addon-docs.ankiweb.net/";
-
-   readme.gentoo_create_doc
pushd qt/bundle/lin > /dev/null || die
doman anki.1
doicon anki.{png,xpm}
@@ -286,16 +274,36 @@ python_install_all() {
 }
 
 src_install() {
+   greadme_stdin <<- EOF
+   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/
+   EOF
+
if use gui; then
+   greadme_stdin --append <<-EOF
+   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.
+
+   ENABLE_QT5_COMPAT may be removed in the future, so this is not a
+   long-term solution.
+   EOF
+
distutils-r1_src_install
else
cargo_src_install --path rslib/sync
fi
 }
 
+pkg_preinst() {
+   greadme_pkg_preinst
+   use gui && xdg_pkg_preinst
+}
+
 pkg_postinst() {
-   ver_replacing -lt 24.06.3-r1 && local FORCE_PRINT_ELOG=1
-   readme.gentoo_print_elog
+   greadme_pkg_postinst
if use gui; then
xdg_pkg_postinst
optfeature "LaTeX in cards" "app-text/texlive[extra] 
app-text/dvipng"



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-05-03 Thread Sam James
commit: a82fffe3bf6c9fc44b8c54102eaf5f0eed385e39
Author: Lucio Sauer  posteo  net>
AuthorDate: Sat May  3 08:45:40 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  4 06:07:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82fffe3

app-misc/anki: drop 25.02

Closes: https://bugs.gentoo.org/953565 (obsolete)
Bug: https://bugs.gentoo.org/954770
Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/41898
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest  |   3 -
 app-misc/anki/anki-25.02.ebuild | 312 
 2 files changed, 315 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 07ffb78cc5b4..fd5adea6f464 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,9 +1,6 @@
-DIST anki-25.02-crates.tar.xz 57556076 BLAKE2B 
0e462ffb783c1f0b53b351731a533e9960c4a99112cbbea6295503fe67815dc98702c6e3f66ba4804b6b1490a28b5ef6194579afee07c78e1685b5dcd8b9f260
 SHA512 
e7aa3051e6d8284318b8391923005a8327fd5cd67737a63625fde457ca9f8a1755e84e4e16cac6e8214e38bff12c04c52e77ecd2915932d258ace5d345a06e8f
-DIST anki-25.02-node_modules.tar.xz 64214728 BLAKE2B 
544741219f34785f11410db34ebedf15ef8abcf59bcee3cc8ebe847ee260901d70a601fbf681c3d48bd1cc1819ed6198a9e6092e504baca5c1be007cb4325127
 SHA512 
d144e7c7e4431220eab9fdf55312aa5eb56f53990472add261273a5f7377ee6b813e5ca64ae8782763c6ef1eb550c7e034eecfc3c5656fa13366761d46dc328c
 DIST anki-25.02.4-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
 DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
 DIST anki-25.02.4.gh.tar.gz 2430814 BLAKE2B 
3351b23dd47686d8048dd55783e0a8ea1d90ed8f329aecab141ef4bf2c044278e66b4f0369d70ca57020a6f4ab4deda2358185fd89d36eab25b8faade9149d53
 SHA512 
d371c79e6f78af07420c7384a47eef63e6764775386c94fa52203d2bb03929b8176b51e042de70613d1985317c840fcb3ff9c9cb9f7147d19312a4e505d4b766
-DIST anki-25.02.gh.tar.gz 2428530 BLAKE2B 
b9318b453b2b706b44ae42f43f62b84070cde45a3d5ee053b7836dc408731cf5953007a907731fd18d06ed8a3372c32b57896b997c17a8db0d7e361202868a92
 SHA512 
57806830936e73b0d785075616b71f7b471f49aff2bde589f790b1c8f48c75477423e42eee4761c3001fac12c0412ec011f2661ea3e94813040631ef5fafddfc
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
 DIST linkcheck-184b2ca50ed39ca43da13f0b830a463861adb9ca.gh.tar.gz 19408 
BLAKE2B 
c5e4f155f2d79d6d4340eaf3caaab8cbc0a558bc351d06b6c77ac4b61afa4172f5e3497106d5535b79911c7697a74ef8765f3fdcb7b602edb7524d6b5169a6fc
 SHA512 
2cff7ad872c9ce3b29a8c74f9ce1ca365f6c381e1d9bc5da46bb34d0687708164ad86fb78baecdb596de37f79f891d1326b994348e51f4e74ec2731da23034d4

diff --git a/app-misc/anki/anki-25.02.ebuild b/app-misc/anki/anki-25.02.ebuild
deleted file mode 100644
index 731449d3aec7..
--- a/app-misc/anki/anki-25.02.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=no
-PYTHON_COMPAT=( python3_{11..13} )
-
-declare -A GIT_CRATES=(
-   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
-   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
-)
-RUST_MIN_VER="1.82.0"
-
-inherit cargo desktop distutils-r1 eapi9-ver multiprocessing ninja-utils \
-   optfeature readme.gentoo-r1 toolchain-funcs xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net/";
-
-declare -A COMMITS=(
-   [anki]="038d85b1d9e1896e93a3e4a26f600c79ddc33611"
-   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-04-29 Thread Sam James
commit: ca324d3ed46adadd49324b2b751f3ad9f7f265df
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Apr 27 00:38:03 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 29 19:43:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca324d3e

app-misc/anki: add 25.02.4

Bug: https://bugs.gentoo.org/953565
Bug: https://bugs.gentoo.org/954770
Signed-off-by: Lucio Sauer  posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/41783
Closes: https://github.com/gentoo/gentoo/pull/41783
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest|   3 +
 app-misc/anki/anki-25.02.4.ebuild | 312 ++
 2 files changed, 315 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index bee0df649520..07ffb78cc5b4 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,5 +1,8 @@
 DIST anki-25.02-crates.tar.xz 57556076 BLAKE2B 
0e462ffb783c1f0b53b351731a533e9960c4a99112cbbea6295503fe67815dc98702c6e3f66ba4804b6b1490a28b5ef6194579afee07c78e1685b5dcd8b9f260
 SHA512 
e7aa3051e6d8284318b8391923005a8327fd5cd67737a63625fde457ca9f8a1755e84e4e16cac6e8214e38bff12c04c52e77ecd2915932d258ace5d345a06e8f
 DIST anki-25.02-node_modules.tar.xz 64214728 BLAKE2B 
544741219f34785f11410db34ebedf15ef8abcf59bcee3cc8ebe847ee260901d70a601fbf681c3d48bd1cc1819ed6198a9e6092e504baca5c1be007cb4325127
 SHA512 
d144e7c7e4431220eab9fdf55312aa5eb56f53990472add261273a5f7377ee6b813e5ca64ae8782763c6ef1eb550c7e034eecfc3c5656fa13366761d46dc328c
+DIST anki-25.02.4-crates.tar.xz 57606472 BLAKE2B 
40f976c4e20c6ecd0877db05a733bd66b608e1e054177479ec3068a5d9d8b8dcd32495a4c81caee4e37e12090bb8b000f41f7c3162e3d7b80dbe522bca797f47
 SHA512 
f382f304ead6edee5c64472945ac56fb418adf046129c45771862ff5732a1a944f84e6d80ef590f11bde2ca2058c989ed70847ebb791f101af9a3ad34285d396
+DIST anki-25.02.4-node_modules.tar.xz 304237316 BLAKE2B 
270db46a9d7d64f87a57052f82071108e78371805e68c7d426dad268edd4f548b2ace4e7f2712597f4894e7c4d20fa7a9e72e3cd2278f023317f40361bcf3a37
 SHA512 
820495a61a3bf5bdaeaf40c4ae6d1b1cf3a9b2924494c40c66065b4b4214e52cfaf6477af2b7e801500e180f8c6956881c5206b049996ab0ae58f45966a368f4
+DIST anki-25.02.4.gh.tar.gz 2430814 BLAKE2B 
3351b23dd47686d8048dd55783e0a8ea1d90ed8f329aecab141ef4bf2c044278e66b4f0369d70ca57020a6f4ab4deda2358185fd89d36eab25b8faade9149d53
 SHA512 
d371c79e6f78af07420c7384a47eef63e6764775386c94fa52203d2bb03929b8176b51e042de70613d1985317c840fcb3ff9c9cb9f7147d19312a4e505d4b766
 DIST anki-25.02.gh.tar.gz 2428530 BLAKE2B 
b9318b453b2b706b44ae42f43f62b84070cde45a3d5ee053b7836dc408731cf5953007a907731fd18d06ed8a3372c32b57896b997c17a8db0d7e361202868a92
 SHA512 
57806830936e73b0d785075616b71f7b471f49aff2bde589f790b1c8f48c75477423e42eee4761c3001fac12c0412ec011f2661ea3e94813040631ef5fafddfc
 DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a

diff --git a/app-misc/anki/anki-25.02.4.ebuild 
b/app-misc/anki/anki-25.02.4.ebuild
new file mode 100644
index ..89490f723003
--- /dev/null
+++ b/app-misc/anki/anki-25.02.4.ebuild
@@ -0,0 +1,312 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{11..13} )
+
+declare -A GIT_CRATES=(
+   
[linkcheck]='https://github.com/ankitects/linkcheck;184b2ca50ed39ca43da13f0b830a463861adb9ca;linkcheck-%commit%'
+   
[percent-encoding-iri]='https://github.com/ankitects/rust-url;bb930b8d089f4d30d7d19c12e54e66191de47b88;rust-url-%commit%/percent_encoding'
+)
+RUST_MIN_VER="1.82.0"
+
+inherit cargo desktop distutils-r1 eapi9-ver multiprocessing ninja-utils \
+   optfeature readme.gentoo-r1 toolchain-funcs xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net/";
+
+declare -A COMMITS=(
+   [anki]="a5c33ad07de95640994cefd70c5a9a89ed5a0c62"
+   [ftl-core]="0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e"
+   [ftl-desktop]="17216b03db7249600542e388bd4ea124478400e5"
+)
+SRC_URI="${CARGO_CRATE_URIS}
+   https://github.com/ankitects/anki/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
+   
https://github.com/ankitects/anki-core-i18n/archive/${COMMITS[ftl-core]}.tar.gz
+   -> anki-core-i18

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-03-09 Thread Sam James
commit: e6b81091d520c123d552d521073088a19748ee78
Author: Lucio Sauer  posteo  net>
AuthorDate: Mon Mar  3 14:11:50 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 10 03:55:27 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6b81091

app-misc/anki: add 25.02

The switch from python-single-r1 to distutils-r1 allows for some
improvements:
- Run the Python tests in a venv against the freshly compiled wheels
  using distutils_enable_tests.
- Compile extra documentation using distutils_enable_sphinx.
Another improvement over 24.11:
- Don't use the build system runner to run tests and to build the wheels
  so that we can drop the corresponding patches in favor of calling the
  test runners and eninja directly.

Closes: https://bugs.gentoo.org/950119
Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/Manifest  |   5 +
 app-misc/anki/anki-25.02.ebuild | 312 
 2 files changed, 317 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index baeb3f2a49b8..10360697336a 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -10,7 +10,12 @@ DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 
4385a4875aadaacd5284a9ca7d1bf8a7bf1
 DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 
86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e
 SHA512 
b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
 DIST anes-0.1.6.crate 23857 BLAKE2B 
9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61
 SHA512 
f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29
 DIST anki-24.11.gh.tar.gz 2422141 BLAKE2B 
1892e09d6154e5caf8f66a67e6289ea169afecb14f0f9c772b431d8d152e1bc1e98ebbd39c67718bae1aa1e079531e8ccd76e5fc7969fec7e2e06abb83a213d1
 SHA512 
b3ca07e1fac4367ee2ec45911d6c4ba51cfe5a004d393ce1bdcaf677ab11dcf96e926108569f929aaf70326351b224042efeccfd98dd4533e1acd6cc60945690
+DIST anki-25.02-crates.tar.xz 57556076 BLAKE2B 
0e462ffb783c1f0b53b351731a533e9960c4a99112cbbea6295503fe67815dc98702c6e3f66ba4804b6b1490a28b5ef6194579afee07c78e1685b5dcd8b9f260
 SHA512 
e7aa3051e6d8284318b8391923005a8327fd5cd67737a63625fde457ca9f8a1755e84e4e16cac6e8214e38bff12c04c52e77ecd2915932d258ace5d345a06e8f
+DIST anki-25.02-node_modules.tar.xz 64214728 BLAKE2B 
544741219f34785f11410db34ebedf15ef8abcf59bcee3cc8ebe847ee260901d70a601fbf681c3d48bd1cc1819ed6198a9e6092e504baca5c1be007cb4325127
 SHA512 
d144e7c7e4431220eab9fdf55312aa5eb56f53990472add261273a5f7377ee6b813e5ca64ae8782763c6ef1eb550c7e034eecfc3c5656fa13366761d46dc328c
+DIST anki-25.02.gh.tar.gz 2428530 BLAKE2B 
b9318b453b2b706b44ae42f43f62b84070cde45a3d5ee053b7836dc408731cf5953007a907731fd18d06ed8a3372c32b57896b997c17a8db0d7e361202868a92
 SHA512 
57806830936e73b0d785075616b71f7b471f49aff2bde589f790b1c8f48c75477423e42eee4761c3001fac12c0412ec011f2661ea3e94813040631ef5fafddfc
+DIST anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.gh.tar.gz 1521578 
BLAKE2B 
101505d871df70316222db08f2bc85fdd00be81320600c64c76bb51565a88c13fa6fdd9e059ed404931f2dc97611cf2a954650d10d6556cd181427dbffc4f1a6
 SHA512 
c72eaea9e0f350d092a44f7623a7cfdcb74ff99a97ca4b53c51b1b26af387c9c6cd64bfca3dc4577c14c3ee4040b8ce1a7a50f2e209b0fa47c5297f97c92a910
 DIST anki-core-i18n-e1545f7f0ddeb617eeb1ca86e82862e552843578.gh.tar.gz 1455590 
BLAKE2B 
5db3638bd39db7a0703026d68b8325ba9158715598fc0bdb9f039080ba0695026b6d57f61eb71d2f3f485f19b19d4a1e29d90c27a111494898037dc29900f0e5
 SHA512 
aeb24c9f39ccbaeaf524b343432f4748a6297cf04e3ad6673a7b6e090e6363949e3d26dbc1695551098fa997fc0dcbf63aca878ceac7d04683a75dc384f3fba6
+DIST anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.gh.tar.gz 
235720 BLAKE2B 
0e1a454dbfa5f0f875c86b1468c7cfde99e53e6e7683820f5523963c4187e76ef40c4be4c2ef7037cc269f258fe3270ba99006912fb2844ba6cc18dc91d3
 SHA512 
6d91607c6b0805e6dfce8a93dbf46ac945e9b1631aa054cb98e513d7a6da64d905035b8da8ea5d10c0d700a0aa96b056748d956342fe4ddf7232f7f7540ee88a
 DIST anki-desktop-ftl-e0f9724f75f6248f4e74558b25c3182d4f348bce.gh.tar.gz 
234275 BLAKE2B 
e41ed5cfab4fc034705998460599fbe0c316f103ceb63090fce8208b2827f5451e483f92086906e0278a200b865d3698b6ad3f7051119da930b0215e35fc9598
 SHA512 
e6bc5a8a6832a8dfd5d43684a196f340623402c77d071809aa51c2ac894f92f599d53f87b435fc009c684e28b5a5ab8ba4fbe6ca01f2576f4cb5fc773cb14ffd
 DIST anki-node_modules-67e7bf166027c4e9e0c5bb7fd778d38f44038512.tar.xz 
78193296 BLAKE2B 
238843c11453aaea533afa60ebde7c8028ef833f12e3ff9257a264d33977f62f7d0ab7ab0101f3baec302b5b3014ce9ad1e0d431476ee9d7e833720efc189e75
 SHA512 
aca609f1ee010968ad8653d33e2d12f95d3e6280c71952ba8e25cdf4173273c68ed7403cbb9009ea66418266f8775571c8b4b653f992e770a1a0776a0393a7ed
 DIST anstream-0

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-03-09 Thread Sam James
commit: d9ddc0bbd9e4fc7cbae0b8f6cbcf6ee38fac824e
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 10 03:57:34 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 10 03:57:34 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ddc0bb

app-misc/anki: update maintainers

The ebuild has changed significantly since Patrick last touched it and
the last I recall, he didn't have an interest (not unreasonably) in handling
the node/whatever else they pick-of-the-day. Make metadata.xml reflect
reality.

Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
index 7f320c364eb0..6f2970d41ee7 100644
--- a/app-misc/anki/metadata.xml
+++ b/app-misc/anki/metadata.xml
@@ -1,10 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   patr...@gentoo.org
-   Patrick Lauer
-   

watermanpa...@posteo.net
Lucio Sauer



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-02-19 Thread Michał Górny
commit: 57cb7848f7799c8032a7a866ad7673b99db707b1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 19 20:11:29 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 19 20:21:50 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57cb7848

app-misc/anki: Remove py3.10 (per sphinx-8.2)

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/anki-24.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-24.11.ebuild b/app-misc/anki/anki-24.11.ebuild
index 50322803a46b..53b769a9c767 100644
--- a/app-misc/anki/anki-24.11.ebuild
+++ b/app-misc/anki/anki-24.11.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 CRATES="
addr2line@0.24.2
adler2@2.0.0



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2025-02-15 Thread Ulrich Müller
commit: a0e8107e640ff6ac6c5861eeadd9e7cde2b57b73
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Feb 14 16:16:35 2025 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Feb 15 09:26:42 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e8107e

app-misc/anki: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller  gentoo.org>

 app-misc/anki/anki-24.11.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-misc/anki/anki-24.11.ebuild b/app-misc/anki/anki-24.11.ebuild
index de7c620d087f..50322803a46b 100644
--- a/app-misc/anki/anki-24.11.ebuild
+++ b/app-misc/anki/anki-24.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -690,7 +690,7 @@ declare -A GIT_CRATES=(
 )
 RUST_MIN_VER="1.80.1"
 
-inherit cargo desktop edo multiprocessing ninja-utils optfeature \
+inherit cargo desktop eapi9-ver edo multiprocessing ninja-utils optfeature \
python-single-r1 readme.gentoo-r1 toolchain-funcs xdg
 
 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
@@ -962,7 +962,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   ver_test ${REPLACING_VERSIONS} -lt 24.06.3-r1 && local 
FORCE_PRINT_ELOG=1
+   ver_replacing -lt 24.06.3-r1 && local FORCE_PRINT_ELOG=1
readme.gentoo_print_elog
if use gui; then
xdg_pkg_postinst



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/24.04.1/

2024-12-27 Thread Sam James
commit: 8204231ec2829d15a3cedf9d3f8f5ed37904ca36
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Dec 15 21:54:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 27 12:07:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8204231e

app-misc/anki: remove unused patches

These should have been removed with commit "app-misc/anki: drop 24.04.1"
(ecbac01bd0f72890ca1c23b46d3990be814495f7).

Signed-off-by: Lucio Sauer  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/39724
Signed-off-by: Sam James  gentoo.org>

 .../anki/files/24.04.1/ninja-gentoo-setup.patch| 45 --
 app-misc/anki/files/24.04.1/remove-yarn.patch  | 71 --
 2 files changed, 116 deletions(-)

diff --git a/app-misc/anki/files/24.04.1/ninja-gentoo-setup.patch 
b/app-misc/anki/files/24.04.1/ninja-gentoo-setup.patch
deleted file mode 100644
index 9774d4e407ee..
--- a/app-misc/anki/files/24.04.1/ninja-gentoo-setup.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Respect app-alternatives/ninja (n2 is not yet in the tree) and
-user variables from the ninja-utils eclass.
-This is a workaround. A proper implementation similar to
-the LTO implementation (c6f429) should allow the build system to be set at
-configure time.
-
-From: Lucio Sauer 
 a/build/ninja_gen/src/build.rs
-+++ b/build/ninja_gen/src/build.rs
-@@ -49,7 +49,7 @@ impl Build {
- output_text: Default::default(),
- action_names: Default::default(),
- groups: Default::default(),
--have_n2: which::which("n2").is_ok(),
-+have_n2: false,
- };
- 
- build.add_action("build:configure", ConfigureBuild {})?;
 a/build/runner/src/build.rs
-+++ b/build/runner/src/build.rs
-@@ -56,6 +56,11 @@ pub fn run_build(args: BuildArgs) {
- 
- let start_time = Instant::now();
- let mut command = Command::new(get_ninja_command());
-+
-+if env::var("NINJA_VERBOSE").unwrap_or(String::from("ON")).eq("ON") {
-+command.arg("-v");
-+}
-+
- command
- .arg("-f")
- .arg(&build_file)
-@@ -112,11 +117,7 @@ pub fn run_build(args: BuildArgs) {
- }
- 
- fn get_ninja_command() -> &'static str {
--if which::which("n2").is_ok() {
--"n2"
--} else {
--"ninja"
--}
-+"ninja"
- }
- 
- fn setup_build_root() -> Utf8PathBuf {

diff --git a/app-misc/anki/files/24.04.1/remove-yarn.patch 
b/app-misc/anki/files/24.04.1/remove-yarn.patch
deleted file mode 100644
index 9343f426de58..
--- a/app-misc/anki/files/24.04.1/remove-yarn.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-The ebuild ships a ready-to-use node_modules tarball which does not require
-sys-apps/yarn to be installed. Pre-built node_modules allows us to run JS tests
-but we lose the ability to hack node packages' source files in 
YARN_CACHE_FOLDER.
-
-From: Lucio Sauer 
 a/build/ninja_gen/src/node.rs
-+++ b/build/ninja_gen/src/node.rs
-@@ -76,12 +76,11 @@ pub struct YarnInstall<'a> {
- 
- impl BuildAction for YarnInstall<'_> {
- fn command(&self) -> &str {
--"$runner yarn $yarn $out"
-+"$runner yarn $out"
- }
- 
- fn files(&mut self, build: &mut impl build::FilesHandle) {
- build.add_inputs("", &self.package_json_and_lock);
--build.add_inputs("yarn", inputs![":yarn:bin"]);
- build.add_outputs("out", vec!["node_modules/.marker"]);
- for (key, value) in &self.exports {
- let outputs: Vec<_> = value.iter().map(|o| 
format!("node_modules/{o}")).collect();
-@@ -139,9 +138,7 @@ pub fn setup_node(
- );
- build.add_dependency("yarn:bin", inputs![path]);
- }
--Err(_) => {
--build.add_action("yarn", YarnSetup {})?;
--}
-+Err(_) => ()
- };
- 
- for binary in binary_exports {
 a/build/runner/src/yarn.rs
-+++ b/build/runner/src/yarn.rs
-@@ -1,36 +1,18 @@
- // Copyright: Ankitects Pty Ltd and contributors
- // License: GNU AGPL, version 3 or later; 
http://www.gnu.org/licenses/agpl.html
- 
--use std::env;
- use std::path::Path;
--use std::process::Command;
- 
- use clap::Args;
- 
--use crate::run::run_command;
--
- #[derive(Args)]
- pub struct YarnArgs {
--yarn_bin: String,
- stamp: String,
- }
- 
- pub fn setup_yarn(args: YarnArgs) {
- link_node_modules();
- 
--if env::var("OFFLINE_BUILD").is_ok() {
--println!("OFFLINE_BUILD is set");
--println!("Running yarn with '--offline' and '--ignore-scripts'.");
--run_command(
--Command::new(&args.yarn_bin)
--.arg("install")
--.arg("--offline")
--.arg("--ignore-scripts"),
--);
--} else {
--run_command(Command::new(&args.yarn_bin).arg("install"));
--}
--
- std::fs::write(args.stamp, b"").unwrap();
- }
- 



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-11-30 Thread Sam James
commit: 30a176c362ba1f38a4b8d641a24f54235ae796d9
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  1 06:46:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  1 06:46:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a176c3

app-misc/anki: fix MissingUseDepDefault

In older versions, protoc was always installed.

Bug: https://bugs.gentoo.org/945400
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-24.06.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-24.06.3-r2.ebuild 
b/app-misc/anki/anki-24.06.3-r2.ebuild
index 198ce26963e2..7f5b64c2058d 100644
--- a/app-misc/anki/anki-24.06.3-r2.ebuild
+++ b/app-misc/anki/anki-24.06.3-r2.ebuild
@@ -772,7 +772,7 @@ RDEPEND="
 
 BDEPEND="
>=app-arch/zstd-1.5.5:=
-   dev-libs/protobuf[protoc]
+   dev-libs/protobuf[protoc(+)]
virtual/pkgconfig
doc? (
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-11-30 Thread Sam James
commit: fc9e04399eb60213083628e79372f04555ad946e
Author: Lucio Sauer  posteo  net>
AuthorDate: Sat Nov 30 21:39:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  1 06:44:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9e0439

app-misc/anki: ensure that dependencies provide the protoc binary

The build system expects /usr/bin/protoc to be available.

Closes: https://bugs.gentoo.org/945400
Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-24.06.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-24.06.3-r2.ebuild 
b/app-misc/anki/anki-24.06.3-r2.ebuild
index 347aa6d6d680..198ce26963e2 100644
--- a/app-misc/anki/anki-24.06.3-r2.ebuild
+++ b/app-misc/anki/anki-24.06.3-r2.ebuild
@@ -772,7 +772,7 @@ RDEPEND="
 
 BDEPEND="
>=app-arch/zstd-1.5.5:=
-   dev-libs/protobuf
+   dev-libs/protobuf[protoc]
virtual/pkgconfig
doc? (
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-text/calibre/, dev-python/pyqt6/, profiles/arch/amd64/, ...

2024-11-23 Thread Michał Górny
commit: 3d133ef5cbde1a3f1529cf7b864f2db01f87dd65
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 23 11:33:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 23 11:42:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d133ef5

Rename dev-python/{PyQt6 → pyqt6}

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/setools/setools-4.5.1.ebuild |  4 ++--
 app-admin/setools/setools-.ebuild  |  2 +-
 app-backup/backintime/backintime-1.5.1.ebuild  |  2 +-
 app-backup/backintime/backintime-.ebuild   |  2 +-
 app-editors/retext/retext-8.0.0.ebuild |  4 ++--
 app-editors/retext/retext-8.0.1-r1.ebuild  |  6 +++---
 app-editors/retext/retext-8.0.1.ebuild |  8 
 app-editors/retext/retext-8.0.2.ebuild |  4 ++--
 app-editors/retext/retext-.ebuild  |  4 ++--
 app-misc/anki/anki-24.06.3-r2.ebuild   |  8 
 app-text/calibre/calibre-7.16.0.ebuild |  2 +-
 app-text/calibre/calibre-7.17.0.ebuild |  2 +-
 app-text/calibre/calibre-7.19.0.ebuild |  4 ++--
 app-text/calibre/calibre-7.20.0.ebuild |  4 ++--
 app-text/calibre/calibre-7.21.0.ebuild |  4 ++--
 app-text/sigil/sigil-2.2.1.ebuild  |  2 +-
 app-text/sigil/sigil-2.3.0.ebuild  |  2 +-
 app-text/sigil/sigil-2.3.1.ebuild  |  2 +-
 dev-python/matplotlib/matplotlib-3.10.0_rc1.ebuild |  2 +-
 .../pyqt6-webengine/pyqt6-webengine-6.7.0.ebuild   |  6 +++---
 .../pyqt6-webengine-6.8.0_pre2411020930.ebuild |  6 +++---
 dev-python/{PyQt6 => pyqt6}/Manifest   |  0
 dev-python/{PyQt6 => pyqt6}/metadata.xml   |  0
 .../pyqt6-6.7.1-r1.ebuild} |  0
 .../pyqt6-6.8.0_pre2410211537.ebuild}  |  0
 dev-python/pytest-qt/pytest-qt-4.4.0.ebuild|  2 +-
 dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild  |  2 +-
 dev-python/qtpy/metadata.xml   |  2 +-
 dev-python/qtpy/qtpy-2.4.1-r2.ebuild   | 18 +-
 dev-python/qtpy/qtpy-2.4.2.ebuild  | 18 +-
 games-emulation/m64py/m64py-0.3.0.ebuild   |  2 +-
 net-analyzer/nagstamon/nagstamon-3.12.0.ebuild |  2 +-
 net-analyzer/nagstamon/nagstamon-3.14.0-r1.ebuild  |  2 +-
 net-analyzer/nagstamon/nagstamon-3.16.0.ebuild |  2 +-
 net-analyzer/nagstamon/nagstamon-3.16.1.ebuild |  2 +-
 net-analyzer/nagstamon/nagstamon-3.16.2.ebuild |  2 +-
 net-firewall/firewalld/firewalld-2.2.1-r1.ebuild   |  2 +-
 net-firewall/firewalld/firewalld-2.2.3.ebuild  |  2 +-
 .../nanovna-saver/nanovna-saver-0.6.3-r1.ebuild|  2 +-
 net-wireless/nanovna-saver/nanovna-saver-0.6.4.ebuild  |  2 +-
 net-wireless/nanovna-saver/nanovna-saver-.ebuild   |  2 +-
 profiles/arch/amd64/package.use.mask   |  2 +-
 profiles/arch/amd64/package.use.stable.mask|  2 +-
 profiles/arch/arm64/package.use.mask   |  2 +-
 profiles/arch/base/package.use.mask|  2 +-
 profiles/arch/powerpc/ppc32/package.use.mask   |  2 +-
 profiles/package.mask  |  2 +-
 profiles/targets/desktop/plasma/package.use|  2 +-
 profiles/updates/4Q-2024   |  1 +
 sci-geosciences/qgis/qgis-3.38.3.ebuild|  4 ++--
 sci-geosciences/qgis/qgis-.ebuild  |  4 ++--
 sci-visualization/paraview/paraview-5.13.0.ebuild  |  4 ++--
 sys-apps/polychromatic/polychromatic-0.9.2.ebuild  |  2 +-
 sys-apps/polychromatic/polychromatic-0.9.3.ebuild  |  2 +-
 sys-apps/polychromatic/polychromatic-.ebuild   |  2 +-
 www-client/qutebrowser/qutebrowser-3.3.1.ebuild|  4 ++--
 www-client/qutebrowser/qutebrowser-.ebuild |  4 ++--
 57 files changed, 93 insertions(+), 92 deletions(-)

diff --git a/app-admin/setools/setools-4.5.1.ebuild 
b/app-admin/setools/setools-4.5.1.ebuild
index 0e5f42366899..434f02a834a1 100644
--- a/app-admin/setools/setools-4.5.1.ebuild
+++ b/app-admin/setools/setools-4.5.1.ebuild
@@ -33,13 +33,13 @@ RDEPEND="${PYTHON_DEPS}
>=sys-libs/libsepol-3.2:=
>=sys-libs/libselinux-3.2:=
X? (
-   dev-python/PyQt6[gui,widgets,${PYTHON_USEDEP}]
+   dev-python/pyqt6[gui,widgets,${PYTHON_USEDEP}]
dev-python/pygraphviz[${PYTHON_USEDEP}]
)"
 DEPEND="${RDEPEND}"
 BDEPEND=">=dev-python/cython-0.29.14[${PYTHON_USEDEP}]
test? (
-   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/pyqt6[gui,testlib,widgets,${PYTHON_USEDEP}]
dev-python/pytest-qt[${PYTHON_USEDEP}]
sys-apps/ch

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, dev-python/PyQt6-sip/, profiles/updates/, dev-python/qscintilla/, ...

2024-11-23 Thread Michał Górny
commit: 276b77bc358d6243670abab8a9eecfd60ea75d2f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 23 11:30:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 23 11:42:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276b77bc

Rename dev-python/{PyQt6-sip → pyqt6-sip}

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/anki-24.06.3-r2.ebuild  | 2 +-
 dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild| 2 +-
 dev-python/PyQt6/PyQt6-6.8.0_pre2410211537.ebuild | 2 +-
 dev-python/{PyQt6-sip => pyqt6-sip}/Manifest  | 0
 dev-python/{PyQt6-sip => pyqt6-sip}/metadata.xml  | 0
 .../PyQt6-sip-13.8.0.ebuild => pyqt6-sip/pyqt6-sip-13.8.0.ebuild} | 0
 dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild | 2 +-
 net-wireless/nanovna-saver/nanovna-saver-0.6.3-r1.ebuild  | 4 ++--
 net-wireless/nanovna-saver/nanovna-saver-0.6.4.ebuild | 4 ++--
 net-wireless/nanovna-saver/nanovna-saver-.ebuild  | 4 ++--
 profiles/updates/3Q-2022  | 2 +-
 profiles/updates/4Q-2024  | 1 +
 12 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/app-misc/anki/anki-24.06.3-r2.ebuild 
b/app-misc/anki/anki-24.06.3-r2.ebuild
index 17e63f1cda75..1db5bd932ace 100644
--- a/app-misc/anki/anki-24.06.3-r2.ebuild
+++ b/app-misc/anki/anki-24.06.3-r2.ebuild
@@ -757,7 +757,7 @@ GUI_RDEPEND="
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/protobuf[${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}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]

diff --git a/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild 
b/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild
index ad9d58ed4f22..ecb861b00433 100644
--- a/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild
@@ -84,7 +84,7 @@ DEPEND="
 "
 RDEPEND="
${DEPEND}
-   >=dev-python/PyQt6-sip-13.8[${PYTHON_USEDEP}]
+   >=dev-python/pyqt6-sip-13.8[${PYTHON_USEDEP}]
 "
 BDEPEND="
>=dev-python/pyqt-builder-1.15[${PYTHON_USEDEP}]

diff --git a/dev-python/PyQt6/PyQt6-6.8.0_pre2410211537.ebuild 
b/dev-python/PyQt6/PyQt6-6.8.0_pre2410211537.ebuild
index 135d868466e1..cbf03c18104e 100644
--- a/dev-python/PyQt6/PyQt6-6.8.0_pre2410211537.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.8.0_pre2410211537.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
 "
 RDEPEND="
${COMMON_DEPEND}
-   >=dev-python/PyQt6-sip-13.8[${PYTHON_USEDEP}]
+   >=dev-python/pyqt6-sip-13.8[${PYTHON_USEDEP}]
 "
 DEPEND="
${COMMON_DEPEND}

diff --git a/dev-python/PyQt6-sip/Manifest b/dev-python/pyqt6-sip/Manifest
similarity index 100%
rename from dev-python/PyQt6-sip/Manifest
rename to dev-python/pyqt6-sip/Manifest

diff --git a/dev-python/PyQt6-sip/metadata.xml 
b/dev-python/pyqt6-sip/metadata.xml
similarity index 100%
rename from dev-python/PyQt6-sip/metadata.xml
rename to dev-python/pyqt6-sip/metadata.xml

diff --git a/dev-python/PyQt6-sip/PyQt6-sip-13.8.0.ebuild 
b/dev-python/pyqt6-sip/pyqt6-sip-13.8.0.ebuild
similarity index 100%
rename from dev-python/PyQt6-sip/PyQt6-sip-13.8.0.ebuild
rename to dev-python/pyqt6-sip/pyqt6-sip-13.8.0.ebuild

diff --git a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild 
b/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild
index 1841a7fd18c2..417ba8b310f2 100644
--- a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild
+++ b/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild
@@ -40,7 +40,7 @@ DEPEND="${PYTHON_DEPS}
 "
 RDEPEND="${DEPEND}
qt5? ( >=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}] )
-   qt6? ( >=dev-python/PyQt6-sip-13.5:=[${PYTHON_USEDEP}] )
+   qt6? ( >=dev-python/pyqt6-sip-13.5:=[${PYTHON_USEDEP}] )
 "
 BDEPEND="
>=dev-python/pyqt-builder-1.10[${PYTHON_USEDEP}]

diff --git a/net-wireless/nanovna-saver/nanovna-saver-0.6.3-r1.ebuild 
b/net-wireless/nanovna-saver/nanovna-saver-0.6.3-r1.ebuild
index 392fbdb2e248..c645d20d3f4c 100644
--- a/net-wireless/nanovna-saver/nanovna-saver-0.6.3-r1.ebuild
+++ b/net-wireless/nanovna-saver/nanovna-saver-0.6.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit distutils-r1 xdg-utils
 
 DESCRIPTION="tool for reading, displaying and saving data from the NanoVNA"
@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/PyQt6[$

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-10-25 Thread Joonas Niilola
commit: bfff041257322178edb2abc36538b398b265a66a
Author: Lucio Sauer  posteo  net>
AuthorDate: Sun Sep  1 19:59:56 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 25 11:52:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfff0412

app-misc/anki: drop support for Qt5 GUI in favor of Qt6

Adapt package to conform to new policy
https://wiki.gentoo.org/index.php?title=Project:Qt/Policies&diff=prev&oldid=1310293

Fix dependency order

Signed-off-by: Lucio Sauer  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38373
Signed-off-by: Joonas Niilola  gentoo.org>

 ...{anki-24.06.3.ebuild => anki-24.06.3-r1.ebuild} | 67 +-
 1 file changed, 27 insertions(+), 40 deletions(-)

diff --git a/app-misc/anki/anki-24.06.3.ebuild 
b/app-misc/anki/anki-24.06.3-r1.ebuild
similarity index 92%
rename from app-misc/anki/anki-24.06.3.ebuild
rename to app-misc/anki/anki-24.06.3-r1.ebuild
index 77c1754f1f9b..19438db1f49e 100644
--- a/app-misc/anki/anki-24.06.3.ebuild
+++ b/app-misc/anki/anki-24.06.3-r1.ebuild
@@ -728,7 +728,7 @@ LICENSE+=" Unicode-3.0 openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="doc +gui qt6 test"
+IUSE="doc +gui test"
 REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!gui? ( test ) !test? ( test )"
 
@@ -741,11 +741,12 @@ RESTRICT="!gui? ( test ) !test? ( test )"
 # rustls-native-certs to use the native certificate store.
 
 DEPEND="
-   dev-db/sqlite:3
>=app-arch/zstd-1.5.5:=
+   dev-db/sqlite:3
 "
 GUI_RDEPEND="
${PYTHON_DEPS}
+   dev-qt/qtsvg:6
$(python_gen_cond_dep '
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
@@ -755,24 +756,13 @@ GUI_RDEPEND="
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/protobuf-python[${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/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}]')
-   )
+   dev-python/waitress[${PYTHON_USEDEP}]
+   ')
 "
 RDEPEND="
${DEPEND}
@@ -788,8 +778,9 @@ BDEPEND="
doc? (
$(python_gen_cond_dep '
>=dev-python/sphinx-7.2.6[${PYTHON_USEDEP}]
+   dev-python/sphinx-autoapi[${PYTHON_USEDEP}]
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-   dev-python/sphinx-autoapi[${PYTHON_USEDEP}]')
+   ')
)
gui? (
${PYTHON_DEPS}
@@ -797,9 +788,10 @@ BDEPEND="
app-arch/unzip
>=net-libs/nodejs-20.12.1
sys-apps/yarn
-   $(python_gen_cond_dep 'dev-python/wheel[${PYTHON_USEDEP}]')
-   qt6?( $(python_gen_cond_dep 
'dev-python/PyQt6[${PYTHON_USEDEP}]') )
-   !qt6?   ( $(python_gen_cond_dep 
'dev-python/PyQt5[${PYTHON_USEDEP}]') )
+   $(python_gen_cond_dep '
+   dev-python/PyQt6[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   ')
)
test? (
${RDEPEND}
@@ -808,8 +800,9 @@ BDEPEND="
dev-libs/openssl
dev-util/cargo-nextest
$(python_gen_cond_dep '
+   dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]')
+   ')
)
 "
 
@@ -859,12 +852,6 @@ src_prepare() {
ln -s "${BROOT}"/usr/bin/sphinx-build out/pyenv/bin || 
die
fi
 
-   # 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 PyQ

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/23.12.1/

2024-08-20 Thread Joonas Niilola
commit: dbb73d2c2716f419f1fe3c320c79ae3f97b1ac45
Author: Lucio Sauer  posteo  net>
AuthorDate: Wed Aug  7 13:05:00 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 20 08:31:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbb73d2c

app-misc/anki: ensure build runner and configure are built for CBUILD

These changes have not yet been tested in an actual cross environment
but since the build system respects Cargo environment variables, this
should hopefully work.

Bump the revision of this ebuild because the build now honors LDFLAGS
among other RUSTFLAGS set in cargo_env in the cargo eclass.

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 ...ystem-nextest.patch => ninja-rules-for-cargo.patch} | 18 --
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/app-misc/anki/files/23.12.1/use-system-nextest.patch 
b/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
similarity index 50%
rename from app-misc/anki/files/23.12.1/use-system-nextest.patch
rename to app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
index 8f931b97da86..cf9356bbc24c 100644
--- a/app-misc/anki/files/23.12.1/use-system-nextest.patch
+++ b/app-misc/anki/files/23.12.1/ninja-rules-for-cargo.patch
@@ -1,10 +1,24 @@
-Provide the binary ourselves to prevent network access.
+Fix the output path for Rust binaries in the Ninja file to match
+Cargo's target directory when CARGO_BUILD_TARGET is set.  This prevents
+file-not-found errors for some build steps.
+
+Provide the cargo-nextest binary ourselves to prevent network access.
 Set test runner options in the ebuild.
 
 From: Lucio Sauer 
 --- a/build/ninja_gen/src/cargo.rs
 +++ b/build/ninja_gen/src/cargo.rs
-@@ -152,19 +152,11 @@ impl BuildAction for CargoTest {
+@@ -61,6 +61,9 @@ impl RustOutput<'_> {
+ let mut path: Utf8PathBuf = rust_base.into();
+ if let Some(target) = target {
+ path = path.join(target);
++} else {
++let triple = 
std::env::var("CARGO_BUILD_TARGET").unwrap_or_default();
++path = path.join(triple);
+ }
+ path = path.join(profile_output_dir(build_profile)).join(filename);
+ path.to_string()
+@@ -152,19 +155,11 @@ impl BuildAction for CargoTest {
  
  fn files(&mut self, build: &mut impl FilesHandle) {
  build.add_inputs("", &self.inputs);



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/24.04.1/

2024-08-20 Thread Joonas Niilola
commit: 2c70c3fc2449f0bdd5b09390ad2b30c6fca97cc2
Author: Lucio Sauer  posteo  net>
AuthorDate: Thu Aug  8 02:29:37 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 20 08:31:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c70c3fc

app-misc/anki: Patch to use newer time

The version of time that anki 24.04.1 uses does not build with Rust
1.80.0[0][1]. This bumps time to 0.3.36 to address the issue.

[0]: https://aur.archlinux.org/packages/anki#comment-984753
[1]: https://github.com/rust-lang/rust/issues/127343

Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/files/24.04.1/rust-1.80.0.patch | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/app-misc/anki/files/24.04.1/rust-1.80.0.patch 
b/app-misc/anki/files/24.04.1/rust-1.80.0.patch
new file mode 100644
index ..397e43dbb4b2
--- /dev/null
+++ b/app-misc/anki/files/24.04.1/rust-1.80.0.patch
@@ -0,0 +1,31 @@
+Allow builds with ~virtual/rust-1.80.0
+
+https://github.com/gentoo/gentoo/pull/37727#issuecomment-2251642236
+https://github.com/time-rs/time/issues/693
+Author: Lucio Sauer 
+--- a/Cargo.lock
 b/Cargo.lock
+@@ -5515,9 +5515,9 @@ dependencies = [
+ 
+ [[package]]
+ name = "time"
+-version = "0.3.34"
++version = "0.3.36"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
++checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
+ dependencies = [
+  "deranged",
+  "itoa",
+@@ -5536,9 +5536,9 @@ checksum = 
"ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+ 
+ [[package]]
+ name = "time-macros"
+-version = "0.2.17"
++version = "0.2.18"
+ source = "registry+https://github.com/rust-lang/crates.io-index";
+-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
++checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
+ dependencies = [
+  "num-conv",
+  "time-core",



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-08-19 Thread Joonas Niilola
commit: e15b7af6cd9332d3b22735cff095e55c121a4cbf
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug 19 18:58:58 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 19 19:04:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15b7af6

app-misc/anki: update Manifest

Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/Manifest | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 0d8523a58c04..95c7da2ce029 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -566,8 +566,10 @@ DIST thread-tree-0.3.3.crate 12263 BLAKE2B 
893f1a26377d6d14fdc7dd8bf44715a23d8bd
 DIST thread_local-1.1.8.crate 13962 BLAKE2B 
fce2feddaaebde42bdb83d814929868f06387a4fa25d5becc73ff0b983395aabe076268569c6a89e2d90ce6e68d2ebca7c3e0ba1c9159c61b32631ce39289a9f
 SHA512 
6d7e3941f43c43ac091db5d1cf2a8a3892b54b0634d9200426eadeb82015566532f04b6040085dbdcb10580ac724b6ded8416931d764d795a5f923aced66c492
 DIST tiff-0.9.1.crate 1423953 BLAKE2B 
d01949cc3a76a32f2e802a151a4c1d4bbe47c7f217f198f940293d02fd6a1a6d3087c66b3fbc099da3e155f959774d2a9d4d8c5f5f00cd6486f5f44571a1dedd
 SHA512 
82419e671c6a896f1d639d46a3c5a019e3bff6c75d961b838f5311e5ecb31c3baafc5f88fe928e88f6b3b31881a867ea4ca9905f43e3e24f77f183260dc27b93
 DIST time-0.3.34.crate 118430 BLAKE2B 
6d04a20596c9b0961ca104748d9d360f07b16059719d7410fdf1a7a0d5f2aa02aaebf640999464835964bbded2d3257d79c4b0ca3080fbecf13dd2d0aa6962fc
 SHA512 
3997e1b8d9be2f54184ebc9e1355d4b65f0b7bc9439b2b29e4a4acd86ad3a3aa019261112a24d998d76a7f66b266a86536fa50412279911b14d4d7aa7078c116
+DIST time-0.3.36.crate 119805 BLAKE2B 
d4da96368ab8565373d034edce261e0d8867036f2ba87e84b5e4a506a70ed3b62b93ba10734aecb39847e258cf7008b6ae57f92df8d0e5229cd3fec488d14caf
 SHA512 
83da6e27691d1f0ef37ed276528e927686a06dab4811b6e29d625ef7a0f7c30fbb86896d74a2b087726e7a24a951b0a83aa1f5f22d711ead54f447d36ac47133
 DIST time-core-0.1.2.crate 7191 BLAKE2B 
c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9
 SHA512 
3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52
 DIST time-macros-0.2.17.crate 24443 BLAKE2B 
5045af9352961db0c97cae2f6ca3e8d2c4f89a129c7ac2ec1d8d20804292aa9f2901a61f910a564954614b68f39311bd381deeb66fed8bdac423227d077f3d14
 SHA512 
c81747f0b74e68d3b3f36d378ac5911dece8c6b511e5ac793807f854cc31c812b927d0df941f55ff90d3d67512d0ac6a5f63f2de4322c81b05da42f46b4a661c
+DIST time-macros-0.2.18.crate 24361 BLAKE2B 
09fa325be0b1a5b922285f035484b0de8e339306b49595c87f6374e46459d6777c6db4b12c1a0c6ea9795ae8c741188fbb81208d0499a651760b9f5089323fc7
 SHA512 
557786115add272290be8305ab79c44f5b4425b64eb698492fe300f15879d9e013c66933cae8aa8faad9c109e2917e7a0e43c8a5eed7f4b0f0fdad092089efe4
 DIST tinystr-0.7.5.crate 16366 BLAKE2B 
00a5eda21da581ab351dbdd2591960c027d0d1e35f00b2b1049cf78ce115b4e7f9583ebec74d0a95c79112d2b4fa60ab8440ec83646542d8c73236790c07ae8c
 SHA512 
f6f5ee490049a3572d13305f1431d4882f201c81bacb0e0a333e949a0a955c98d3a0d347b1f31d1fc8eaeefb4690a3fe6fb18e82163b92d10b757a56bb5610c3
 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B 
af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be
 SHA512 
0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9
 DIST tinyvec-1.6.0.crate 45991 BLAKE2B 
e9699d4d80a78978f0ebfd049f5b33d7f23d401cf4f4439ccb168e8c0e322473ad0ea7e2ff0ff69e9aac3e5c4c9ae5a7102185533bfbf96dbe77b3526e700bc9
 SHA512 
e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-08-19 Thread Joonas Niilola
commit: ecbac01bd0f72890ca1c23b46d3990be814495f7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug 19 18:59:28 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 19 19:04:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecbac01b

app-misc/anki: drop 24.04.1

Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/Manifest|  48 --
 app-misc/anki/anki-24.04.1.ebuild | 946 --
 2 files changed, 994 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 95c7da2ce029..9320ff6f8115 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -8,14 +8,10 @@ DIST ammonia-3.3.0.crate 46061 BLAKE2B 
082ee30f39ad788c9ae87888f003c2f6d08fbea7a
 DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 
4385a4875aadaacd5284a9ca7d1bf8a7bf14bf8925d1563d52fbabacc3af2c1ea08bfcf77106f3648f4fa052ac295158a21e7a0131d31eb9aecd99ea4ba20055
 SHA512 
4294024c21ddd0090c42c8eedf708d40d917f55ad5a4cb7aa3e64cfb6551b6df60f2e36bc08620c1d2fc8c7ba7207411518ee5c8635f60ed8ad9efdd458a2077
 DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 
86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e
 SHA512 
b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
 DIST anes-0.1.6.crate 23857 BLAKE2B 
9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61
 SHA512 
f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29
-DIST anki-24.04.1.gh.tar.gz 2394990 BLAKE2B 
9e38d460bd7591bfefa4d6e90b3c0565c7558acbd867d9303f89b69e486c5f174964ec1a1d4adba4148837cd95e887c62484d06bbcb685e43ce3659a3771b754
 SHA512 
998e62181f37243f0357c185426697bcca53a3f7d2c1703f869849b20d175ca07a27b0b344f308771ee9e0f07c8120d5aa45940e6964e1a66087a58ac4547cee
 DIST anki-24.06.3.gh.tar.gz 2389824 BLAKE2B 
4e1e908bc003ddee25976f1040ad0867980fadc90876c785025e4acf0e043f6cb1b973b568ff3a0a21907e0c12bcccb0d66078d1387fa400b8a61a06e7a2a395
 SHA512 
9690eed253f5ef1f065800f1a7778be5d36cf253ec34abb89996e5b0b8eee376fe3e752d1c63ce5c392787fc34c58cfae4dba14457c2963b39d674ee3f4212a8
 DIST anki-core-i18n-b4813a328f44c8224d2649adbdbcbef095db9a40.gh.tar.gz 1346295 
BLAKE2B 
8e8c20a2a456ae87dbb4103be3506233731da7418e22081343a78075166d37a9ac7aab9212bd42480fd7ee91850ff1d66578594ffe9b24577e8480e5ee44e342
 SHA512 
a9346db7509cc6895977f20f3e2a1de4d58e7dc76df21c74d869c1fee0ed49b1954bed96d1bc9e503612b135a47ddc156d604cb6bd1b3245a43775d8c9fe1999
-DIST anki-core-i18n-e3af3c983241448a239871ca573c9dd2fa5e8619.gh.tar.gz 1295257 
BLAKE2B 
00aa9ced09aad9633189ae29597cde56ffea627455003bc6f4622241a2ce80a634d8c992c6a10289c940cbcfeb3247080b74cdf88d871febc96ea886158b3277
 SHA512 
abbb6f77cd476aa798b66d283c7b560a9ad82bb17daec241d021a7aab73212f6272baefae1f49144054654efa74df7ac6c1b5ef8eb9305308ae5b08831c4da2e
-DIST anki-desktop-ftl-45155310c3302cbbbe645dec52ca196894422463.gh.tar.gz 
218582 BLAKE2B 
0e0b43c3b6565a657915c6ee1e69967dcd42c76712cc521e3273efcd4c18e43ce359dc7dec8611f275b1aef1f941b308a8d5d45d6c93d991c83f09e92b9786a0
 SHA512 
b5163edd076562b89d90a12bb05eff2ac3f1adc5fd5f9f7450679ed7064fd79a2e741cee6fab59e571233c9ba6f6181b61915945eb916c3c4a5916489ababff3
 DIST anki-desktop-ftl-b95608421ba2ba1cdca407933aff9ba25d567e12.gh.tar.gz 
224579 BLAKE2B 
a0b8520c5a68e0714762b92c7b9cb07e8a39d3e2c3f6fb1209d83ba74af7f51075d530860ce595239fae66f00a68a3c6cdb8d0fe399d5ddf9d21974b629cda15
 SHA512 
7d6242250dac72afa0c27dff26f6738a23ac13e7fffd9868c918296802bedb07e37c56f5aba04e6d99173b89d585ba3304ca482c2551646f157c8b1c5253db67
 DIST anki-node_modules-b9a182d8e2f3a11b633a6d5fbb582e9e7d8a4f34.tar.xz 
55303852 BLAKE2B 
80a3f7259552406360480148e2d1baa60c411a18f4a6f3f987119e5eaa5d0e97c23256f85efe3511dfd09d6386d2849879f18cb85eb93ffe53465987d047327b
 SHA512 
e712d47ec7a8119a992e4e9dcb2876aa59c9d338262b3192ff2123a4f2981128c67f6c99c25c5176efa3d41393060dd02fc19e26ec62d129489146e43d60d0be
-DIST anki-node_modules-ea8f0c1491d0b0f9e0fdff589b1f0d297e6e11a6.tar.xz 
52164300 BLAKE2B 
f8c1b3b7d02d7a9b0fe9736769b023c083b08dc6a863bbc67576c25baf20ddbafe3c25328e8eb145ee813c0cd12438fa916480ba6d07734df88ca2ab6ce67728
 SHA512 
84f65d552044d6bd95d0d8141a7d50fff8a4f3a97c9635ffead42842238a59a48be67150fc49a91b0950e57e93ab64473daa1165d206a9ab9e18dec4aa5970de
 DIST anstream-0.6.13.crate 30928 BLAKE2B 
0c6d0932dc486ccbe8d7e6f97bd8aae03fb84d4db90d0488070b7109de673e0af845a70a39e546af87f71f4c7f7bb159ab8ed68ac0f03a0297457062d9d69dc0
 SHA512 
4f9ccfd135de9be22a01230f39d571c8d8ccf7c3eba837fbf0868c9660693b60ee0c1c2f9490a587d5307e892ed45cb946da7a0690a9f972619c94fb050bde09
 DIST anstyle-1.0.6.crate 14604 BLAKE2B 
0716d0dbb62bf05c63c2bfe1c689896660073a423d26965ce2570f11e1925752a61209d78c2f2fe65ec4eb64ea4ffbb39669e789c0ba5d1b71e75de929153b20
 SHA512 
dc0e50

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/24.06.3/

2024-08-19 Thread Joonas Niilola
commit: c937c2dbceb318f3a4323d9964d7d7237832c8c6
Author: Lucio Sauer  posteo  net>
AuthorDate: Wed Aug  7 14:59:22 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 19 18:54:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c937c2db

app-misc/anki: add 24.06.3

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/Manifest |  53 ++
 app-misc/anki/anki-24.06.3.ebuild  | 982 +
 .../anki/files/24.06.3/ninja-gentoo-setup.patch|  44 +
 app-misc/anki/files/24.06.3/remove-yarn.patch  |  58 ++
 4 files changed, 1137 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 0926ca93b63c..0d8523a58c04 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -9,8 +9,12 @@ DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 
4385a4875aadaacd5284a9ca7d1bf8a7bf1
 DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 
86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e
 SHA512 
b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
 DIST anes-0.1.6.crate 23857 BLAKE2B 
9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61
 SHA512 
f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29
 DIST anki-24.04.1.gh.tar.gz 2394990 BLAKE2B 
9e38d460bd7591bfefa4d6e90b3c0565c7558acbd867d9303f89b69e486c5f174964ec1a1d4adba4148837cd95e887c62484d06bbcb685e43ce3659a3771b754
 SHA512 
998e62181f37243f0357c185426697bcca53a3f7d2c1703f869849b20d175ca07a27b0b344f308771ee9e0f07c8120d5aa45940e6964e1a66087a58ac4547cee
+DIST anki-24.06.3.gh.tar.gz 2389824 BLAKE2B 
4e1e908bc003ddee25976f1040ad0867980fadc90876c785025e4acf0e043f6cb1b973b568ff3a0a21907e0c12bcccb0d66078d1387fa400b8a61a06e7a2a395
 SHA512 
9690eed253f5ef1f065800f1a7778be5d36cf253ec34abb89996e5b0b8eee376fe3e752d1c63ce5c392787fc34c58cfae4dba14457c2963b39d674ee3f4212a8
+DIST anki-core-i18n-b4813a328f44c8224d2649adbdbcbef095db9a40.gh.tar.gz 1346295 
BLAKE2B 
8e8c20a2a456ae87dbb4103be3506233731da7418e22081343a78075166d37a9ac7aab9212bd42480fd7ee91850ff1d66578594ffe9b24577e8480e5ee44e342
 SHA512 
a9346db7509cc6895977f20f3e2a1de4d58e7dc76df21c74d869c1fee0ed49b1954bed96d1bc9e503612b135a47ddc156d604cb6bd1b3245a43775d8c9fe1999
 DIST anki-core-i18n-e3af3c983241448a239871ca573c9dd2fa5e8619.gh.tar.gz 1295257 
BLAKE2B 
00aa9ced09aad9633189ae29597cde56ffea627455003bc6f4622241a2ce80a634d8c992c6a10289c940cbcfeb3247080b74cdf88d871febc96ea886158b3277
 SHA512 
abbb6f77cd476aa798b66d283c7b560a9ad82bb17daec241d021a7aab73212f6272baefae1f49144054654efa74df7ac6c1b5ef8eb9305308ae5b08831c4da2e
 DIST anki-desktop-ftl-45155310c3302cbbbe645dec52ca196894422463.gh.tar.gz 
218582 BLAKE2B 
0e0b43c3b6565a657915c6ee1e69967dcd42c76712cc521e3273efcd4c18e43ce359dc7dec8611f275b1aef1f941b308a8d5d45d6c93d991c83f09e92b9786a0
 SHA512 
b5163edd076562b89d90a12bb05eff2ac3f1adc5fd5f9f7450679ed7064fd79a2e741cee6fab59e571233c9ba6f6181b61915945eb916c3c4a5916489ababff3
+DIST anki-desktop-ftl-b95608421ba2ba1cdca407933aff9ba25d567e12.gh.tar.gz 
224579 BLAKE2B 
a0b8520c5a68e0714762b92c7b9cb07e8a39d3e2c3f6fb1209d83ba74af7f51075d530860ce595239fae66f00a68a3c6cdb8d0fe399d5ddf9d21974b629cda15
 SHA512 
7d6242250dac72afa0c27dff26f6738a23ac13e7fffd9868c918296802bedb07e37c56f5aba04e6d99173b89d585ba3304ca482c2551646f157c8b1c5253db67
+DIST anki-node_modules-b9a182d8e2f3a11b633a6d5fbb582e9e7d8a4f34.tar.xz 
55303852 BLAKE2B 
80a3f7259552406360480148e2d1baa60c411a18f4a6f3f987119e5eaa5d0e97c23256f85efe3511dfd09d6386d2849879f18cb85eb93ffe53465987d047327b
 SHA512 
e712d47ec7a8119a992e4e9dcb2876aa59c9d338262b3192ff2123a4f2981128c67f6c99c25c5176efa3d41393060dd02fc19e26ec62d129489146e43d60d0be
 DIST anki-node_modules-ea8f0c1491d0b0f9e0fdff589b1f0d297e6e11a6.tar.xz 
52164300 BLAKE2B 
f8c1b3b7d02d7a9b0fe9736769b023c083b08dc6a863bbc67576c25baf20ddbafe3c25328e8eb145ee813c0cd12438fa916480ba6d07734df88ca2ab6ce67728
 SHA512 
84f65d552044d6bd95d0d8141a7d50fff8a4f3a97c9635ffead42842238a59a48be67150fc49a91b0950e57e93ab64473daa1165d206a9ab9e18dec4aa5970de
 DIST anstream-0.6.13.crate 30928 BLAKE2B 
0c6d0932dc486ccbe8d7e6f97bd8aae03fb84d4db90d0488070b7109de673e0af845a70a39e546af87f71f4c7f7bb159ab8ed68ac0f03a0297457062d9d69dc0
 SHA512 
4f9ccfd135de9be22a01230f39d571c8d8ccf7c3eba837fbf0868c9660693b60ee0c1c2f9490a587d5307e892ed45cb946da7a0690a9f972619c94fb050bde09
 DIST anstyle-1.0.6.crate 14604 BLAKE2B 
0716d0dbb62bf05c63c2bfe1c689896660073a423d26965ce2570f11e1925752a61209d78c2f2fe65ec4eb64ea4ffbb39669e789c0ba5d1b71e75de929153b20
 SHA512 
dc0e505465be54799b9faad70d0c6f7f0dcf9f5e1aaa43177b826c85dae626b054910244da0499862f066f6723a1560ad12100aec523f28c6198f1ea0d1b78fa
@@ -28,6 +32,7 @

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-08-19 Thread Joonas Niilola
commit: b8e50a96fd41ff20a642c39dbad455cfdab1dfba
Author: Lucio Sauer  posteo  net>
AuthorDate: Tue Jul  2 21:40:00 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug 19 18:54:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e50a96

app-misc/anki: add upstream metadata

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/metadata.xml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
index 9b09c9b95827..7f320c364eb0 100644
--- a/app-misc/anki/metadata.xml
+++ b/app-misc/anki/metadata.xml
@@ -19,6 +19,12 @@
quickly, easily and efficiently as possible.


+   https://forums.ankiweb.net/c/anki/21
+   
https://github.com/ankitects/anki/releases
+   https://docs.ankiweb.net/
+   
+   Damien Elmes
+   
ankitects/anki





[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-05-15 Thread Florian Schmaus
commit: d9693ad88495e10541680350421c614089809ffd
Author: Lucio Sauer  posteo  net>
AuthorDate: Mon Mar 25 20:44:42 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed May 15 09:56:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9693ad8

app-misc/anki: add missing Unicode-3.0 license for tinystr crate

Deduplicate license expression
Remove redundant licensing comments

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 37 +
 1 file changed, 5 insertions(+), 32 deletions(-)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index 63f7f131ebee..5564846d6d89 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -690,43 +690,16 @@ PATCHES=(
 IUSE="+gui qt6 test"
 RESTRICT="!gui? ( test ) !test? ( test )"
 
-# 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"
+# 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 gui? ( 0BSD CC-BY-4.0 GPL-3+ Unlicense )"
 # Dependent crate licenses
 LICENSE+="
-   Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
+   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"
-# 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+=" gui? ( 0BSD CC-BY-4.0 GPL-3+ Unlicense )"
-
+LICENSE+=" Unicode-3.0 openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-05-15 Thread Florian Schmaus
commit: ccc2702f8f7ddd56b7fe69e65e5b84a4ad32489d
Author: Lucio Sauer  posteo  net>
AuthorDate: Thu Apr  4 16:42:28 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed May 15 09:56:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccc2702f

app-misc/anki: unbundle Rust dependency for build system runner

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index 8a3dcb0675cb..714304afc4af 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -755,6 +755,7 @@ RDEPEND="
 "
 
 BDEPEND="
+   >=app-arch/zstd-1.5.5:=
dev-libs/protobuf
virtual/pkgconfig
>=virtual/rust-1.71.0



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-05-15 Thread Florian Schmaus
commit: 6aff767270ceda6285866fb631c054c8e868a9b2
Author: Lucio Sauer  posteo  net>
AuthorDate: Mon Apr 29 11:25:11 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed May 15 09:56:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aff7672

app-misc/anki: fix variable order

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index 5564846d6d89..8a3dcb0675cb 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -678,6 +678,7 @@ SRC_URI="${CARGO_CRATE_URIS}
-> anki-desktop-ftl-${COMMITS[ftl-desktop]}.gh.tar.gz
gui? ( 
https://git.sr.ht/~antecrescent/gentoo-files/blob/main/app-misc/anki/anki-node_modules-${COMMITS[node_modules]}.tar.xz
 )
 "
+
 PATCHES=(
"${FILESDIR}"/${PV}/configure-offline-build.patch
"${FILESDIR}"/${PV}/ninja-gentoo-setup.patch
@@ -687,8 +688,6 @@ PATCHES=(
"${FILESDIR}"/${PV}/remove-formatter-dep.patch
"${FILESDIR}"/${PV}/remove-yarn-dep.patch
 )
-IUSE="+gui qt6 test"
-RESTRICT="!gui? ( test ) !test? ( test )"
 
 # How to get an up-to-date summary of runtime JS libs' licenses:
 # ./node_modules/.bin/license-checker-rseidelsohn --production 
--excludePackages anki --summary
@@ -702,7 +701,10 @@ LICENSE+="
 LICENSE+=" Unicode-3.0 openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
+IUSE="+gui qt6 test"
 REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!gui? ( test ) !test? ( test )"
 
 # Dependencies:
 # Python: python/requirements.{anki,aqt}.in



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-03-20 Thread Sam James
commit: 390386cda93757e3081e710ef8c884a0bd5308ef
Author: Lucio Sauer  posteo  net>
AuthorDate: Wed Feb 28 11:34:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:48:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390386cd

app-misc/anki: add openssl license for ring crate

Signed-off-by: Lucio Sauer  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/35552
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index f72a6cf7ef2f..63f7f131ebee 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -700,6 +700,8 @@ LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT
MPL-2.0 Unicode-DFS-2016 ZLIB
 "
+# Manually added crate licenses
+LICENSE+=" openssl"
 # The supermemo importer is licensed under GPL-3+ and 0BSD.
 # - pylib/anki/importing/supermemo_xml.py
 #



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/

2024-02-27 Thread Michał Górny
commit: d0ee350a1b37c26651f2a8642b4b95b417e9b963
Author: Lucio Sauer  posteo  net>
AuthorDate: Tue Feb 27 15:54:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 04:03:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ee350a

app-misc/anki: drop 2.1.15-r1, 2.1.15-r2

Closes: https://bugs.gentoo.org/878689
Closes: https://bugs.gentoo.org/762922
Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/Manifest |  1 -
 app-misc/anki/anki-2.1.15-r1.ebuild| 94 -
 app-misc/anki/anki-2.1.15-r2.ebuild| 95 --
 .../anki/files/anki-2.1.0_beta25-web-folder.patch  | 11 ---
 app-misc/anki/files/anki-2.1.15-fix-prefs.patch| 17 
 app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 --
 app-misc/anki/files/anki-2.1.15-unescape.patch | 13 ---
 7 files changed, 257 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 151eabce9198..cfc5a9797c3e 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -8,7 +8,6 @@ DIST ammonia-3.3.0.crate 46061 BLAKE2B 
082ee30f39ad788c9ae87888f003c2f6d08fbea7a
 DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 
4385a4875aadaacd5284a9ca7d1bf8a7bf14bf8925d1563d52fbabacc3af2c1ea08bfcf77106f3648f4fa052ac295158a21e7a0131d31eb9aecd99ea4ba20055
 SHA512 
4294024c21ddd0090c42c8eedf708d40d917f55ad5a4cb7aa3e64cfb6551b6df60f2e36bc08620c1d2fc8c7ba7207411518ee5c8635f60ed8ad9efdd458a2077
 DIST android_system_properties-0.1.5.crate 5243 BLAKE2B 
86f68ec3bdabf8c6ec47881d794970f08a9eefc7417fc8a2bf4fe9faf9bdd2a2024a94adb0cbf96673409f5fbbd4d0111a1ac371339e7a90a277b6cd5003524e
 SHA512 
b09f51339f9772c0e2e4241b36cf51573c6b96b19ffc1fbbc94b1c1d1d2fdfe8eac3134af54174a675ab05d18ef4f6bcb2c7fcc20114bbeef6e17e3692202191
 DIST anes-0.1.6.crate 23857 BLAKE2B 
9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61
 SHA512 
f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29
-DIST anki-2.1.15.tgz 4269571 BLAKE2B 
00b351f5ffacb363642e02bf806bcd7c0d9446c9815a75328e7fa37c848b271b135510de17cc012e8cc96d8a52a183a49de84b6f85f562a370255bd36c6f866e
 SHA512 
f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3
 DIST anki-23.12.1.gh.tar.gz 2369459 BLAKE2B 
0248cc5d994af10c56f9cf7bb719cb427aeee7dd0c4f9ee8dab73f216f923368e276b79577ddb2303cb0cde1500190a2e5ecdcde82f4d340dff4b10b59d0cfc3
 SHA512 
076d3eba5db7dd4b8e00de9b69140a54f73c2e6ce52f46ddce9a6455a8ce7ae5d49bfb2fc60571d851d6b4948a08a0b3deb508aa37c7e79624b6273837a975a5
 DIST anki-core-i18n-fb301cc62da3b7a83b4ea266d9a2e70cfc1a8418.gh.tar.gz 1245454 
BLAKE2B 
a8ad2a286a6006b9427114e648c236e868a149c8fa8f1506cc406676dac9f352ae74addee1e6965b92767ac9eb49c6cc26312cc517823433cd5e013ce6d8c6b9
 SHA512 
12e9187bda8f728d06a904fe21f3820aa2acad0e1924933d9db24f3879936b0a7b489934186fcab85440a40b974917ada729b5a7ec276ca2acea70b5c88caa5a
 DIST anki-desktop-ftl-8c2191a7c797747cec767e3953bbbcc50acc5246.gh.tar.gz 
215288 BLAKE2B 
6b71e3f81f5be651ece9094743132e18c88f69487cc125d436d30bc7dae99cdcc793f34094b4c034f4b26073148e0fd9e2cb16db592c9ea9f2cc3ca4dcd1e6d6
 SHA512 
91c3609fa8ca67de2d520798acbb7200d310c4d587270143528a5c18ed341c7dd3b9ddc8d79fe1f44224e83dc06f12cdbcdcf2114969513cbd60e82950343373

diff --git a/app-misc/anki/anki-2.1.15-r1.ebuild 
b/app-misc/anki/anki-2.1.15-r1.ebuild
deleted file mode 100644
index 06b2d34159d7..
--- a/app-misc/anki/anki-2.1.15-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-PYTHON_REQ_USE="sqlite"
-
-inherit desktop optfeature python-single-r1 xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net";
-SRC_URI="https://apps.ankiweb.net/downloads/archive/${P}-source.tgz -> 
${P}.tgz"
-
-LICENSE="AGPL-3+ BSD MIT GPL-3+ CC-BY-SA-3.0 Apache-2.0 CC-BY-2.5"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
-   >=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/jsonschema[${PYTHON_USEDEP}]
-   dev-python/markdown[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/send2trash[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="test? (
-   ${RD

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2024-01-21 Thread Sam James
commit: 136ca362535da7f89893b8549e3afe9c27e30f00
Author: Lucio Sauer  posteo  net>
AuthorDate: Tue Jan  9 23:06:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:00:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136ca362

app-misc/anki: build the build system runner with release profile

Signed-off-by: Lucio Sauer  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/31122
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index b79e79196831..f72a6cf7ef2f 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -880,7 +880,7 @@ src_compile() {
#* generate the ninja file and run ninja afterwards
#* create the Python wheel files in "${S}"/out/wheels
 
-   cargo_src_compile $(usev debug "--release") --package runner
+   cargo build --release --package runner || die
if use gui; then
out/rust/release/runner build -- $(get_NINJAOPTS) wheels  || die
else



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/23.12.1/

2024-01-21 Thread Sam James
commit: 0d686c653b1eb6df7bcc597728ad7ed8d6566a08
Author: Lucio Sauer  posteo  net>
AuthorDate: Tue Jan  9 05:43:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:00:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d686c65

app-misc/anki: unbundle sqlite correctly

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild |  2 +-
 app-misc/anki/files/23.12.1/unbundle-sqlite.patch | 14 --
 2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index 13e6cf187381..b79e79196831 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -683,7 +683,6 @@ PATCHES=(
"${FILESDIR}"/${PV}/ninja-gentoo-setup.patch
"${FILESDIR}"/${PV}/no-git-submodule-sync.patch
"${FILESDIR}"/${PV}/pseudo-venv.patch
-   "${FILESDIR}"/${PV}/unbundle-sqlite.patch
"${FILESDIR}"/${PV}/use-system-nextest.patch
"${FILESDIR}"/${PV}/remove-formatter-dep.patch
"${FILESDIR}"/${PV}/remove-yarn-dep.patch
@@ -820,6 +819,7 @@ https://addon-docs.ankiweb.net/
 
 pkg_setup() {
export PROTOC_BINARY="${BROOT}"/usr/bin/protoc
+   export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
export ZSTD_SYS_USE_PKG_CONFIG=1
 
if use gui; then

diff --git a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch 
b/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
deleted file mode 100644
index 496c4fad47a6..
--- a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Use system dev-db/sqlite:3 instead of a bundled version.
-
-From: Lucio Sauer 
 a/Cargo.toml
-+++ b/Cargo.toml
-@@ -108,7 +108,7 @@ pyo3 = { version = "0.20.0", features = 
["extension-module", "abi3", "abi3-py39"
- rand = "0.8.5"
- regex = "1.10.2"
- reqwest = { version = "0.11.22", default-features = false, features = 
["json", "socks", "stream", "multipart"] }
--rusqlite = { version = "0.30.0", features = ["trace", "functions", 
"collation", "bundled"] }
-+rusqlite = { version = "0.30.0", features = ["trace", "functions", 
"collation"] }
- scopeguard = "1.2.0"
- serde = { version = "1.0.193", features = ["derive"] }
- serde-aux = "4.2.0"



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/23.12.1/

2024-01-21 Thread Sam James
commit: f62ed792c828d52354e1d66437728dbecdd6021c
Author: Lucio Sauer  posteo  net>
AuthorDate: Tue Jan  9 12:56:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:00:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62ed792

app-misc/anki/files/23.12.1: add links to patch origins where applicable

- Reword pseudo-venv.patch for clarity.

Signed-off-by: Lucio Sauer  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/files/23.12.1/configure-offline-build.patch |  1 +
 app-misc/anki/files/23.12.1/ninja-gentoo-setup.patch  |  1 +
 app-misc/anki/files/23.12.1/no-git-submodule-sync.patch   |  2 ++
 app-misc/anki/files/23.12.1/pseudo-venv.patch | 10 +++---
 app-misc/anki/files/23.12.1/remove-yarn-dep.patch |  1 +
 5 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/app-misc/anki/files/23.12.1/configure-offline-build.patch 
b/app-misc/anki/files/23.12.1/configure-offline-build.patch
index 7979d4124744..28c77916e555 100644
--- a/app-misc/anki/files/23.12.1/configure-offline-build.patch
+++ b/app-misc/anki/files/23.12.1/configure-offline-build.patch
@@ -1,4 +1,5 @@
 This is an adapted patch from the games/anki FreeBSD port.
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_configure_src_main.rs
 
 It replaces or skips network-reliant methods of the build setup and disables
 the setup for bundles and for offline documentation. This way, we achieve a

diff --git a/app-misc/anki/files/23.12.1/ninja-gentoo-setup.patch 
b/app-misc/anki/files/23.12.1/ninja-gentoo-setup.patch
index 4ef0da86d9f5..8671057d4054 100644
--- a/app-misc/anki/files/23.12.1/ninja-gentoo-setup.patch
+++ b/app-misc/anki/files/23.12.1/ninja-gentoo-setup.patch
@@ -1,4 +1,5 @@
 This is an adapted patch from the games/anki FreeBSD port.
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_runner_src_build.rs
 
 It adapts the ninja(-compatible) build system to the Gentoo system and
 prevents repo sync via git.

diff --git a/app-misc/anki/files/23.12.1/no-git-submodule-sync.patch 
b/app-misc/anki/files/23.12.1/no-git-submodule-sync.patch
index 58addebf795d..df09a09b91a4 100644
--- a/app-misc/anki/files/23.12.1/no-git-submodule-sync.patch
+++ b/app-misc/anki/files/23.12.1/no-git-submodule-sync.patch
@@ -1,4 +1,6 @@
 This is an adapted patch from the games/anki FreeBSD port.
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_configure_src_rust.rs
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_ninja__gen_src_git.rs
 
 It prevents the build system from issuing the repo sync that
 requires git and an internet connection.

diff --git a/app-misc/anki/files/23.12.1/pseudo-venv.patch 
b/app-misc/anki/files/23.12.1/pseudo-venv.patch
index fe5c00e17f93..8c173021a5b7 100644
--- a/app-misc/anki/files/23.12.1/pseudo-venv.patch
+++ b/app-misc/anki/files/23.12.1/pseudo-venv.patch
@@ -1,9 +1,13 @@
+This is an adapted patch from the games/anki FreeBSD port.
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_configure_src_python.rs
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_ninja__gen_src_python.rs
+
 Use the "PythonEnvironmentStub" function to use a native Python environment
 instead of a Python venv.
 * Avoid the use of Python's pip (network access).
-* Remove the python_binary input which is the only dependant of the
-  python_binary target. This saves us from setting an extra environment
-  variable to prevent network access.
+* Remove the python_binary input for PythonEnvironmentStub since we create the
+  pseudo venv manually in the ebuild. This saves us from setting an extra
+  environment variable to prevent network access.
   
   The python_binary input should really only be added to PythonEnvironment, if
   the venv is not set up.

diff --git a/app-misc/anki/files/23.12.1/remove-yarn-dep.patch 
b/app-misc/anki/files/23.12.1/remove-yarn-dep.patch
index bb5d49861c6e..d4cfb30b80b4 100644
--- a/app-misc/anki/files/23.12.1/remove-yarn-dep.patch
+++ b/app-misc/anki/files/23.12.1/remove-yarn-dep.patch
@@ -1,4 +1,5 @@
 This is an adapted patch from the games/anki FreeBSD port.
+https://github.com/freebsd/freebsd-ports/blob/109c3d4629b84972e660b689d169ac0761c1a519/games/anki/files/patch-build_runner_src_yarn.rs
 
 The ebuild ships a ready-to-use node_modules tarball which does not require
 sys-apps/yarn to be installed. Pre-built node_modules allows us to run JS 
tests.



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/, app-misc/anki/

2023-06-13 Thread Sam James
commit: 5bd2f4e45cae5ffb8cdab1f2942312b49497e24a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 13 21:28:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 13 21:29:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd2f4e4

app-misc/anki: update EAPI 7 -> 8, enable py3.11, fix prefs

Thanks to WGH for the backport of the pref fix.

Closes: https://bugs.gentoo.org/869917
Closes: https://bugs.gentoo.org/896566
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-2.1.15-r2.ebuild | 95 +
 app-misc/anki/files/anki-2.1.15-fix-prefs.patch | 17 +
 2 files changed, 112 insertions(+)

diff --git a/app-misc/anki/anki-2.1.15-r2.ebuild 
b/app-misc/anki/anki-2.1.15-r2.ebuild
new file mode 100644
index ..ddd50dba0c10
--- /dev/null
+++ b/app-misc/anki/anki-2.1.15-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="sqlite"
+
+inherit desktop optfeature python-single-r1 xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/archive/${P}-source.tgz -> 
${P}.tgz"
+
+LICENSE="AGPL-3+ BSD MIT GPL-3+ CC-BY-SA-3.0 Apache-2.0 CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
+   >=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   dev-python/markdown[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
+   ')
+"
+BDEPEND="test? (
+   ${RDEPEND}
+   $(python_gen_cond_dep '
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   ')
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch
+   "${FILESDIR}"/${PN}-2.1.15-mpv-args.patch
+   "${FILESDIR}"/${PN}-2.1.15-unescape.patch
+   "${FILESDIR}"/${PN}-2.1.15-fix-prefs.patch
+)
+
+src_prepare() {
+   default
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+src_compile() {
+   :;
+}
+
+src_test() {
+   sed -e "s:nose=nosetests$:nose=\"${EPYTHON} 
${BROOT}/usr/bin/nosetests\":" \
+   -i tools/tests.sh || die
+   sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} 
${BROOT}/usr/bin/nosetests3\":" \
+   -i tools/tests.sh || die
+   sed -e "s:which nosetests3:which ${BROOT}/usr/bin/nosetests3:" \
+   -i tools/tests.sh || die
+   ./tools/tests.sh || die
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README.md README.development
+   python_domodule aqt anki
+   python_newscript runanki anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+
+   # not sure if this is correct, but
+   # site-packages/aqt/mediasrv.py wants the directory
+   insinto /usr/share/anki
+   doins -r web
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+   optfeature "LaTeX in cards" "app-text/texlive app-text/dvipng"
+   optfeature "Record sound" "dev-python/pyaudio media-sound/lame"
+   optfeature "Playback sound" media-video/mpv media-video/mplayer
+}

diff --git a/app-misc/anki/files/anki-2.1.15-fix-prefs.patch 
b/app-misc/anki/files/anki-2.1.15-fix-prefs.patch
new file mode 100644
index ..4f0bb2457dac
--- /dev/null
+++ b/app-misc/anki/files/anki-2.1.15-fix-prefs.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/869917#c3
+https://github.com/ankitects/anki/commit/d2ae874d9e1615d09afc912275cc3b27776a1392
+
+--- a/aqt/preferences.py
 b/aqt/preferences.py
+@@ -77,8 +77,8 @@ class Preferences(QDialog):
+ f.hwAccel.setVisible(False)
+ else:
+ f.hwAccel.setChecked(self.mw.pm.glMode() != "software")
+-f.lrnCutoff.setValue(qc['collapseTime']/60.0)
+-f.timeLimit.setValue(qc['timeLim']/60.0)
++f.lrnCutoff.setValue(int(qc['collapseTime']/60.0))
++f.timeLimit.setValue(int(qc['timeLim']/60.0))
+ f.showEstimates.setChecked(qc['estTimes'])
+ f.showProgress.setChecked(qc['dueCounts'])
+ f.nightMode.setChecked(qc.get("nightMode", False))
+



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2022-06-02 Thread Michał Górny
commit: 93c9c735272b790ec2e4515dcd0d7336cf8d409b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  2 07:10:41 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  2 07:52:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c9c735

app-misc/anki: Enable py3.10

Closes: https://bugs.gentoo.org/845480
Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/anki-2.1.15-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/anki/anki-2.1.15-r1.ebuild 
b/app-misc/anki/anki-2.1.15-r1.ebuild
index 4b1316fe462e..deab0a159572 100644
--- a/app-misc/anki/anki-2.1.15-r1.ebuild
+++ b/app-misc/anki/anki-2.1.15-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="sqlite"
 
 inherit desktop optfeature python-single-r1 xdg



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/, app-misc/anki/

2021-06-12 Thread Sam James
commit: 267c5a6cdfd2d0e3839118d49598e92ac074d7b0
Author: Austin Ray  austinray  io>
AuthorDate: Fri Jun 11 15:10:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 09:25:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267c5a6c

app-misc/anki: patch Python 3.9 incompatibility

This commit modifies the existing anki-2.1.15 ebuild with a patch to
replace a deprecated, undocumented method available in Python 3.8[0] but
removed in Python 3.9[1]. Without the patch, anki throws a runtime error
(see bug for more details) as anki 2.1.15 pre-dates Python 3.9.

[0] 
https://github.com/python/cpython/blob/4844abdd700120120fc76c29d911bcb547700baf/Lib/html/parser.py#L466
[1] https://bugs.python.org/issue37328

Closes: https://bugs.gentoo.org/795309

Signed-off-by: Austin Ray  austinray.io>
Closes: https://github.com/gentoo/gentoo/pull/21200
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/{anki-2.1.15.ebuild => anki-2.1.15-r1.ebuild} |  1 +
 app-misc/anki/files/anki-2.1.15-unescape.patch  | 13 +
 2 files changed, 14 insertions(+)

diff --git a/app-misc/anki/anki-2.1.15.ebuild 
b/app-misc/anki/anki-2.1.15-r1.ebuild
similarity index 98%
rename from app-misc/anki/anki-2.1.15.ebuild
rename to app-misc/anki/anki-2.1.15-r1.ebuild
index a1b7dc8c2e7..f97f7bb0fbc 100644
--- a/app-misc/anki/anki-2.1.15.ebuild
+++ b/app-misc/anki/anki-2.1.15-r1.ebuild
@@ -44,6 +44,7 @@ BDEPEND="test? (
 PATCHES=(
"${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch
"${FILESDIR}"/${PN}-2.1.15-mpv-args.patch
+   "${FILESDIR}"/${PN}-2.1.15-unescape.patch
 )
 
 src_prepare() {

diff --git a/app-misc/anki/files/anki-2.1.15-unescape.patch 
b/app-misc/anki/files/anki-2.1.15-unescape.patch
new file mode 100644
index 000..7b03c8d8e1a
--- /dev/null
+++ b/app-misc/anki/files/anki-2.1.15-unescape.patch
@@ -0,0 +1,13 @@
+diff --git a/aqt/reviewer.py b/aqt/reviewer.py
+index f01fcbd9f..5aaf26669 100644
+--- a/aqt/reviewer.py
 b/aqt/reviewer.py
+@@ -359,7 +359,7 @@ Please run Tools>Empty Cards""")
+ cor = stripHTML(cor)
+ # ensure we don't chomp multiple whitespace
+ cor = cor.replace(" ", " ")
+-cor = parser.unescape(cor)
++cor = html.unescape(cor)
+ cor = cor.replace("\xa0", " ")
+ cor = cor.strip()
+ given = self.typedAnswer



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2021-05-31 Thread Sam James
commit: 94d82f3a13de312d8aa1afbd328c0a2838307a37
Author: Chris Burroughs  gmail  com>
AuthorDate: Fri May 28 20:24:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  1 00:03:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d82f3a

app-misc/anki: bump python to 3.9

Closes: https://bugs.gentoo.org/791799

Signed-off-by: Chris Burroughs  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21028
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-2.1.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-2.1.15.ebuild b/app-misc/anki/anki-2.1.15.ebuild
index 7acb0a51904..a1b7dc8c2e7 100644
--- a/app-misc/anki/anki-2.1.15.ebuild
+++ b/app-misc/anki/anki-2.1.15.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 PYTHON_REQ_USE="sqlite"
 
 inherit desktop optfeature python-single-r1 xdg



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2021-04-12 Thread Sam James
commit: 24738e8a4c56ed831bfffc5d1e74cf2da46182a3
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 10 06:02:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 22:49:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24738e8a

app-misc/anki: fix EROOT in src_test (VariableScope)

Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/anki-2.1.15.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-misc/anki/anki-2.1.15.ebuild b/app-misc/anki/anki-2.1.15.ebuild
index ed52486d34a..7acb0a51904 100644
--- a/app-misc/anki/anki-2.1.15.ebuild
+++ b/app-misc/anki/anki-2.1.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -57,11 +57,11 @@ src_compile() {
 }
 
 src_test() {
-   sed -e "s:nose=nosetests$:nose=\"${EPYTHON} 
${EROOT}/usr/bin/nosetests\":" \
+   sed -e "s:nose=nosetests$:nose=\"${EPYTHON} 
${BROOT}/usr/bin/nosetests\":" \
-i tools/tests.sh || die
-   sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} 
${EROOT}/usr/bin/nosetests3\":" \
+   sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} 
${BROOT}/usr/bin/nosetests3\":" \
-i tools/tests.sh || die
-   sed -e "s:which nosetests3:which ${EROOT}/usr/bin/nosetests3:" \
+   sed -e "s:which nosetests3:which ${BROOT}/usr/bin/nosetests3:" \
-i tools/tests.sh || die
./tools/tests.sh || die
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2021-02-02 Thread Sam James
commit: a993bc81813daedb1e1e9fd0cb0c463721e733f2
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  2 22:07:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  2 22:08:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a993bc81

app-misc/anki: add github remote-id

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 app-misc/anki/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
index 1126ffd44c5..93ff65570b6 100644
--- a/app-misc/anki/metadata.xml
+++ b/app-misc/anki/metadata.xml
@@ -10,4 +10,7 @@
(such as words and phrases in a foreign language) as
quickly, easily and efficiently as possible.

+   
+   ankitects/anki
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2020-12-31 Thread Michał Górny
commit: 6c9e5e8acc36790009fa589de371c9404863cc3a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 00:42:41 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 00:46:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9e5e8a

app-misc/anki: Remove old (py3.6)

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/Manifest |  2 -
 app-misc/anki/anki-2.1.0_beta27.ebuild | 99 --
 app-misc/anki/anki-2.1.13-r1.ebuild| 98 -
 app-misc/anki/metadata.xml |  8 ---
 4 files changed, 207 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index d013dc23f14..fcec57bd07d 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,3 +1 @@
-DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
-DIST anki-2.1.13.tgz 4248906 BLAKE2B 
82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f
 SHA512 
921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3
 DIST anki-2.1.15.tgz 4269571 BLAKE2B 
00b351f5ffacb363642e02bf806bcd7c0d9446c9815a75328e7fa37c848b271b135510de17cc012e8cc96d8a52a183a49de84b6f85f562a370255bd36c6f866e
 SHA512 
f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
deleted file mode 100644
index 9b0a46164d6..000
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1 xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net";
-
-MY_P="${P/_/}"
-SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> 
${P}.tgz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="latex +recording +sound test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   || (
-   (
-   
>=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
-   dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}]
-   )
-   
=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
-   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
-   dev-python/markdown[${PYTHON_MULTI_USEDEP}]
-   dev-python/requests[${PYTHON_MULTI_USEDEP}]
-   dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
-   recording? (
-   media-sound/lame
-   >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
-   )
-   ')
-   sound? ( media-video/mplayer )
-   latex? (
-   app-text/texlive
-   app-text/dvipng
-   )
-"
-DEPEND="${RDEPEND}
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/nose[${PYTHON_MULTI_USEDEP}]
-   ')
-   )
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/updates=True/updates=False/" \
-   aqt/profiles.py || die
-}
-
-src_compile() {
-   :;
-}
-
-src_test() {
-   sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
-   -i tools/tests.sh || die
-   ./tools/tests.sh || die
-}
-
-src_install() {
-   cp tools/runanki.system tools/anki
-   doicon ${PN}.png
-   domenu ${PN}.desktop
-   doman ${PN}.1
-
-   dodoc README.md README.development
-   python_domodule aqt anki
-   python_doscript tools/anki
-
-   # Localization files go into the anki directory:
-   python_moduleinto anki
-   python_domodule locale
-
-   # not sure if this is correct, but
-   # site-packages/aqt/mediasrv.py wants the directory
-   insinto /usr/share/anki
-   doins -r web
-}

diff --git a/app-misc/anki/anki-2.1.13-r1.ebuild 
b/app-misc/anki/anki-2.1.13-r1.ebuild
deleted file mode 100644
index 9c1a33eea45..000
--- a/app-misc/anki/anki-2.1.13-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/

2020-06-12 Thread Joonas Niilola
commit: bbf4348280a355c7def871019405fc563730ed7c
Author: Chris Burroughs  gmail  com>
AuthorDate: Fri Nov  8 02:37:38 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jun 12 06:59:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf43482

app-misc/anki: bump to 2.1.15 and modernize ebuild

 - claiming maintainer timeout to update version and fix bugs, --juippis

 * Bump to EAPI 7
 * Enable python 3.{7,8} support
 * Fix missing test dependencies
 * Add missing jsonschema dependency
 * Backport argument fix to allow mpv versions > 0.31 to be used by anki
 * Correct and expand LICENSE
 * Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split,
   but no version of PyQt5 with a webengine use flag is still in the tree.)
 * Use default pkg_setup from eclass and rely on default value for S variable
 * Clarify optional runtime dependencies needed (mpv OR mplayer)
 * Move optional runtime dependencies to optfeature
 * Adjust SRC_URL after upstream re-arranging

NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but
since we are building from source that is not directly included.  More recent
upstream versions have clarified this in the LICENSE file.

Bug: https://bugs.gentoo.org/625894
Bug: https://bugs.gentoo.org/645314
Bug: https://bugs.gentoo.org/651472
Bug: https://bugs.gentoo.org/688798
Closes: https://bugs.gentoo.org/700010
Closes: https://bugs.gentoo.org/715624
Bug: https://bugs.gentoo.org/722502
Bug: https://bugs.gentoo.org/724482
Bug: https://bugs.gentoo.org/724990
Closes: https://bugs.gentoo.org/726522

Signed-off-by: Chris Burroughs  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16054
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/anki/Manifest |  1 +
 app-misc/anki/anki-2.1.15.ebuild   | 93 ++
 app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 +++
 3 files changed, 120 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index b40a9f9484c..d013dc23f14 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,2 +1,3 @@
 DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
 DIST anki-2.1.13.tgz 4248906 BLAKE2B 
82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f
 SHA512 
921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3
+DIST anki-2.1.15.tgz 4269571 BLAKE2B 
00b351f5ffacb363642e02bf806bcd7c0d9446c9815a75328e7fa37c848b271b135510de17cc012e8cc96d8a52a183a49de84b6f85f562a370255bd36c6f866e
 SHA512 
f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3

diff --git a/app-misc/anki/anki-2.1.15.ebuild b/app-misc/anki/anki-2.1.15.ebuild
new file mode 100644
index 000..2f651f60f1d
--- /dev/null
+++ b/app-misc/anki/anki-2.1.15.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_REQ_USE="sqlite"
+
+inherit desktop eutils python-single-r1 xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/archive/${P}-source.tgz -> 
${P}.tgz"
+
+LICENSE="AGPL-3+ BSD MIT GPL-3+ CC-BY-SA-3.0 Apache-2.0 CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
+   >=dev-python/PyQtWebEngine-5.12[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
+   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+   dev-python/jsonschema[${PYTHON_MULTI_USEDEP}]
+   dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+   dev-python/requests[${PYTHON_MULTI_USEDEP}]
+   dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
+   ')
+"
+BDEPEND="test? (
+   ${RDEPEND}
+   $(python_gen_cond_dep '
+   dev-python/nose[${PYTHON_MULTI_USEDEP}]
+   dev-python/mock[${PYTHON_MULTI_USEDEP}]
+   ')
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch
+   "${FILESDIR}"/${PN}-2.1.15-mpv-args.patch
+)
+
+src_prepare() {
+   default
+   sed -i -e "s/updates=True/updates=False/" \
+   

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2020-02-16 Thread Andreas Sturmlechner
commit: 936b4104874bb166a30785aa8e3b145c7a0d4508
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 16 22:12:21 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 16 22:13:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936b4104

app-misc/anki: Drop 2.1.0_beta25 with wrong dependency on qtwebkit

No keywords anyway, whereas newer versions are keyworded.

Closes: https://bugs.gentoo.org/641966
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-misc/anki/Manifest |  1 -
 app-misc/anki/anki-2.1.0_beta25.ebuild | 93 --
 2 files changed, 94 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 2f3e3983b2e..b40a9f9484c 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,3 +1,2 @@
-DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 
0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749
 SHA512 
9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
 DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
 DIST anki-2.1.13.tgz 4248906 BLAKE2B 
82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f
 SHA512 
921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
deleted file mode 100644
index 7e5c0bc5b29..000
--- a/app-misc/anki/anki-2.1.0_beta25.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1 xdg
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="https://apps.ankiweb.net";
-
-MY_P="${P/_/}"
-SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> 
${P}.tgz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE="latex +recording +sound test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/PyQt5[gui,svg,webkit,${PYTHON_MULTI_USEDEP}]
-   >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
-   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
-   dev-python/markdown[${PYTHON_MULTI_USEDEP}]
-   dev-python/requests[${PYTHON_MULTI_USEDEP}]
-   dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
-   recording? (
-   media-sound/lame
-   >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
-   )
-   ')
-   sound? ( media-video/mplayer )
-   latex? (
-   app-text/texlive
-   app-text/dvipng
-   )
-"
-DEPEND="${RDEPEND}
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/nose[${PYTHON_MULTI_USEDEP}]
-   ')
-   )
-"
-
-PATCHES=( "${FILESDIR}"/${P}-web-folder.patch )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/updates=True/updates=False/" \
-   aqt/profiles.py || die
-}
-
-src_compile() {
-   :;
-}
-
-src_test() {
-   sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
-   -i tools/tests.sh || die
-   ./tools/tests.sh || die
-}
-
-src_install() {
-   cp tools/runanki.system tools/anki
-   doicon ${PN}.png
-   domenu ${PN}.desktop
-   doman ${PN}.1
-
-   dodoc README.md README.development
-   python_domodule aqt anki
-   python_doscript tools/anki
-
-   # Localization files go into the anki directory:
-   python_moduleinto anki
-   python_domodule locale
-
-   # not sure if this is correct, but
-   # site-packages/aqt/mediasrv.py wants the directory
-   insinto /usr/share/anki
-   doins -r web
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2020-02-09 Thread Michał Górny
commit: 5ef378748982f61d00bb60172d661be41ddc5f1c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 09:38:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:10:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef37874

app-misc/anki: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/anki/anki-2.1.0_beta25.ebuild | 32 ++---
 app-misc/anki/anki-2.1.0_beta27.ebuild | 42 --
 .../{anki-2.1.13.ebuild => anki-2.1.13-r1.ebuild}  | 34 ++
 3 files changed, 63 insertions(+), 45 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
index 7a709e1e39e..7e5c0bc5b29 100644
--- a/app-misc/anki/anki-2.1.0_beta25.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,17 +23,19 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
-   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/markdown[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/send2trash[${PYTHON_USEDEP}]
-   recording? (
-   media-sound/lame
-   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
-   )
+   $(python_gen_cond_dep '
+   dev-python/PyQt5[gui,svg,webkit,${PYTHON_MULTI_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
+   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+   dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+   dev-python/requests[${PYTHON_MULTI_USEDEP}]
+   dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
+   )
+   ')
sound? ( media-video/mplayer )
latex? (
app-text/texlive
@@ -41,7 +43,11 @@ RDEPEND="${PYTHON_DEPS}
)
 "
 DEPEND="${RDEPEND}
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/nose[${PYTHON_MULTI_USEDEP}]
+   ')
+   )
 "
 
 PATCHES=( "${FILESDIR}"/${P}-web-folder.patch )

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
index 341c641fe86..9b0a46164d6 100644
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,23 +23,25 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   || (
-   (
-   
>=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
-   dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   || (
+   (
+   
>=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
+   dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}]
+   )
+   
=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/markdown[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/send2trash[${PYTHON_USEDEP}]
-   recording? (
-   media-sound/lame
-   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
-   )
+   >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
+   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+   dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+   dev-python/requests[${PYTHON_MULTI_USEDEP}]
+   dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
+   )
+   ')
sound? ( media-video/mplayer )
latex? (
app-text/texlive
@@ -47,7 +49,11 @@ RDEPEND="${PYTHON_DEPS}
)
 "
 DEPEND="${RDEPEND}
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/nose[${P

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2019-11-17 Thread Davide Pesavento
commit: 41fc05a8d3ea6aee49bcff68ddce01151dec6a62
Author: Davide Pesavento  gentoo  org>
AuthorDate: Sun Nov 17 18:50:53 2019 +
Commit: Davide Pesavento  gentoo  org>
CommitDate: Sun Nov 17 18:51:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fc05a8

app-misc/anki: be compatible with split PyQtWebEngine

Bug: https://bugs.gentoo.org/699306
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Davide Pesavento  gentoo.org>

 app-misc/anki/anki-2.1.0_beta27.ebuild | 10 --
 app-misc/anki/anki-2.1.13.ebuild   |  8 +++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
index a4c33685fa1..9c8bfdb780b 100644
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,13 @@ IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+   || (
+   (
+   
>=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
+   dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+   )
+   
=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]

diff --git a/app-misc/anki/anki-2.1.13.ebuild b/app-misc/anki/anki-2.1.13.ebuild
index bb38a02500c..a9775f88b92 100644
--- a/app-misc/anki/anki-2.1.13.ebuild
+++ b/app-misc/anki/anki-2.1.13.ebuild
@@ -21,7 +21,13 @@ IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+   || (
+   (
+   
>=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
+   dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+   )
+   
=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2019-06-20 Thread 罗百科
commit: 993ef0de780a19cc7f973407032ada2054b38108
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Jun 20 13:17:45 2019 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Jun 20 13:26:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993ef0de

app-misc/anki: Bump

Fix #652000

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Patrick Lauer  gentoo.org>

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.1.13.ebuild | 85 
 2 files changed, 86 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 28261ed76b8..2f3e3983b2e 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,2 +1,3 @@
 DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 
0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749
 SHA512 
9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
 DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
+DIST anki-2.1.13.tgz 4248906 BLAKE2B 
82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f
 SHA512 
921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3

diff --git a/app-misc/anki/anki-2.1.13.ebuild b/app-misc/anki/anki-2.1.13.ebuild
new file mode 100644
index 000..bb38a02500c
--- /dev/null
+++ b/app-misc/anki/anki-2.1.13.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1 xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> 
${P}.tgz"
+
+S="${WORKDIR}/${P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/markdown[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
+   recording? ( media-sound/lame )
+   sound? ( media-video/mpv )
+   latex? (
+   app-text/texlive
+   app-text/dvipng
+   )
+"
+DEPEND="${RDEPEND}
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+src_compile() {
+   :;
+}
+
+src_test() {
+   sed -e "s:nose=nosetests$:nose=\"${EPYTHON} 
${EROOT}usr/bin/nosetests\":" \
+   -i tools/tests.sh || die
+   sed -e "s:nose=nosetests3$:nose=\"${EPYTHON} 
${EROOT}usr/bin/nosetests3\":" \
+   -i tools/tests.sh || die
+   sed -e "s:which nosetests3:which ${EROOT}usr/bin/nosetests3:" \
+   -i tools/tests.sh || die
+   ./tools/tests.sh || die
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README.md README.development
+   python_domodule aqt anki
+   python_newscript runanki anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+
+   # not sure if this is correct, but
+   # site-packages/aqt/mediasrv.py wants the directory
+   insinto /usr/share/anki
+   doins -r web
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2018-03-01 Thread Andreas Sturmlechner
commit: 382eed81673cfd58b185b662a3f7ccc6816765f6
Author: Hector Martin  marcan  st>
AuthorDate: Thu Feb  8 18:32:33 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Mar  1 12:54:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382eed81

app-misc/anki: depends on dev-python/PyQt5[webengine,widgets]

Bug: https://bugs.gentoo.org/641966
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7127

 app-misc/anki/anki-2.1.0_beta27.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
index 470db2ae7ad..a4c33685fa1 100644
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,7 @@ IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
>=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-12-18 Thread Andreas Sturmlechner
commit: c256849563d19e023385ef4cf9f55a550815359a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Dec 18 02:17:07 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Dec 19 00:18:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2568495

app-misc/anki: Drop last-rited versions

Closes: https://bugs.gentoo.org/639354
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/anki/Manifest   |  8 -
 app-misc/anki/anki-2.0.31.ebuild | 70 
 app-misc/anki/anki-2.0.33.ebuild | 64 
 app-misc/anki/anki-2.0.34.ebuild | 64 
 app-misc/anki/anki-2.0.35.ebuild | 64 
 app-misc/anki/anki-2.0.36.ebuild | 64 
 app-misc/anki/anki-2.0.41.ebuild | 64 
 app-misc/anki/anki-2.0.43.ebuild | 68 --
 app-misc/anki/anki-2.0.47.ebuild | 68 --
 9 files changed, 534 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 8d8a7f5f6ae..28261ed76b8 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,10 +1,2 @@
-DIST anki-2.0.31.tgz 3329290 BLAKE2B 
e0aeb020e545b308d56893c1864f5a4e8835a85444066fb325fd0394c334189324b7be012429642503c4dcb113bfaf10c7a4d0c140bd43ab2a862960b79c3b12
 SHA512 
3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8
-DIST anki-2.0.33.tgz 3376646 BLAKE2B 
0118c08dc903387b0b17255addc1efa550e4b9408f21804d35207cf1bb58006f2a5114bf6425b30ceeb8d438d8da7cd2a56274a9bceb24a8eaeb98646d2ba6a8
 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
-DIST anki-2.0.34.tgz 3411136 BLAKE2B 
7d488077165d2b01b89b62bb4d81b084b38a7d0bbf4a376ba0f7694cfef95d2a148a05af13d8a14babedf2fac835f2c8d196b380f422902f311779b020ea64d6
 SHA512 
289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd
-DIST anki-2.0.35.tgz 3410475 BLAKE2B 
49f5823a0cad4bc1164fa121a141edec2def18de0739bf4bc5fb71eb44ad992f4ac7a2a0edf183b73fe45dacda59f25ee642280e8e7def91b54d5c5024820447
 SHA512 
4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e
-DIST anki-2.0.36.tgz 3410538 BLAKE2B 
957858fc277c31c4b842b937f9cdfd9950e5dd8832704db2c3494fe26fbd2121b09c31ab68aaefdc3e6cf061d52e5feb9a252cb695a97da7353add925466840f
 SHA512 
34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147
-DIST anki-2.0.41.tgz 3422038 BLAKE2B 
43f816b47ec17381de192f71680b3df8a0dade74379eb028177a8ad820d7fa876fe29fe3a22f1e6b33a794ae3d2b23530cc3e9fe8a7c10adbf9214d73d66c9ce
 SHA512 
b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872
-DIST anki-2.0.43.tgz 3422113 BLAKE2B 
04bd8c028122dfd74fdeb92297da7bd7af04fc093e87bd156bc61558a328a8249115baf14a666eeb7a7ce7b29e2276d1ef03e028a916d178fa88080ad229aea2
 SHA512 
e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
-DIST anki-2.0.47.tgz 3422231 BLAKE2B 
192803df52a97cfe31f58914453836aa8dfd341572f812855e551faf9345506acce0176c0966c08e6b8ffac4f5ff36eb5eb76eac9ebc397ebe27e1fec0233e62
 SHA512 
5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a
 DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 
0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749
 SHA512 
9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
 DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1

diff --git a/app-misc/anki/anki-2.0.31.ebuild b/app-misc/anki/anki-2.0.31.ebuild
deleted file mode 100644
index b382762b971..000
--- a/app-misc/anki/anki-2.0.31.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="http://ichi2.net/anki/";
-SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWO

[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/, app-misc/anki/

2017-12-18 Thread Michael Weber
commit: d37027cb86c73ba98658e5e6142a1e044692cd2d
Author: Michael Weber  gentoo  org>
AuthorDate: Mon Dec 18 12:33:27 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Mon Dec 18 12:33:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37027cb

app-misc/anki: Enable tests.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/anki/anki-2.1.0_beta25.ebuild | 25 --
 .../anki/files/anki-2.1.0_beta25-web-folder.patch  |  2 +-
 2 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
index 65fedfcbf81..71268203040 100644
--- a/app-misc/anki/anki-2.1.0_beta25.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta25.ebuild
@@ -18,13 +18,13 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="latex +recording +sound"
+IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
>=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
@@ -37,8 +37,11 @@ RDEPEND="${PYTHON_DEPS}
latex? (
app-text/texlive
app-text/dvipng
-   )"
-DEPEND=""
+   )
+"
+DEPEND="${RDEPEND}
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
 
 PATCHES=( "${FILESDIR}"/${P}-web-folder.patch )
 
@@ -52,6 +55,16 @@ src_prepare() {
aqt/profiles.py || die
 }
 
+src_compile() {
+   :;
+}
+
+src_test() {
+   sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
+   -i tools/tests.sh || die
+   ./tools/tests.sh || die
+}
+
 src_install() {
cp tools/runanki.system tools/anki
doicon ${PN}.png
@@ -68,6 +81,6 @@ src_install() {
 
# not sure if this is correct, but
# site-packages/aqt/mediasrv.py wants the directory
-   python_moduleinto aqt
-   python_domodule web
+   insinto /usr/share/anki
+   doins -r web
 }

diff --git a/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch 
b/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
index 521a2ed3bd8..19b196c4ace 100644
--- a/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
+++ b/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
@@ -5,7 +5,7 @@
  def _getExportFolder():
  # running from source?
 -srcFolder = os.path.join(os.path.dirname(__file__), "..")
-+srcFolder = os.path.dirname(__file__)
++srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", 
"..", "share", "anki")
  webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
  if os.path.exists(webInSrcFolder):
  return webInSrcFolder



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-12-18 Thread Michael Weber
commit: ad529e3c9365ea33c83d1d6812a235b97475c2ee
Author: Michael Weber  gentoo  org>
AuthorDate: Mon Dec 18 12:37:38 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Mon Dec 18 12:37:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad529e3c

app-misc/anki: Version bump, rekeyword adm64 and x86.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/anki/Manifest |  1 +
 app-misc/anki/anki-2.1.0_beta27.ebuild | 86 ++
 2 files changed, 87 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 0ae3257b74c..8d8a7f5f6ae 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -7,3 +7,4 @@ DIST anki-2.0.41.tgz 3422038 BLAKE2B 
43f816b47ec17381de192f71680b3df8a0dade74379
 DIST anki-2.0.43.tgz 3422113 BLAKE2B 
04bd8c028122dfd74fdeb92297da7bd7af04fc093e87bd156bc61558a328a8249115baf14a666eeb7a7ce7b29e2276d1ef03e028a916d178fa88080ad229aea2
 SHA512 
e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
 DIST anki-2.0.47.tgz 3422231 BLAKE2B 
192803df52a97cfe31f58914453836aa8dfd341572f812855e551faf9345506acce0176c0966c08e6b8ffac4f5ff36eb5eb76eac9ebc397ebe27e1fec0233e62
 SHA512 
5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a
 DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 
0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749
 SHA512 
9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
+DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B 
b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d
 SHA512 
50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
new file mode 100644
index 000..470db2ae7ad
--- /dev/null
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1 xdg
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+
+MY_P="${P/_/}"
+SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> 
${P}.tgz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/markdown[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+   )
+   sound? ( media-video/mplayer )
+   latex? (
+   app-text/texlive
+   app-text/dvipng
+   )
+"
+DEPEND="${RDEPEND}
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.1.0_beta25-web-folder.patch )
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+src_compile() {
+   :;
+}
+
+src_test() {
+   sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
+   -i tools/tests.sh || die
+   ./tools/tests.sh || die
+}
+
+src_install() {
+   cp tools/runanki.system tools/anki
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README.md README.development
+   python_domodule aqt anki
+   python_doscript tools/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+
+   # not sure if this is correct, but
+   # site-packages/aqt/mediasrv.py wants the directory
+   insinto /usr/share/anki
+   doins -r web
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/, app-misc/anki/

2017-12-18 Thread Michael Weber
commit: f847d777f140a6e6c66d330f1061b068b25b947f
Author: Michael Weber  gentoo  org>
AuthorDate: Mon Dec 18 12:05:37 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Mon Dec 18 12:05:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f847d777

app-misc/anki: Fix dependencies.

Thanks thanks Michael Mounteney and Dennis New.
EAPI=6,
remove unneeded overrides of src_configure and src_compile.

Closes: https://bugs.gentoo.org/639354
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-misc/anki/anki-2.1.0_beta25.ebuild | 26 --
 .../anki/files/anki-2.1.0_beta25-web-folder.patch  | 11 +
 2 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
index ac3413e622b..65fedfcbf81 100644
--- a/app-misc/anki/anki-2.1.0_beta25.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta25.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 PYTHON_REQ_USE="sqlite"
 
-inherit eutils python-single-r1
+inherit eutils python-single-r1 xdg
 
 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
 HOMEPAGE="https://apps.ankiweb.net";
@@ -25,6 +25,9 @@ RDEPEND="${PYTHON_DEPS}
dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
>=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
dev-python/beautifulsoup[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/markdown[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
recording? (
media-sound/lame
@@ -37,24 +40,18 @@ RDEPEND="${PYTHON_DEPS}
)"
 DEPEND=""
 
+PATCHES=( "${FILESDIR}"/${P}-web-folder.patch )
+
 pkg_setup() {
python-single-r1_pkg_setup
 }
 
 src_prepare() {
+   default
sed -i -e "s/updates=True/updates=False/" \
aqt/profiles.py || die
 }
 
-# Nothing to configure or compile
-src_configure() {
-   :;
-}
-
-src_compile() {
-   :;
-}
-
 src_install() {
cp tools/runanki.system tools/anki
doicon ${PN}.png
@@ -68,4 +65,9 @@ src_install() {
# Localization files go into the anki directory:
python_moduleinto anki
python_domodule locale
+
+   # not sure if this is correct, but
+   # site-packages/aqt/mediasrv.py wants the directory
+   python_moduleinto aqt
+   python_domodule web
 }

diff --git a/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch 
b/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
new file mode 100644
index 000..521a2ed3bd8
--- /dev/null
+++ b/app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
@@ -0,0 +1,11 @@
+--- anki-2.1.0beta25/aqt/mediasrv.py
 anki-2.1.0beta25/aqt/mediasrv.py
+@@ -13,7 +13,7 @@
+ # locate web folder in source/binary distribution
+ def _getExportFolder():
+ # running from source?
+-srcFolder = os.path.join(os.path.dirname(__file__), "..")
++srcFolder = os.path.dirname(__file__)
+ webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
+ if os.path.exists(webInSrcFolder):
+ return webInSrcFolder



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-12-14 Thread Michael Weber
commit: f40a35f158c192103ac359163c9a617fae89ede6
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Dec 14 15:31:05 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Dec 14 15:31:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40a35f1

app-misc/anki: add 3.5 and 3.6 to PYTHON_COMPAT (non-maint commit).

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 app-misc/anki/anki-2.1.0_beta25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
index 9abc929ee65..ac3413e622b 100644
--- a/app-misc/anki/anki-2.1.0_beta25.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta25.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
 PYTHON_REQ_USE="sqlite"
 
 inherit eutils python-single-r1



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-11-18 Thread Patrick Lauer
commit: 18e445dada057fe50a902fe6c9d4e7075fd4a595
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Nov 18 14:01:22 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Nov 18 14:01:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e445da

app-misc/anki: Bump to 2.1.0_beta

Requires python 3.6, untested and thus without keywords, for now.

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 app-misc/anki/Manifest |  1 +
 app-misc/anki/anki-2.1.0_beta25.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index e5c07888f06..33c94dd6f67 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -6,3 +6,4 @@ DIST anki-2.0.36.tgz 3410538 SHA256 
fb208230cdc50ea02d53f521cf03926c627fff7cf731
 DIST anki-2.0.41.tgz 3422038 SHA256 
f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 
b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872
 WHIRLPOOL 
08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810
 DIST anki-2.0.43.tgz 3422113 SHA256 
009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 
e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
 WHIRLPOOL 
2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9
 DIST anki-2.0.47.tgz 3422231 SHA256 
fbb5356d642a94a2cb2fb7f949e6db7c8acbe322f38a18c0603ff88f5bd4eb18 SHA512 
5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a
 WHIRLPOOL 
dddef926f3754c1c3686e903dee539a9d84692dc6619cea7f9a71e2256cd5dcced113ce2d7da8cecf13a9ff8c36942a1216c72c5744a496e1792e70dd4750cf8
+DIST anki-2.1.0_beta25.tgz 4117303 SHA256 
f91ce359e3b0d5b186f4dd8e07056743f95a12d743d91358f1768e59d25882dc SHA512 
9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
 WHIRLPOOL 
1b4c5c97df4f2c426d791c953c009731cbe2b6a213fb7aa5acf6d71e393867e85082ff04959d836dd9e1c6739367604fdf669ee713641750de564660de0cbeba

diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild 
b/app-misc/anki/anki-2.1.0_beta25.ebuild
new file mode 100644
index 000..9abc929ee65
--- /dev/null
+++ b/app-misc/anki/anki-2.1.0_beta25.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+
+MY_P="${P/_/}"
+SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> 
${P}.tgz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-python/PyQt5[gui,svg,webkit,${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+   )
+   sound? ( media-video/mplayer )
+   latex? (
+   app-text/texlive
+   app-text/dvipng
+   )"
+DEPEND=""
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   :;
+}
+
+src_compile() {
+   :;
+}
+
+src_install() {
+   cp tools/runanki.system tools/anki
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README.md README.development
+   python_domodule aqt anki
+   python_doscript tools/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-09-22 Thread Patrick Lauer
commit: 8fa88ce86b6f9ea3a0180b6ffb5a7226c2dbeaeb
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Sep 23 06:31:31 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Sep 23 06:31:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa88ce8

app-misc/anki: Bump

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.47.ebuild | 68 
 2 files changed, 69 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 529af4265e8..e5c07888f06 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -5,3 +5,4 @@ DIST anki-2.0.35.tgz 3410475 SHA256 
bb8a229b85f551e2f69829f9ec8485633b739c701dab
 DIST anki-2.0.36.tgz 3410538 SHA256 
fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 
34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147
 WHIRLPOOL 
dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
 DIST anki-2.0.41.tgz 3422038 SHA256 
f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 
b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872
 WHIRLPOOL 
08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810
 DIST anki-2.0.43.tgz 3422113 SHA256 
009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 
e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
 WHIRLPOOL 
2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9
+DIST anki-2.0.47.tgz 3422231 SHA256 
fbb5356d642a94a2cb2fb7f949e6db7c8acbe322f38a18c0603ff88f5bd4eb18 SHA512 
5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a
 WHIRLPOOL 
dddef926f3754c1c3686e903dee539a9d84692dc6619cea7f9a71e2256cd5dcced113ce2d7da8cecf13a9ff8c36942a1216c72c5744a496e1792e70dd4750cf8

diff --git a/app-misc/anki/anki-2.0.47.ebuild b/app-misc/anki/anki-2.0.47.ebuild
new file mode 100644
index 000..feccd2b7074
--- /dev/null
+++ b/app-misc/anki/anki-2.0.47.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> 
${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-python/PyQt4[X,svg,webkit,${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+   )
+   sound? ( media-video/mplayer )
+   latex? (
+   app-text/texlive
+   app-text/dvipng
+   )"
+DEPEND=""
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true
+}
+
+src_compile() {
+   true
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-04-22 Thread Michał Górny
commit: c68354ccfa87f4aaf5ff7a688ceb55a36f94ccda
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 22 10:32:41 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 22 13:52:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68354cc

app-misc/anki: Add missing PYTHON_USEDEPs

 app-misc/anki/anki-2.0.43.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-misc/anki/anki-2.0.43.ebuild b/app-misc/anki/anki-2.0.43.ebuild
index f89fa182ce3..feccd2b7074 100644
--- a/app-misc/anki/anki-2.0.43.ebuild
+++ b/app-misc/anki/anki-2.0.43.ebuild
@@ -19,13 +19,13 @@ IUSE="latex +recording +sound"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-   dev-python/PyQt4[X,svg,webkit]
-   >=dev-python/httplib2-0.7.4
-   dev-python/beautifulsoup:python-2
-   dev-python/send2trash
+   dev-python/PyQt4[X,svg,webkit,${PYTHON_USEDEP}]
+   >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+   dev-python/send2trash[${PYTHON_USEDEP}]
recording? (
media-sound/lame
-   >=dev-python/pyaudio-0.2.4
+   >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
)
sound? ( media-video/mplayer )
latex? (



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-04-20 Thread David Seifert
commit: c32145210cb54af755dbe6bd3d9615fcd67fe6f7
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 20 07:20:33 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 20 07:57:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3214521

app-misc/anki: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-misc/anki/anki-2.0.31.ebuild | 3 ++-
 app-misc/anki/anki-2.0.33.ebuild | 3 ++-
 app-misc/anki/anki-2.0.34.ebuild | 3 ++-
 app-misc/anki/anki-2.0.35.ebuild | 3 ++-
 app-misc/anki/anki-2.0.36.ebuild | 3 ++-
 app-misc/anki/anki-2.0.41.ebuild | 2 ++
 app-misc/anki/anki-2.0.43.ebuild | 1 +
 7 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/app-misc/anki/anki-2.0.31.ebuild b/app-misc/anki/anki-2.0.31.ebuild
index 3b4539d94d2..b382762b971 100644
--- a/app-misc/anki/anki-2.0.31.ebuild
+++ b/app-misc/anki/anki-2.0.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.33.ebuild b/app-misc/anki/anki-2.0.33.ebuild
index 8af07395406..810ea6120f9 100644
--- a/app-misc/anki/anki-2.0.33.ebuild
+++ b/app-misc/anki/anki-2.0.33.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.34.ebuild b/app-misc/anki/anki-2.0.34.ebuild
index dbcd68a8834..8aba24bbdc4 100644
--- a/app-misc/anki/anki-2.0.34.ebuild
+++ b/app-misc/anki/anki-2.0.34.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.35.ebuild b/app-misc/anki/anki-2.0.35.ebuild
index dbcd68a8834..8aba24bbdc4 100644
--- a/app-misc/anki/anki-2.0.35.ebuild
+++ b/app-misc/anki/anki-2.0.35.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.36.ebuild b/app-misc/anki/anki-2.0.36.ebuild
index dbcd68a8834..8aba24bbdc4 100644
--- a/app-misc/anki/anki-2.0.36.ebuild
+++ b/app-misc/anki/anki-2.0.36.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.41.ebuild b/app-misc/anki/anki-2.0.41.ebuild
index e3101d2ce28..3c0f5a7aa1e 100644
--- a/app-misc/anki/anki-2.0.41.ebuild
+++ b/app-misc/anki/anki-2.0.41.ebuild
@@ -11,10 +11,12 @@ inherit eutils python-single-r1
 DESCRIPTION="A spaced-repetition memory training program (flash cards)"
 HOMEPAGE="https://apps.ankiweb.net";
 SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> 
${P}.tgz"
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 dev-python/PyQt4[X,svg,webkit]

diff --git a/app-misc/anki/anki-2.0.43.ebuild b/app-misc/anki/anki-2.0.43.ebuild
index 6232b75607f..f89fa182ce3 100644
--- a/app-misc/anki/anki-2.0.43.ebuild
+++ b/app-misc/anki/anki-2.0.43.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
dev-python/PyQt4[X,svg,webkit]



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-03-07 Thread Mike Frysinger
commit: ec755a8904c018bf0d7d24e69efaf8dfbfe6d8b2
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Mar  8 01:22:44 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Mar  8 01:22:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec755a89

app-misc/anki: version bump to 2.0.43

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.43.ebuild | 67 
 2 files changed, 68 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 9279b58f308..529af4265e8 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -4,3 +4,4 @@ DIST anki-2.0.34.tgz 3411136 SHA256 
ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24a
 DIST anki-2.0.35.tgz 3410475 SHA256 
bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 
4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e
 WHIRLPOOL 
04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08
 DIST anki-2.0.36.tgz 3410538 SHA256 
fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 
34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147
 WHIRLPOOL 
dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
 DIST anki-2.0.41.tgz 3422038 SHA256 
f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 
b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872
 WHIRLPOOL 
08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810
+DIST anki-2.0.43.tgz 3422113 SHA256 
009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 
e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c
 WHIRLPOOL 
2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9

diff --git a/app-misc/anki/anki-2.0.43.ebuild b/app-misc/anki/anki-2.0.43.ebuild
new file mode 100644
index 000..6232b75607f
--- /dev/null
+++ b/app-misc/anki/anki-2.0.43.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> 
${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+   dev-python/PyQt4[X,svg,webkit]
+   >=dev-python/httplib2-0.7.4
+   dev-python/beautifulsoup:python-2
+   dev-python/send2trash
+   recording? (
+   media-sound/lame
+   >=dev-python/pyaudio-0.2.4
+   )
+   sound? ( media-video/mplayer )
+   latex? (
+   app-text/texlive
+   app-text/dvipng
+   )"
+DEPEND=""
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true
+}
+
+src_compile() {
+   true
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2017-01-29 Thread Patrick Lauer
commit: a036a8295506782fe53d5f9974f4480745f01389
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sun Jan 29 17:06:50 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sun Jan 29 17:07:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a036a829

app-misc/anki: Bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.41.ebuild | 63 
 2 files changed, 64 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 494a8dd..9279b58 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -3,3 +3,4 @@ DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909b
 DIST anki-2.0.34.tgz 3411136 SHA256 
ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 
289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd
 WHIRLPOOL 
3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2
 DIST anki-2.0.35.tgz 3410475 SHA256 
bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 
4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e
 WHIRLPOOL 
04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08
 DIST anki-2.0.36.tgz 3410538 SHA256 
fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 
34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147
 WHIRLPOOL 
dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
+DIST anki-2.0.41.tgz 3422038 SHA256 
f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 
b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872
 WHIRLPOOL 
08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810

diff --git a/app-misc/anki/anki-2.0.41.ebuild b/app-misc/anki/anki-2.0.41.ebuild
new file mode 100644
index ..ea66b3a
--- /dev/null
+++ b/app-misc/anki/anki-2.0.41.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net";
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> 
${P}.tgz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+dev-python/PyQt4[X,svg,webkit]
+>=dev-python/httplib2-0.7.4
+dev-python/beautifulsoup:python-2
+dev-python/send2trash
+recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+sound? ( media-video/mplayer )
+latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true;
+}
+
+src_compile() {
+   true;
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2016-04-19 Thread Patrick Lauer
commit: 164c16093372711ea62e24566dbf6de798480834
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Apr 19 10:06:34 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Tue Apr 19 10:06:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164c1609

app-misc/anki: Bump

Package-Manager: portage-2.2.28

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.36.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 6f4a42b..494a8dd 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -2,3 +2,4 @@ DIST anki-2.0.31.tgz 3329290 SHA256 
4b969629255b00db9a9eb8a2fd70271cc41c92c47752
 DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
 WHIRLPOOL 
fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848
 DIST anki-2.0.34.tgz 3411136 SHA256 
ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 
289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd
 WHIRLPOOL 
3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2
 DIST anki-2.0.35.tgz 3410475 SHA256 
bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 
4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e
 WHIRLPOOL 
04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08
+DIST anki-2.0.36.tgz 3410538 SHA256 
fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 
34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147
 WHIRLPOOL 
dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4

diff --git a/app-misc/anki/anki-2.0.36.ebuild b/app-misc/anki/anki-2.0.36.ebuild
new file mode 100644
index 000..5189695
--- /dev/null
+++ b/app-misc/anki/anki-2.0.36.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/";
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+dev-python/PyQt4[X,svg,webkit]
+>=dev-python/httplib2-0.7.4
+dev-python/beautifulsoup:python-2
+dev-python/send2trash
+recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+sound? ( media-video/mplayer )
+latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true;
+}
+
+src_compile() {
+   true;
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2016-04-11 Thread Patrick Lauer
commit: 3fa5e768337f518355e89ddbc89bab8ebb9cd67f
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Apr 11 10:12:56 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Mon Apr 11 10:13:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa5e768

app-misc/anki: Bump

Package-Manager: portage-2.2.28

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.35.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 600a104..6f4a42b 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,3 +1,4 @@
 DIST anki-2.0.31.tgz 3329290 SHA256 
4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 
3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8
 WHIRLPOOL 
42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
 DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
 WHIRLPOOL 
fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848
 DIST anki-2.0.34.tgz 3411136 SHA256 
ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 
289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd
 WHIRLPOOL 
3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2
+DIST anki-2.0.35.tgz 3410475 SHA256 
bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 
4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e
 WHIRLPOOL 
04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08

diff --git a/app-misc/anki/anki-2.0.35.ebuild b/app-misc/anki/anki-2.0.35.ebuild
new file mode 100644
index 000..5189695
--- /dev/null
+++ b/app-misc/anki/anki-2.0.35.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/";
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+dev-python/PyQt4[X,svg,webkit]
+>=dev-python/httplib2-0.7.4
+dev-python/beautifulsoup:python-2
+dev-python/send2trash
+recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+sound? ( media-video/mplayer )
+latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true;
+}
+
+src_compile() {
+   true;
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2016-03-30 Thread Patrick Lauer
commit: 32fce5ee2f24bbf008c2856436ea23a187490a3a
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Mar 31 06:18:06 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Thu Mar 31 06:18:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fce5ee

app-misc/anki: Bump

Package-Manager: portage-2.2.28

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.34.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index eeb9b77..600a104 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,2 +1,3 @@
 DIST anki-2.0.31.tgz 3329290 SHA256 
4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 
3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8
 WHIRLPOOL 
42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
 DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
 WHIRLPOOL 
fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848
+DIST anki-2.0.34.tgz 3411136 SHA256 
ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 
289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd
 WHIRLPOOL 
3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2

diff --git a/app-misc/anki/anki-2.0.34.ebuild b/app-misc/anki/anki-2.0.34.ebuild
new file mode 100644
index 000..5189695
--- /dev/null
+++ b/app-misc/anki/anki-2.0.34.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/";
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+dev-python/PyQt4[X,svg,webkit]
+>=dev-python/httplib2-0.7.4
+dev-python/beautifulsoup:python-2
+dev-python/send2trash
+recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+sound? ( media-video/mplayer )
+latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true;
+}
+
+src_compile() {
+   true;
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2016-01-02 Thread Agostino Sarubbo
commit: c6a4e383202d357c5385b6beed062a7c1381cc25
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan  2 18:52:36 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan  2 18:52:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a4e383

app-misc/anki: amd64 stable wrt bug #567958

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/anki/anki-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-2.0.33.ebuild b/app-misc/anki/anki-2.0.33.ebuild
index 5189695..b342d63 100644
--- a/app-misc/anki/anki-2.0.33.ebuild
+++ b/app-misc/anki/anki-2.0.33.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="latex +recording +sound"
 
 RDEPEND="${PYTHON_DEPS}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2015-12-11 Thread Thomas Kahle
commit: 7980335cc8c2ec31e4775a1e328b70367c3be0ed
Author: Thomas Kahle  gentoo  org>
AuthorDate: Sat Dec 12 05:14:03 2015 +
Commit: Thomas Kahle  gentoo  org>
CommitDate: Sat Dec 12 05:14:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7980335c

app-misc/anki: Bump to 2.0.33

Fixes bug 567958.

Package-Manager: portage-2.2.24

 app-misc/anki/Manifest   |  1 +
 app-misc/anki/anki-2.0.33.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index bea9e6f..6e27e75 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,2 +1,3 @@
 DIST anki-2.0.31.tgz 3329290 SHA256 
4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 
3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8
 WHIRLPOOL 
42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
 DIST anki-2.0.32.tgz 3353186 SHA256 
398f00d9ab7da811548813e19b6da192f07d5c1c7e4486de508040ecc1abb93c SHA512 
a65a529121e8d6ca53b29ef3b22d432b48884c28ef5b2422f0c813069f5889469e0545951f6789aa883a411572419e7175364320a18a7cfc1582f5fa98b837d3
 WHIRLPOOL 
204a8761bbafd87bddf9aecad867eb9705c72d6e8f1c7b6f050d893db3e9d4d58d047597f0e079cfd502b89095fedd17d1581c3be8cd833d2a18a37fb90fb262
+DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
 WHIRLPOOL 
fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848

diff --git a/app-misc/anki/anki-2.0.33.ebuild b/app-misc/anki/anki-2.0.33.ebuild
new file mode 100644
index 000..5189695
--- /dev/null
+++ b/app-misc/anki/anki-2.0.33.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/";
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+
+RDEPEND="${PYTHON_DEPS}
+dev-python/PyQt4[X,svg,webkit]
+>=dev-python/httplib2-0.7.4
+dev-python/beautifulsoup:python-2
+dev-python/send2trash
+recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+sound? ( media-video/mplayer )
+latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   rm -r thirdparty || die
+   sed -i -e "s/updates=True/updates=False/" \
+   aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+   true;
+}
+
+src_compile() {
+   true;
+}
+
+src_install() {
+   doicon ${PN}.png
+   domenu ${PN}.desktop
+   doman ${PN}.1
+
+   dodoc README README.development
+   python_domodule aqt anki
+   python_doscript anki/anki
+
+   # Localization files go into the anki directory:
+   python_moduleinto anki
+   python_domodule locale
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/

2015-12-11 Thread Thomas Kahle
commit: d1d80d8a1b789d81b46ea763b9dc531b73754f9f
Author: Thomas Kahle  gentoo  org>
AuthorDate: Sat Dec 12 05:14:42 2015 +
Commit: Thomas Kahle  gentoo  org>
CommitDate: Sat Dec 12 05:14:56 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d80d8a

app-misc/anki: Remove old ebuilds

Package-Manager: portage-2.2.24

 app-misc/anki/Manifest  |  1 -
 app-misc/anki/anki-2.0.31-r1.ebuild | 64 -
 app-misc/anki/anki-2.0.32.ebuild| 64 -
 3 files changed, 129 deletions(-)

diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
index 6e27e75..eeb9b77 100644
--- a/app-misc/anki/Manifest
+++ b/app-misc/anki/Manifest
@@ -1,3 +1,2 @@
 DIST anki-2.0.31.tgz 3329290 SHA256 
4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 
3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8
 WHIRLPOOL 
42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
-DIST anki-2.0.32.tgz 3353186 SHA256 
398f00d9ab7da811548813e19b6da192f07d5c1c7e4486de508040ecc1abb93c SHA512 
a65a529121e8d6ca53b29ef3b22d432b48884c28ef5b2422f0c813069f5889469e0545951f6789aa883a411572419e7175364320a18a7cfc1582f5fa98b837d3
 WHIRLPOOL 
204a8761bbafd87bddf9aecad867eb9705c72d6e8f1c7b6f050d893db3e9d4d58d047597f0e079cfd502b89095fedd17d1581c3be8cd833d2a18a37fb90fb262
 DIST anki-2.0.33.tgz 3376646 SHA256 
b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 
ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d
 WHIRLPOOL 
fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848

diff --git a/app-misc/anki/anki-2.0.31-r1.ebuild 
b/app-misc/anki/anki-2.0.31-r1.ebuild
deleted file mode 100644
index 5189695..000
--- a/app-misc/anki/anki-2.0.31-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="http://ichi2.net/anki/";
-SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="latex +recording +sound"
-
-RDEPEND="${PYTHON_DEPS}
-dev-python/PyQt4[X,svg,webkit]
->=dev-python/httplib2-0.7.4
-dev-python/beautifulsoup:python-2
-dev-python/send2trash
-recording? ( media-sound/lame
- >=dev-python/pyaudio-0.2.4 )
-sound? ( media-video/mplayer )
-latex? ( app-text/texlive
- app-text/dvipng )"
-DEPEND=""
-
-pkg_setup(){
-   python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   rm -r thirdparty || die
-   sed -i -e "s/updates=True/updates=False/" \
-   aqt/profiles.py || die
-}
-
-# Nothing to configure or compile
-src_configure() {
-   true;
-}
-
-src_compile() {
-   true;
-}
-
-src_install() {
-   doicon ${PN}.png
-   domenu ${PN}.desktop
-   doman ${PN}.1
-
-   dodoc README README.development
-   python_domodule aqt anki
-   python_doscript anki/anki
-
-   # Localization files go into the anki directory:
-   python_moduleinto anki
-   python_domodule locale
-}

diff --git a/app-misc/anki/anki-2.0.32.ebuild b/app-misc/anki/anki-2.0.32.ebuild
deleted file mode 100644
index 5189695..000
--- a/app-misc/anki/anki-2.0.32.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1
-
-DESCRIPTION="A spaced-repetition memory training program (flash cards)"
-HOMEPAGE="http://ichi2.net/anki/";
-SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz";
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="latex +recording +sound"
-
-RDEPEND="${PYTHON_DEPS}
-dev-python/PyQt4[X,svg,webkit]
->=dev-python/httplib2-0.7.4
-dev-python/beautifulsoup:python-2
-dev-python/send2trash
-recording? ( media-sound/lame
- >=dev-python/pyaudio-0.2.4 )
-sound? ( media-video/mplayer )
-latex? ( app-text/texlive
- app-text/dvipng )"
-DEPEND=""
-
-pkg_setup(){
-   python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   rm -r thirdparty || die
-   sed -i -e "s/updates=True/updates=False/" \
-   aqt/profiles.py || die
-}
-
-# Nothing to configure or compile
-src_configure() {
-   true;
-}
-
-src_comp