summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-07-12 13:52:34 -0400
committerTim Harder <radhermit@gentoo.org>2016-07-12 13:52:34 -0400
commit12b29782d2b1938004e1a09daad0237bbde8df9c (patch)
tree1c0ff991c7715cd3defe3ce934414e75b2630858
parentdev-python/backports-lzma: version bump to 0.0.6 (diff)
downloadgentoo-12b29782d2b1938004e1a09daad0237bbde8df9c.tar.gz
gentoo-12b29782d2b1938004e1a09daad0237bbde8df9c.tar.bz2
gentoo-12b29782d2b1938004e1a09daad0237bbde8df9c.zip
www-client/qutebrowser: version bump to 0.7.0
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-0.7.0.ebuild75
-rw-r--r--www-client/qutebrowser/qutebrowser-9999.ebuild2
3 files changed, 77 insertions, 1 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index db7aa03820c1..b2a3a79ae297 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -3,3 +3,4 @@ DIST qutebrowser-0.5.1.tar.gz 1007393 SHA256 0b7f8ee4b45d680c0fe7a31987b634723c3
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
DIST qutebrowser-0.6.2.tar.gz 2998855 SHA256 3a4301566f8c183075f32ff53f2cded7fd28b692807e67662749cebf2fdde799 SHA512 a68f3082c398fa2c9f730cebbdae0fa7bf25c73640fd497ff458643f13895a07a7006ef3ad820e04e2e1905e11e5b8423f30c3d96dda62a9c34d96f964abeffc WHIRLPOOL deaed1637b6caadec463ee59408635929c70b4468fbf00de5e5b70f205784fa33e8ae9806311225b5239b7bbbbafb35259666dd6cfb0dba7e503f616af812a28
+DIST qutebrowser-0.7.0.tar.gz 3026028 SHA256 76611616003c04d66a8ab88d9dcaa25f31f1b57cc98358ffb12c3b8320d9bb9f SHA512 0e5b2ab362507d5fe2a305dea9cd633cebb67a6f0d7e8d248212ec22316bf598ada68fe6803c464a51cf08cedfb2df612b780a452e6c519547d9d9b0fcd62693 WHIRLPOOL 52f1a8c65815eeaedd875cf46d0a98bf7bd32ee37bf365f7469624ffe6285369d0180b1552fcf7351907c3e9ca1d8577705bf2e82fa7150f0ffe16afcee38e6a
diff --git a/www-client/qutebrowser/qutebrowser-0.7.0.ebuild b/www-client/qutebrowser/qutebrowser-0.7.0.ebuild
new file mode 100644
index 000000000000..64a7a2a688e3
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-0.7.0.ebuild
@@ -0,0 +1,75 @@
+# 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/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
+}
diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild b/www-client/qutebrowser/qutebrowser-9999.ebuild
index 40284b651ee7..64a7a2a688e3 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python{3_4,3_5} )
inherit gnome2-utils distutils-r1 eutils fdo-mime