[gentoo-commits] repo/gentoo:master commit in: app-misc/anki/files/23.12.1/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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/
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