1 |
commit: ebe3a6217afdd72092523f42f6e74f778fca37c8 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 10:38:46 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 11:22:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe3a621 |
7 |
|
8 |
www-client/qutebrowser: drop 2.4.0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
www-client/qutebrowser/Manifest | 1 - |
13 |
www-client/qutebrowser/qutebrowser-2.4.0.ebuild | 124 ------------------------ |
14 |
2 files changed, 125 deletions(-) |
15 |
|
16 |
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest |
17 |
index b8f275d85467..35bedaf766a8 100644 |
18 |
--- a/www-client/qutebrowser/Manifest |
19 |
+++ b/www-client/qutebrowser/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST qutebrowser-2.4.0.tar.gz 6074001 BLAKE2B 9eda4a72b9050d6992681803b69778d954654fffd78aa524dfba9bddcbb8e54bd84e6725c30d826dddeb45b6b76e06d7401c7ad22d15a153b4cc1104e791cc84 SHA512 e4341a57a259a31e1c665eec34329594bb3d8390e3c612a15c1857ff12cb9e1f5b30954dd0cd91bee0a40ec0d97c59349ab7cd699626434a89c7d40e5dd961f7 |
22 |
DIST qutebrowser-2.5.0.tar.gz 6086105 BLAKE2B c95afbbdfeebe4352e461cef78d499e9efa9de2e4acc2cedf350904bd617a4f238c34042369655030e53433f941288ff676f8ffd873683939ddd38ff01604aa1 SHA512 41ab6f6d2b72c94e0f66ba0a80999d820748d0f86dbec92583a2be88725f1ebd7517dd75edbaa0ce60bc029ed4dc0dd3e30a1cb25ab4ef940b968c87b4df2472 |
23 |
|
24 |
diff --git a/www-client/qutebrowser/qutebrowser-2.4.0.ebuild b/www-client/qutebrowser/qutebrowser-2.4.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index d18f294eab0a..000000000000 |
27 |
--- a/www-client/qutebrowser/qutebrowser-2.4.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,124 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_SINGLE_IMPL=1 |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
-inherit distutils-r1 optfeature xdg |
38 |
- |
39 |
-if [[ ${PV} == 9999 ]]; then |
40 |
- inherit git-r3 |
41 |
- EGIT_REPO_URI="https://github.com/qutebrowser/qutebrowser.git" |
42 |
-else |
43 |
- SRC_URI="https://github.com/qutebrowser/qutebrowser/releases/download/v${PV}/${P}.tar.gz" |
44 |
- KEYWORDS="amd64 ~arm64 ~x86" |
45 |
-fi |
46 |
- |
47 |
-DESCRIPTION="Keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" |
48 |
-HOMEPAGE="https://www.qutebrowser.org/" |
49 |
- |
50 |
-LICENSE="GPL-3+" |
51 |
-SLOT="0" |
52 |
-IUSE="+adblock widevine" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- dev-qt/qtcore:5[icu] |
56 |
- dev-qt/qtgui:5[png] |
57 |
- $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_8) |
58 |
- $(python_gen_cond_dep ' |
59 |
- >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] |
60 |
- >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] |
61 |
- >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] |
62 |
- dev-python/pygments[${PYTHON_USEDEP}] |
63 |
- dev-python/PyQt5[${PYTHON_USEDEP},dbus,declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] |
64 |
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}] |
65 |
- >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP},libyaml(+)] |
66 |
- >=dev-python/typing-extensions-3.10.0.2[${PYTHON_USEDEP}] |
67 |
- >=dev-python/zipp-3.6.0[${PYTHON_USEDEP}] |
68 |
- adblock? ( >=dev-python/adblock-0.5.0[${PYTHON_USEDEP}] ) |
69 |
- ') |
70 |
- widevine? ( www-plugins/chrome-binary-plugins )" |
71 |
-BDEPEND=" |
72 |
- app-text/asciidoc |
73 |
- $(python_gen_cond_dep ' |
74 |
- test? ( |
75 |
- dev-python/beautifulsoup4[${PYTHON_USEDEP}] |
76 |
- dev-python/cheroot[${PYTHON_USEDEP}] |
77 |
- dev-python/flask[${PYTHON_USEDEP}] |
78 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
79 |
- dev-python/pytest-bdd[${PYTHON_USEDEP}] |
80 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
81 |
- dev-python/pytest-qt[${PYTHON_USEDEP}] |
82 |
- dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] |
83 |
- dev-python/pytest-xvfb[${PYTHON_USEDEP}] |
84 |
- dev-python/tldextract[${PYTHON_USEDEP}] |
85 |
- ) |
86 |
- ')" |
87 |
- |
88 |
-distutils_enable_tests pytest |
89 |
- |
90 |
-python_prepare_all() { |
91 |
- distutils-r1_python_prepare_all |
92 |
- |
93 |
- if use widevine; then |
94 |
- sed "/yield from _qtwebengine_settings_args/a\ yield '--widevine-path=${EPREFIX}/usr/$(get_libdir)/chromium-browser/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so'" \ |
95 |
- -i ${PN}/config/qtargs.py || die |
96 |
- fi |
97 |
- |
98 |
- sed -i '/setup.py/d' misc/Makefile || die |
99 |
- |
100 |
- [[ ${PV} != 9999 ]] || ${EPYTHON} scripts/asciidoc2html.py || die |
101 |
- |
102 |
- # these plugins/tests are unnecessary here and have extra dependencies |
103 |
- sed -e '/pytest-benchmark/d;s/--benchmark[^ ]*//' \ |
104 |
- -e '/pytest-instafail/d;s/--instafail//' \ |
105 |
- -i pytest.ini || die |
106 |
- [[ ${PV} == 9999 ]] || rm tests/unit/scripts/test_problemmatchers.py || die |
107 |
- [[ ${PV} != 9999 ]] || rm tests/unit/scripts/test_run_vulture.py || die |
108 |
-} |
109 |
- |
110 |
-python_test() { |
111 |
- local EPYTEST_DESELECT=( |
112 |
- # end2end and other IPC tests are broken with "Name error" if |
113 |
- # socket path is over 104 characters (=124 in /var/tmp/portage) |
114 |
- # https://github.com/qutebrowser/qutebrowser/issues/888 (not just OSX) |
115 |
- tests/end2end |
116 |
- tests/unit/misc/test_ipc.py |
117 |
- # tests that don't know about our newer qtwebengine |
118 |
- tests/unit/browser/webengine/test_webenginedownloads.py::TestDataUrlWorkaround |
119 |
- tests/unit/utils/test_version.py::TestChromiumVersion |
120 |
- # needs qtwebkit and isn't skipped by default |
121 |
- tests/unit/config/test_websettings.py::test_config_init |
122 |
- # may misbehave depending on installed old python versions |
123 |
- tests/unit/misc/test_checkpyver.py::test_old_python |
124 |
- # bug 819393 |
125 |
- tests/unit/commands/test_userscripts.py::test_custom_env[_POSIXUserscriptRunner] |
126 |
- ) |
127 |
- use widevine && EPYTEST_DESELECT+=( tests/unit/config/test_qtargs.py ) |
128 |
- |
129 |
- # skip benchmarks (incl. _tree), and warning tests broken by -Wdefault |
130 |
- epytest -k 'not _bench and not _matches_tree and not _warning' |
131 |
-} |
132 |
- |
133 |
-python_install_all() { |
134 |
- emake -f misc/Makefile DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install |
135 |
- |
136 |
- rm "${ED}"/usr/share/${PN}/scripts/{mkvenv,utils}.py || die |
137 |
- fperms -x /usr/share/${PN}/{scripts/cycle-inputs.js,userscripts/README.md} |
138 |
- python_fix_shebang "${ED}"/usr/share/${PN} |
139 |
- |
140 |
- einstalldocs |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- xdg_pkg_postinst |
145 |
- |
146 |
- optfeature "PDF display support" www-plugins/pdfjs |
147 |
- |
148 |
- if [[ ! ${REPLACING_VERSIONS} ]]; then |
149 |
- elog "Note that optional scripts in ${EROOT}/usr/share/${PN}/{user,}scripts" |
150 |
- elog "have additional dependencies not covered by this ebuild, for example" |
151 |
- elog "view_in_mpv needs media-video/mpv[lua] and net-misc/yt-dlp." |
152 |
- fi |
153 |
-} |