summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2017-11-04 19:16:05 -0400
committerJustin Bronder <jsbronder@gentoo.org>2017-11-04 19:16:05 -0400
commitb4d20ac7496182a58c6561359c5c0412e73f519a (patch)
tree07bd38eed273e5e883e4fae3ca35d3416a9288a5 /www-client
parentapp-vim/pfsyntax: new ebuild. (diff)
downloadgentoo-b4d20ac7496182a58c6561359c5c0412e73f519a.tar.gz
gentoo-b4d20ac7496182a58c6561359c5c0412e73f519a.tar.bz2
gentoo-b4d20ac7496182a58c6561359c5c0412e73f519a.zip
www-client/qutebrowser: bump 1.0.3
Note that SRC_URI is a one-off due to a bad pack initially: https://lists.schokokeks.org/pipermail/qutebrowser-announce/2017-November/000029.html Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-1.0.3.ebuild76
2 files changed, 77 insertions, 0 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index eedc5f465f82..94baf408f565 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -1,2 +1,3 @@
DIST qutebrowser-0.9.1.tar.gz 3091676 SHA256 5aabfd6824ece72a2ca2dd02f4ee47f5b3c48a289c9f3e1854d3b30e980dc95d SHA512 521bb306964865a17326701f8d4e46369583e8d81d4807ea2ee7252cbb734133ec06902780d191f8e8a95cb3ee4f9590d7bda223aa43bc25c986c343d6b17017 WHIRLPOOL 0f96d66033b53c0009db3dfa87b4fc5b53cc56ea4caf2f6388cdcd9f1721986cee6c6d04d3c376a9ee719483a6d6a9dea8e1501c612e46fdc9396b80ff2f7e5e
DIST qutebrowser-1.0.2.tar.gz 3272237 SHA256 f33281bd6d23bdfad7fbf8b85a01ae9cbc6bd343a957bbebcdd38f9ee8ae7624 SHA512 a2b548dd7577064000845e696b87d65e0d7452053741832036c6a89f5f3d1cf03a241e4c8c202c57bf87ecc843a7003dd3d5eb32169a32420345ff46e9cf3186 WHIRLPOOL e14c811c070e5a71adc9537115bd2a9e6c50fb8cdc4f285330c6d5e62721c8e21a5139a71cbcd72e372556fb09be1f3e52380829ed5ea74d71f87bf4158ee8b6
+DIST qutebrowser-1.0.3-1.tar.gz 3289802 SHA256 577dc83ab7f5ae75026eebc77cde48cb3efb47bfab80a681e5920be7c583a611 SHA512 66bd486ddeee7e1a81a30175d7703d47947d9cbfea62e229f6886665039d68ef34cffd78a3ae9535fe77fcbc298d5a0cab5357d37705f25b40f91d3fc05dbf4c WHIRLPOOL 9ccb33f88559bd42d04a77c09a041f3d65e4b644e3ac82b75de582885c521c02da5a406225497ea9ebc85649e50f4d614fd525de84e4bacb0fe4c71acd207c5c
diff --git a/www-client/qutebrowser/qutebrowser-1.0.3.ebuild b/www-client/qutebrowser/qutebrowser-1.0.3.ebuild
new file mode 100644
index 000000000000..389a61a8d828
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-1.0.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{3_5,3_6} )
+
+inherit distutils-r1 eutils gnome2-utils xdg-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-1.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine"
+HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+
+COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${COMMON_DEPEND}
+ app-text/asciidoc
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+RDEPEND="${COMMON_DEPEND}
+ dev-python/attrs[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.8[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.1.3[${PYTHON_USEDEP}]
+ >=dev-python/pypeg2-2.15.2[${PYTHON_USEDEP}]
+ >=dev-python/PyQt5-5.7.1[${PYTHON_USEDEP},declarative,gui,network,opengl,printsupport,sql,webengine,widgets]
+ >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
+"
+
+# Tests restricted as the deplist (misc/requirements/requirements-tests.txt)
+# isn't complete and X11 is required in order to start up qutebrowser.
+RESTRICT="test"
+
+python_compile_all() {
+ if [[ ${PV} == "9999" ]]; then
+ "${PYTHON}" scripts/asciidoc2html.py || die "Failed generating docs"
+ fi
+
+ a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page"
+}
+
+python_test() {
+ py.test tests || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ doman doc/${PN}.1
+ domenu misc/${PN}.desktop
+ doicon -s scalable icons/${PN}.svg
+
+ distutils-r1_python_install_all
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ optfeature "PDF display support" www-plugins/pdfjs
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}