Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qutebrowser/
Date: Mon, 26 Oct 2015 09:08:45
Message-Id: 1445850505.23ddc3e23c490b151da683ffbbf4181e9847748d.idella4@gentoo
1 commit: 23ddc3e23c490b151da683ffbbf4181e9847748d
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 09:07:39 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 09:08:25 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ddc3e2
7
8 www-client/qutebrowser: version bump to 0.4.1
9
10 Updated SRC_URI and added new dependency, the hardened profile masked
11 (by hardened team) due to runtime failure with JIT. ebuild prepared
12 and submitted by the package's own author "The-Compiler" with support
13 from similar users. Commited by proxy-maintainers team due to extended
14 absence of the developer maintainer. Fixes the gentoo bug
15
16 Gentoo bug: #564140
17
18 Package-Manager: portage-2.2.23
19
20 www-client/qutebrowser/Manifest | 1 +
21 www-client/qutebrowser/qutebrowser-0.4.1.ebuild | 69 +++++++++++++++++++++++++
22 2 files changed, 70 insertions(+)
23
24 diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
25 index 039da4a..4b10d31 100644
26 --- a/www-client/qutebrowser/Manifest
27 +++ b/www-client/qutebrowser/Manifest
28 @@ -1,2 +1,3 @@
29 DIST qutebrowser-0.2.1.tar.gz 892955 SHA256 0738377c1069d7d9ce1ff61e7425a139b44d21493d3a5c6338d697eb54f26d31 SHA512 9c49779515e6d7a3c9b93d50b51138f20292712f08de6f682db4f452c893796d9c66af7cca9ab7c18a5b7ddc147d62b7649572c7cdd416cc67c81cdf462c4f01 WHIRLPOOL 5f2f42163b59490eda25bad390c71113c8e7725a7bd8fa47240516a336364c76a7f97c516996f1ffcbc11025785070a30a6bccdcd66a06459ffbb24f874ed960
30 DIST qutebrowser-0.3.0.tar.gz 938380 SHA256 a0c02148bf76eb13691d9476e6ab8bc791993dfe7a408974ba31dd6eb6584461 SHA512 ee0e5808f7732c3c4cd577beb9c25227af0b6a3136bd20b80e18fef20a0d7ae34111f40db2bc0071e34a92c0b0dc94c8899f0953107b4926ff5ba2894fc818e0 WHIRLPOOL 95bd3e1a8c065a31d816ea8f7d85649d937aed6ddf85cb28ad309cab2d7ed0b9dc72672106321be9a2d0a085622114fc340122920c4c528750e70636d88930d3
31 +DIST qutebrowser-0.4.1.tar.gz 909363 SHA256 6e1022e4b349fd09bd8efa643d2411badb8305fee911d266db5dce66290a3ed7 SHA512 a31b3a99010babf26c4e9c867840d419e0f2f3acf874d9b61812744d1845914fd2505c8178976a14e57286842706431ad6305773e7087db6a4d4105b91c98aed WHIRLPOOL 2176e54fcff48b6b81629040b9826ea981b5eec963b506a54194d60a12a971763df9609f00958b30f61c209acf306faa2290f58d81590eed89e0b3705a2b9b9f
32
33 diff --git a/www-client/qutebrowser/qutebrowser-0.4.1.ebuild b/www-client/qutebrowser/qutebrowser-0.4.1.ebuild
34 new file mode 100644
35 index 0000000..0bfb698
36 --- /dev/null
37 +++ b/www-client/qutebrowser/qutebrowser-0.4.1.ebuild
38 @@ -0,0 +1,69 @@
39 +# Copyright 1999-2015 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=5
44 +PYTHON_COMPAT=( python3_4 )
45 +
46 +inherit distutils-r1 eutils fdo-mime
47 +
48 +if [[ ${PV} == "9999" ]] ; then
49 + EGIT_REPO_URI="https://github.com/The-Compiler/qutebrowser.git"
50 + inherit git-r3
51 +else
52 + SRC_URI="https://github.com/The-Compiler/qutebrowser/releases/download/v${PV}/qutebrowser-${PV}.tar.gz -> ${P}.tar.gz"
53 + KEYWORDS="~amd64 ~x86"
54 +fi
55 +
56 +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit"
57 +HOMEPAGE="https://github.com/The-Compiler/qutebrowser"
58 +
59 +LICENSE="GPL-3"
60 +SLOT="0"
61 +IUSE="gstreamer test"
62 +
63 +COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
64 +DEPEND="${COMMON_DEPEND}
65 + app-text/asciidoc
66 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
67 +RDEPEND="${COMMON_DEPEND}
68 + >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
69 + >=dev-python/pygments-2.0.2[${PYTHON_USEDEP}]
70 + >=dev-python/pypeg2-2.15.1[${PYTHON_USEDEP}]
71 + dev-python/PyQt5[${PYTHON_USEDEP},gui,network,printsupport,webkit,widgets]
72 + dev-python/sip[${PYTHON_USEDEP}]
73 + >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
74 + gstreamer? ( dev-qt/qtwebkit:5[gstreamer] )
75 +"
76 +
77 +RESTRICT="test"
78 +
79 +python_compile_all() {
80 + if [[ ${PV} == "9999" ]]; then
81 + "${PYTHON}" scripts/asciidoc2html.py || die "Failed generating docs"
82 + fi
83 +
84 + a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page"
85 +}
86 +
87 +python_test() {
88 + py.test tests || die "Tests failed with ${EPYTHON}"
89 +}
90 +
91 +python_install_all() {
92 + doman doc/${PN}.1
93 + dodoc {CHANGELOG,CONTRIBUTING,FAQ,README}.asciidoc
94 +
95 + domenu ${PN}.desktop
96 + doicon icons/${PN}.svg
97 +
98 + distutils-r1_python_install_all
99 +}
100 +
101 +pkg_postinst() {
102 + fdo-mime_desktop_database_update
103 +}
104 +
105 +pkg_postrm() {
106 + fdo-mime_desktop_database_update
107 +}