summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-0.6.1.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index cc6dd3486578..8ab2d1f74275 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -1,3 +1,4 @@
DIST qutebrowser-0.4.1.tar.gz 909363 SHA256 6e1022e4b349fd09bd8efa643d2411badb8305fee911d266db5dce66290a3ed7 SHA512 a31b3a99010babf26c4e9c867840d419e0f2f3acf874d9b61812744d1845914fd2505c8178976a14e57286842706431ad6305773e7087db6a4d4105b91c98aed WHIRLPOOL 2176e54fcff48b6b81629040b9826ea981b5eec963b506a54194d60a12a971763df9609f00958b30f61c209acf306faa2290f58d81590eed89e0b3705a2b9b9f
DIST qutebrowser-0.5.1.tar.gz 1007393 SHA256 0b7f8ee4b45d680c0fe7a31987b634723c3e45ef05a874d99b24ed4cc055afdf SHA512 9e61b2347da349de720e5d796ec54efbe904b641a06babf9bdef98a742240cbf708264acff0ed70b7df040115e18d3bb8315a9ef7e9c402ac3eda4ca0e6c5636 WHIRLPOOL 21f0617478a17e655729ea764095e1ac36a8f3f445652a3f88793c0fc9cbce5a670ec44ab49e2b9d09490a47b9b080fc5a7215ee4aa6e10031577e34cf7e66bf
DIST qutebrowser-0.6.0.tar.gz 2013426 SHA256 217dede5ab855f65a0c6464bb91d3f557301912912fbe1c5519f8be0027cc9ed SHA512 39970bdbc91c3a6c629c95378f6a61ecb669e95e67516fa3de7c8dad8f0cdf226fb21b4225b7216cbcc491f8edc528cb37510660f537a4b3436ab26aeb574e83 WHIRLPOOL 00c8e58b79846ee76de7ca180d3cb08c8b679a5e545882718cfd9ef62a1094001efda4e278db67dd9c15d1954f6ba4872c67503a59830f12912dcda116672ba8
+DIST qutebrowser-0.6.1.tar.gz 2996973 SHA256 a0ca51617170ca5ad14942d325feab8af188451153065a8e3b10a4c1a42f69f5 SHA512 bd651704f6aed48e1d9375c16e5b288adfbbd223d2e9d614569504c77f1f5cebdbebc43075cd4ec3f3fd0c232f42f215e886483b5bb19086ee2f4e17c363329e WHIRLPOOL 8f413a0d12b4293c5e893ecae621322a0953eff68514b57410ed40a19f50776ee73314dd039cf60af0784830a1d4051d5d5d5248f5bb6c7de56dd92a9561d8f6
diff --git a/www-client/qutebrowser/qutebrowser-0.6.1.ebuild b/www-client/qutebrowser/qutebrowser-0.6.1.ebuild
new file mode 100644
index 000000000000..40284b651ee7
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-0.6.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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/jinja-2.7.3[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.0.2[${PYTHON_USEDEP}]
+ >=dev-python/pypeg2-2.15.1[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,network,printsupport,webkit,widgets]
+ dev-python/sip[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.11[${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() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}