summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-01-16 13:36:49 -0500
committerTim Harder <radhermit@gentoo.org>2017-01-16 13:45:56 -0500
commit5bbbdb82589b14a5909121a3edc8b4119aa79273 (patch)
treeb269c30ce4fde9637ee07d3026ee4bd0ff4d9bdb /www-client
parentx11-themes/gtk-engines-adwaita: Bump to 3.22.2 to keep in sync with gnome-the... (diff)
downloadgentoo-5bbbdb82589b14a5909121a3edc8b4119aa79273.tar.gz
gentoo-5bbbdb82589b14a5909121a3edc8b4119aa79273.tar.bz2
gentoo-5bbbdb82589b14a5909121a3edc8b4119aa79273.zip
www-client/qutebrowser: version bump to 0.9.1
Also, add dep on dev-python/PyQt5[declarative] for bug #604392.
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-0.9.1.ebuild77
-rw-r--r--www-client/qutebrowser/qutebrowser-9999.ebuild4
3 files changed, 80 insertions, 2 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index 7bea83da8fa8..78086be8509c 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -1 +1,2 @@
DIST qutebrowser-0.8.4.tar.gz 3040566 SHA256 f5ce98c5bc57ae29dc31f8896fad6911feab91277a9554761126219e0f8e8671 SHA512 0dc5c83f875a207cecb351b07895b48c3ad014f0ed7c45fce8023aa77f27f81f7ee2da2c376d0081760fb66fffcc811e3231d0aa50d19a7339b4cf5101eff9ad WHIRLPOOL 9bb957be49b9ca5b044fe582a7e77f7bed705f34c8329a8aaf907d93e9bb4e74103668abf2ac9e01403801099d3372e358652b758b2f01bee8fb881c8bcae683
+DIST qutebrowser-0.9.1.tar.gz 3091676 SHA256 5aabfd6824ece72a2ca2dd02f4ee47f5b3c48a289c9f3e1854d3b30e980dc95d SHA512 521bb306964865a17326701f8d4e46369583e8d81d4807ea2ee7252cbb734133ec06902780d191f8e8a95cb3ee4f9590d7bda223aa43bc25c986c343d6b17017 WHIRLPOOL 0f96d66033b53c0009db3dfa87b4fc5b53cc56ea4caf2f6388cdcd9f1721986cee6c6d04d3c376a9ee719483a6d6a9dea8e1501c612e46fdc9396b80ff2f7e5e
diff --git a/www-client/qutebrowser/qutebrowser-0.9.1.ebuild b/www-client/qutebrowser/qutebrowser-0.9.1.ebuild
new file mode 100644
index 000000000000..fb1a2355d926
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-0.9.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit gnome2-utils distutils-r1 eutils fdo-mime
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/The-Compiler/qutebrowser.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/The-Compiler/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit"
+HOMEPAGE="http://www.qutebrowser.org/ https://github.com/The-Compiler/qutebrowser"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gstreamer 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/cssutils-1.0.1[${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[${PYTHON_USEDEP},declarative,gui,network,printsupport,webkit,widgets]
+ dev-python/sip[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
+ gstreamer? ( dev-qt/qtwebkit:5[gstreamer] )
+"
+
+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
+ dodoc {CHANGELOG,CONTRIBUTING,FAQ,README}.asciidoc
+
+ domenu ${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
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild b/www-client/qutebrowser/qutebrowser-9999.ebuild
index 58fca1323b9e..fb1a2355d926 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -31,9 +31,9 @@ RDEPEND="${COMMON_DEPEND}
>=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[${PYTHON_USEDEP},gui,network,printsupport,webkit,widgets]
+ dev-python/PyQt5[${PYTHON_USEDEP},declarative,gui,network,printsupport,webkit,widgets]
dev-python/sip[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
gstreamer? ( dev-qt/qtwebkit:5[gstreamer] )
"