Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/
Date: Sun, 16 Feb 2020 22:13:35
Message-Id: 1581891197.936b4104874bb166a30785aa8e3b145c7a0d4508.asturm@gentoo
1 commit: 936b4104874bb166a30785aa8e3b145c7a0d4508
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 16 22:12:21 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 16 22:13:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936b4104
7
8 app-misc/anki: Drop 2.1.0_beta25 with wrong dependency on qtwebkit
9
10 No keywords anyway, whereas newer versions are keyworded.
11
12 Closes: https://bugs.gentoo.org/641966
13 Package-Manager: Portage-2.3.89, Repoman-2.3.20
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 app-misc/anki/Manifest | 1 -
17 app-misc/anki/anki-2.1.0_beta25.ebuild | 93 ----------------------------------
18 2 files changed, 94 deletions(-)
19
20 diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
21 index 2f3e3983b2e..b40a9f9484c 100644
22 --- a/app-misc/anki/Manifest
23 +++ b/app-misc/anki/Manifest
24 @@ -1,3 +1,2 @@
25 -DIST anki-2.1.0_beta25.tgz 4117303 BLAKE2B 0f7021c4da4efa918c285fa6bf85242e52999d0f340d4a882651cf1e2857ac015f6f99967d4a7fee6df92a2b3c4849eb838707b08abd04d534f4d21ce28eb749 SHA512 9ddf984c575df00fe9b7974f24166a0f18d63e904b3d9bd4370de506828a251efed0fb319f06dc23c6852aae46e552994c6633880603a6e746d4d242b9e627f8
26 DIST anki-2.1.0_beta27.tgz 4127906 BLAKE2B b4f83cc30dc3e89f3ca17c03ba8dcfc9a487de43d8ac564d5dc83488e286c302816c8a8140aa764b596404194c5f3727218deec303ef201ccaef38b945d8b32d SHA512 50b4ece1361ecafdfe08dad04e9b622b1e8ba2224bfef7e4660c95f81cb8f525d892170548d741ff53bc19ff4c13863f488a71c31c8328511fea3203d2c345f1
27 DIST anki-2.1.13.tgz 4248906 BLAKE2B 82a2a9a556cbf3596af22a73a2865815561cdd408b249443fc7e144734fdc2b62317120db71475afd7b0d4027f19e53c47437132028ef78b158ec3624f54a33f SHA512 921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3
28
29 diff --git a/app-misc/anki/anki-2.1.0_beta25.ebuild b/app-misc/anki/anki-2.1.0_beta25.ebuild
30 deleted file mode 100644
31 index 7e5c0bc5b29..00000000000
32 --- a/app-misc/anki/anki-2.1.0_beta25.ebuild
33 +++ /dev/null
34 @@ -1,93 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -PYTHON_COMPAT=( python3_6 )
41 -PYTHON_REQ_USE="sqlite"
42 -
43 -inherit eutils python-single-r1 xdg
44 -
45 -DESCRIPTION="A spaced-repetition memory training program (flash cards)"
46 -HOMEPAGE="https://apps.ankiweb.net"
47 -
48 -MY_P="${P/_/}"
49 -SRC_URI="https://apps.ankiweb.net/downloads/beta/${MY_P}-source.tgz -> ${P}.tgz"
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -LICENSE="GPL-3"
53 -SLOT="0"
54 -KEYWORDS=""
55 -IUSE="latex +recording +sound test"
56 -RESTRICT="!test? ( test )"
57 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 -
59 -RDEPEND="${PYTHON_DEPS}
60 - $(python_gen_cond_dep '
61 - dev-python/PyQt5[gui,svg,webkit,${PYTHON_MULTI_USEDEP}]
62 - >=dev-python/httplib2-0.7.4[${PYTHON_MULTI_USEDEP}]
63 - dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
64 - dev-python/decorator[${PYTHON_MULTI_USEDEP}]
65 - dev-python/markdown[${PYTHON_MULTI_USEDEP}]
66 - dev-python/requests[${PYTHON_MULTI_USEDEP}]
67 - dev-python/send2trash[${PYTHON_MULTI_USEDEP}]
68 - recording? (
69 - media-sound/lame
70 - >=dev-python/pyaudio-0.2.4[${PYTHON_MULTI_USEDEP}]
71 - )
72 - ')
73 - sound? ( media-video/mplayer )
74 - latex? (
75 - app-text/texlive
76 - app-text/dvipng
77 - )
78 -"
79 -DEPEND="${RDEPEND}
80 - test? (
81 - $(python_gen_cond_dep '
82 - dev-python/nose[${PYTHON_MULTI_USEDEP}]
83 - ')
84 - )
85 -"
86 -
87 -PATCHES=( "${FILESDIR}"/${P}-web-folder.patch )
88 -
89 -pkg_setup() {
90 - python-single-r1_pkg_setup
91 -}
92 -
93 -src_prepare() {
94 - default
95 - sed -i -e "s/updates=True/updates=False/" \
96 - aqt/profiles.py || die
97 -}
98 -
99 -src_compile() {
100 - :;
101 -}
102 -
103 -src_test() {
104 - sed -e "s:nosetests:${EPYTHON} ${EROOT}usr/bin/nosetests:" \
105 - -i tools/tests.sh || die
106 - ./tools/tests.sh || die
107 -}
108 -
109 -src_install() {
110 - cp tools/runanki.system tools/anki
111 - doicon ${PN}.png
112 - domenu ${PN}.desktop
113 - doman ${PN}.1
114 -
115 - dodoc README.md README.development
116 - python_domodule aqt anki
117 - python_doscript tools/anki
118 -
119 - # Localization files go into the anki directory:
120 - python_moduleinto anki
121 - python_domodule locale
122 -
123 - # not sure if this is correct, but
124 - # site-packages/aqt/mediasrv.py wants the directory
125 - insinto /usr/share/anki
126 - doins -r web
127 -}