Gentoo Archives: gentoo-commits

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