1 |
commit: 3d9c1c34cc1836bf5af2998576f26c8e465e38b8 |
2 |
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io> |
3 |
AuthorDate: Fri Jul 30 09:26:33 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 30 09:26:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d9c1c34 |
7 |
|
8 |
app-misc/anki-bin: fix icon uri, simplify SRC_URI |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io> |
12 |
|
13 |
app-misc/anki-bin/Manifest | 2 +- |
14 |
app-misc/anki-bin/anki-bin-2.1.44.ebuild | 9 +++++---- |
15 |
2 files changed, 6 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest |
18 |
index 10dac22b7..589049b17 100644 |
19 |
--- a/app-misc/anki-bin/Manifest |
20 |
+++ b/app-misc/anki-bin/Manifest |
21 |
@@ -1,3 +1,3 @@ |
22 |
DIST anki-bin-2.1.44.zip 8421027 BLAKE2B 56ac58ac7a8a10487e28124512e31687cfda98899ba3ac23152155f8a478326be23974f1efe576c973096cbe063c8143129ac4a886265cb39545f67193d2cc37 SHA512 73a3bf5760830c622914d9da76f8c772ab4ef97bfd784d726b16cdbbfd1f0ed41724f6b9611bc365b44d656269d63c0254e062ad589b13261a9d9a0553211620 |
23 |
-DIST anki.png 110645 BLAKE2B 77fe1612016dcb6079c5d33e0c8124c9e3a07a7297f27d0ea16923628a687f14386173721eb87c60efd3d70b442984b297794c924e019602cf1810d6079811d0 SHA512 daf63cb585a080350f6eee9c447d13cae1e576341df8843810279a3cabb442ab2d69ad409a138f8b5ace9c1485e373ed40d30230e9b8696a0e7e4e6fd43ce8dc |
24 |
+DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7 |
25 |
DIST aqt-2.1.44.zip 1609295 BLAKE2B f0930dd6dc9d7e0ecbbda8d81b13cb6f4225e867826d30ae6662dbe9491fdd2b4824a184c95ea9ac7bdc26df0004e72e627a2fce8cc5bfcd2fc7f01d828aae46 SHA512 e6e967659043d02935ead51d51c4bba8346c0855c076863ed050761a5657b1f2e19a4fe0452cec8eba9460762b001d45add50ee4facb450d2a83355ce1fc1d25 |
26 |
|
27 |
diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
28 |
index 298ec65f7..4bf2c272b 100644 |
29 |
--- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
30 |
+++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
31 |
@@ -6,12 +6,13 @@ EAPI=7 |
32 |
PYTHON_COMPAT=( python3_{8,9} ) |
33 |
inherit python-single-r1 desktop xdg |
34 |
|
35 |
+MY_PN=${PN%-bin} |
36 |
DESCRIPTION="A spaced-repetition memory training program (flash cards)" |
37 |
HOMEPAGE="https://apps.ankiweb.net/" |
38 |
SRC_URI=" |
39 |
- https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip |
40 |
- https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip |
41 |
- https://github.com/ankitects/anki/blob/${PV}/qt/linux/anki.png |
42 |
+ https://files.pythonhosted.org/packages/cp38/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip |
43 |
+ https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip |
44 |
+ https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png |
45 |
" |
46 |
|
47 |
LICENSE="AGPL-3" |
48 |
@@ -20,7 +21,7 @@ KEYWORDS="~amd64" |
49 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
|
51 |
DEPEND=" |
52 |
- $(python_gen_cond_dep ' |
53 |
+$(python_gen_cond_dep ' |
54 |
dev-python/decorator[${PYTHON_USEDEP}] |
55 |
dev-python/protobuf-python[${PYTHON_USEDEP}] |
56 |
dev-python/orjson-bin[${PYTHON_USEDEP}] |