Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/anki-bin/
Date: Fri, 30 Dec 2022 09:41:51
Message-Id: 1672367240.fbb500a6f41bc04e9af236deae98bdcea050001f.ceamac@gentoo
1 commit: fbb500a6f41bc04e9af236deae98bdcea050001f
2 Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
3 AuthorDate: Fri Dec 30 02:27:20 2022 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 02:27:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fbb500a6
7
8 app-misc/anki-bin: drop 2.1.49, 2.1.54
9
10 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
11
12 app-misc/anki-bin/Manifest | 3 --
13 app-misc/anki-bin/anki-bin-2.1.49.ebuild | 64 --------------------------------
14 app-misc/anki-bin/anki-bin-2.1.54.ebuild | 64 --------------------------------
15 3 files changed, 131 deletions(-)
16
17 diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
18 index 23778d40d..6955b7434 100644
19 --- a/app-misc/anki-bin/Manifest
20 +++ b/app-misc/anki-bin/Manifest
21 @@ -1,8 +1,5 @@
22 -DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
23 DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05
24 DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220
25 DIST anki-bin-2.1.54.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
26 DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571 SHA512 d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
27 -DIST anki.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
28 -DIST aqt-2.1.49.zip 2199372 BLAKE2B 319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7 SHA512 65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0
29 DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64
30
31 diff --git a/app-misc/anki-bin/anki-bin-2.1.49.ebuild b/app-misc/anki-bin/anki-bin-2.1.49.ebuild
32 deleted file mode 100644
33 index 53b3ecbe6..000000000
34 --- a/app-misc/anki-bin/anki-bin-2.1.49.ebuild
35 +++ /dev/null
36 @@ -1,64 +0,0 @@
37 -# Copyright 2021-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -PYTHON_COMPAT=( python3_{8,9} )
43 -inherit python-single-r1 desktop xdg
44 -
45 -MY_PN=${PN%-bin}
46 -DESCRIPTION="A spaced-repetition memory training program (flash cards)"
47 -HOMEPAGE="https://apps.ankiweb.net/"
48 -SRC_URI="
49 - https://files.pythonhosted.org/packages/cp38/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp38-abi3-manylinux2014_x86_64.whl -> ${P}.zip
50 - https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
51 - https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
52 -"
53 -
54 -LICENSE="AGPL-3"
55 -SLOT="0"
56 -KEYWORDS="~amd64"
57 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 -
59 -QA_PREBUILT="usr/lib/*"
60 -DEPEND="
61 -$(python_gen_cond_dep '
62 - dev-python/decorator[${PYTHON_USEDEP}]
63 - dev-python/protobuf-python[${PYTHON_USEDEP}]
64 - dev-python/orjson-bin[${PYTHON_USEDEP}]
65 - dev-python/distro[${PYTHON_USEDEP}]
66 - dev-python/beautifulsoup4[${PYTHON_USEDEP}]
67 - dev-python/requests[${PYTHON_USEDEP}]
68 - dev-python/flask[${PYTHON_USEDEP}]
69 - dev-python/waitress[${PYTHON_USEDEP}]
70 - dev-python/send2trash[${PYTHON_USEDEP}]
71 - dev-python/markdown[${PYTHON_USEDEP}]
72 - dev-python/jsonschema[${PYTHON_USEDEP}]
73 - dev-python/flask-cors[${PYTHON_USEDEP}]
74 - dev-python/PyQt5[${PYTHON_USEDEP}]
75 - dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
76 - dev-python/stringcase[${PYTHON_USEDEP}]
77 - ')
78 -"
79 -RDEPEND="${DEPEND}
80 - ${PYTHON_DEPS}
81 - !app-misc/anki
82 -"
83 -BDEPEND="app-arch/unzip"
84 -
85 -S="${WORKDIR}"
86 -
87 -src_unpack() {
88 - default
89 -}
90 -
91 -src_install() {
92 - python_domodule anki
93 - python_domodule anki-${PV}.dist-info
94 - python_domodule aqt
95 - python_domodule aqt-${PV}.dist-info
96 - printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
97 - python_newscript runanki anki
98 - doicon "${DISTDIR}"/anki.png
99 - make_desktop_entry /usr/bin/anki Anki anki Education
100 -}
101
102 diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
103 deleted file mode 100644
104 index ec35b0130..000000000
105 --- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
106 +++ /dev/null
107 @@ -1,64 +0,0 @@
108 -# Copyright 2021-2022 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=7
112 -
113 -PYTHON_COMPAT=( python3_{8,9} )
114 -inherit python-single-r1 desktop xdg
115 -
116 -MY_PN=${PN%-bin}
117 -DESCRIPTION="A spaced-repetition memory training program (flash cards)"
118 -HOMEPAGE="https://apps.ankiweb.net/"
119 -SRC_URI="
120 - https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl -> ${P}.zip
121 - https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> aqt-${PV}.zip
122 - https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png
123 -"
124 -
125 -LICENSE="AGPL-3"
126 -SLOT="0"
127 -KEYWORDS="~amd64"
128 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
129 -
130 -QA_PREBUILT="usr/lib/*"
131 -DEPEND="
132 -$(python_gen_cond_dep '
133 - dev-python/decorator[${PYTHON_USEDEP}]
134 - dev-python/protobuf-python[${PYTHON_USEDEP}]
135 - dev-python/orjson-bin[${PYTHON_USEDEP}]
136 - dev-python/distro[${PYTHON_USEDEP}]
137 - dev-python/beautifulsoup4[${PYTHON_USEDEP}]
138 - dev-python/requests[${PYTHON_USEDEP}]
139 - dev-python/flask[${PYTHON_USEDEP}]
140 - dev-python/waitress[${PYTHON_USEDEP}]
141 - dev-python/send2trash[${PYTHON_USEDEP}]
142 - dev-python/markdown[${PYTHON_USEDEP}]
143 - dev-python/jsonschema[${PYTHON_USEDEP}]
144 - dev-python/flask-cors[${PYTHON_USEDEP}]
145 - dev-python/PyQt5[${PYTHON_USEDEP}]
146 - dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
147 - dev-python/stringcase[${PYTHON_USEDEP}]
148 - ')
149 -"
150 -RDEPEND="${DEPEND}
151 - ${PYTHON_DEPS}
152 - !app-misc/anki
153 -"
154 -BDEPEND="app-arch/unzip"
155 -
156 -S="${WORKDIR}"
157 -
158 -src_unpack() {
159 - default
160 -}
161 -
162 -src_install() {
163 - python_domodule anki
164 - python_domodule anki-${PV}.dist-info
165 - python_domodule aqt
166 - python_domodule aqt-${PV}.dist-info
167 - printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki
168 - python_newscript runanki anki
169 - newicon "${DISTDIR}"/${P}.png ${MY_PN}.png
170 - make_desktop_entry /usr/bin/anki Anki anki Education
171 -}