From: | Andrew Ammerlaan <andrewammerlaan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/proj/guru:dev commit in: app-misc/anki-bin/ |
Date: | Fri, 30 Jul 2021 10:05:10 |
Message-Id: | 1627636274.1135ff0c05d433ee5fa30a24ae93ec1d9596732c.andrewammerlaan@gentoo |
1 | commit: 1135ff0c05d433ee5fa30a24ae93ec1d9596732c |
2 | Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 | AuthorDate: Fri Jul 30 09:11:14 2021 +0000 |
4 | Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 | CommitDate: Fri Jul 30 09:11:14 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1135ff0c |
7 | |
8 | app-misc/anki-bin: fix python deps/requireduse, fix staticuri |
9 | |
10 | Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 | Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 | |
13 | app-misc/anki-bin/anki-bin-2.1.44.ebuild | 44 +++++++++++++++++--------------- |
14 | 1 file changed, 23 insertions(+), 21 deletions(-) |
15 | |
16 | diff --git a/app-misc/anki-bin/anki-bin-2.1.44.ebuild b/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
17 | index 88b00d606..298ec65f7 100644 |
18 | --- a/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
19 | +++ b/app-misc/anki-bin/anki-bin-2.1.44.ebuild |
20 | @@ -9,37 +9,39 @@ inherit python-single-r1 desktop xdg |
21 | DESCRIPTION="A spaced-repetition memory training program (flash cards)" |
22 | HOMEPAGE="https://apps.ankiweb.net/" |
23 | SRC_URI=" |
24 | - https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-2.1.44-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip |
25 | - https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-2.1.44-py3-none-any.whl -> aqt-${PV}.zip |
26 | - https://github.com/ankitects/anki/blob/2.1.44/qt/linux/anki.png |
27 | + https://files.pythonhosted.org/packages/1d/da/199c378dd483bea4b38e94c2951bbb903dae8be023484577ba41b9c75ada/anki-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip |
28 | + https://files.pythonhosted.org/packages/25/1a/7b94d38b897c942c206258b7b1c758586250ebeb4804a33a4191a047fb2a/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip |
29 | + https://github.com/ankitects/anki/blob/${PV}/qt/linux/anki.png |
30 | " |
31 | |
32 | LICENSE="AGPL-3" |
33 | SLOT="0" |
34 | KEYWORDS="~amd64" |
35 | +REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
36 | |
37 | DEPEND=" |
38 | - dev-python/decorator |
39 | - dev-python/protobuf-python |
40 | - dev-python/orjson-bin |
41 | - dev-python/distro |
42 | - dev-python/beautifulsoup |
43 | - dev-python/requests |
44 | - dev-python/flask |
45 | - dev-python/waitress |
46 | - dev-python/send2trash |
47 | - dev-python/markdown |
48 | - dev-python/jsonschema |
49 | - dev-python/flask-cors |
50 | - dev-python/PyQt5 |
51 | - dev-python/PyQtWebEngine |
52 | + $(python_gen_cond_dep ' |
53 | + dev-python/decorator[${PYTHON_USEDEP}] |
54 | + dev-python/protobuf-python[${PYTHON_USEDEP}] |
55 | + dev-python/orjson-bin[${PYTHON_USEDEP}] |
56 | + dev-python/distro[${PYTHON_USEDEP}] |
57 | + dev-python/beautifulsoup[${PYTHON_USEDEP}] |
58 | + dev-python/requests[${PYTHON_USEDEP}] |
59 | + dev-python/flask[${PYTHON_USEDEP}] |
60 | + dev-python/waitress[${PYTHON_USEDEP}] |
61 | + dev-python/send2trash[${PYTHON_USEDEP}] |
62 | + dev-python/markdown[${PYTHON_USEDEP}] |
63 | + dev-python/jsonschema[${PYTHON_USEDEP}] |
64 | + dev-python/flask-cors[${PYTHON_USEDEP}] |
65 | + dev-python/PyQt5[${PYTHON_USEDEP}] |
66 | + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] |
67 | + ') |
68 | " |
69 | -RDEPEND=" |
70 | - ${DEPEND} |
71 | +RDEPEND="${DEPEND} |
72 | + ${PYTHON_DEPS} |
73 | !app-misc/anki |
74 | " |
75 | -BDEPEND="app-arch/unzip |
76 | -${PYTHON_DEPS}" |
77 | +BDEPEND="app-arch/unzip" |
78 | |
79 | S="${WORKDIR}" |