1 |
commit: dfc9c18928d55cc165ea57b302fa46f479b79d67 |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 27 19:55:35 2019 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 21:32:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc9c189 |
7 |
|
8 |
www-client/qutebrowser: Add version bump 1.8.3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704040 |
11 |
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com> |
12 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
14 |
|
15 |
www-client/qutebrowser/Manifest | 1 + |
16 |
www-client/qutebrowser/qutebrowser-1.8.3.ebuild | 80 +++++++++++++++++++++++++ |
17 |
2 files changed, 81 insertions(+) |
18 |
|
19 |
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest |
20 |
index b9cb17b7e30..5a094087d31 100644 |
21 |
--- a/www-client/qutebrowser/Manifest |
22 |
+++ b/www-client/qutebrowser/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST qutebrowser-1.8.1.tar.gz 3605606 BLAKE2B 5f60de24738aa9cab88149193c6ce884c663edaed6e018ce56d582eac5489af2f889d8a8074949165e4302847dda61695039d95df4dc992516d3b4e42b2abe8e SHA512 5fff6a8590bb4fd26815984310e5ce57201eed9a4a1fb788594d70e64e00a666563851b376bbac78cb175d64ffbe34a032521db31ae389958fab796ee9c26c78 |
25 |
+DIST qutebrowser-1.8.3.tar.gz 3634523 BLAKE2B c36abcbd99767e3dbc7113d6432c5b7b2e4062e8b2892dbc15c4ffcde1d7b8f2d918674e3f5f0acf6b5e45eef794019f0cda1d9462da614ece8d1582952a0a95 SHA512 9a3dc3040d1236c81933263e031db4d44c86be206c54f0787a73b2dd7d32d6e742f9ac80626163515e917fbc9fa1588f76afcb21f4b3d31f47ba386d06c3c6e7 |
26 |
|
27 |
diff --git a/www-client/qutebrowser/qutebrowser-1.8.3.ebuild b/www-client/qutebrowser/qutebrowser-1.8.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..73b3f30c5c4 |
30 |
--- /dev/null |
31 |
+++ b/www-client/qutebrowser/qutebrowser-1.8.3.ebuild |
32 |
@@ -0,0 +1,80 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_5,3_6,3_7} ) |
39 |
+ |
40 |
+inherit desktop distutils-r1 eutils xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" |
43 |
+HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" |
44 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="scripts test" |
50 |
+ |
51 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
52 |
+DEPEND=" |
53 |
+ app-text/asciidoc |
54 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/attrs-19.1.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/cssutils-1.0.2[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pygments-2.4.2[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pypeg2-2.15.2[${PYTHON_USEDEP}] |
62 |
+ || ( ( |
63 |
+ >=dev-python/PyQt5-5.12[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] |
64 |
+ dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) |
65 |
+ <dev-python/PyQt5-5.12[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,webengine,widgets] |
66 |
+ ) |
67 |
+ >=dev-python/pyyaml-5.1.2[${PYTHON_USEDEP},libyaml] |
68 |
+" |
69 |
+ |
70 |
+# Tests restricted as the deplist (misc/requirements/requirements-tests.txt) |
71 |
+# isn't complete and X11 is required in order to start up qutebrowser. |
72 |
+RESTRICT="test" |
73 |
+ |
74 |
+python_compile_all() { |
75 |
+ a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" |
76 |
+} |
77 |
+ |
78 |
+python_test() { |
79 |
+ py.test tests || die "Tests failed with ${EPYTHON}" |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ doman doc/${PN}.1 |
84 |
+ domenu misc/org.${PN}.${PN}.desktop |
85 |
+ doicon -s scalable icons/${PN}.svg |
86 |
+ |
87 |
+ if use scripts; then |
88 |
+ # Install only those userscripts that have an explicit license header |
89 |
+ exeinto /usr/share/qutebrowser/userscripts/ |
90 |
+ doexe misc/userscripts/dmenu_qutebrowser |
91 |
+ doexe misc/userscripts/openfeeds |
92 |
+ doexe misc/userscripts/qute-keepass |
93 |
+ doexe misc/userscripts/qute-pass |
94 |
+ doexe misc/userscripts/rss |
95 |
+ doexe misc/userscripts/tor_identity |
96 |
+ fi |
97 |
+ |
98 |
+ distutils-r1_python_install_all |
99 |
+} |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ optfeature "PDF display support" www-plugins/pdfjs |
103 |
+ xdg_desktop_database_update |
104 |
+ xdg_icon_cache_update |
105 |
+ xdg_mimeinfo_database_update |
106 |
+} |
107 |
+ |
108 |
+pkg_postrm() { |
109 |
+ xdg_desktop_database_update |
110 |
+ xdg_icon_cache_update |
111 |
+ xdg_mimeinfo_database_update |
112 |
+} |