summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-05 22:17:37 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-05 22:18:30 -0400
commit42756e33bf5fc015db8972ba11f2a1cc6d4bc8f9 (patch)
tree9201163fa11908a90dd0a0b7c1a9d1ce07869219 /www-client
parentx11-wm/marco: Drop 1.8.x (diff)
downloadgentoo-42756e33bf5fc015db8972ba11f2a1cc6d4bc8f9.tar.gz
gentoo-42756e33bf5fc015db8972ba11f2a1cc6d4bc8f9.tar.bz2
gentoo-42756e33bf5fc015db8972ba11f2a1cc6d4bc8f9.zip
www-client/qutebrowser: version bump to 0.8.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-0.8.2.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index 1c3fde451b90..b99f1086c375 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -1,2 +1,3 @@
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
+DIST qutebrowser-0.8.2.tar.gz 3041091 SHA256 8ebdef058fc0d7114483da4d3bcf599fb8c77e29f73df650438ae2166c93ddcd SHA512 6f2aa0b1a7c4e4bbf47825abcd3d861ef6b234d23658f9ee618678016a518d827aba331cfb0d603be7ec7a1e272599756c273af1d5d48f0baba5745828fed60a WHIRLPOOL 1511db630f1711501ab0ca88f83d038781efe755fa3a517df89c26e2182e6d544612a95f056ba85e36d0b305cb898d0502efd356547a66f10be6908e7783d997
diff --git a/www-client/qutebrowser/qutebrowser-0.8.2.ebuild b/www-client/qutebrowser/qutebrowser-0.8.2.ebuild
new file mode 100644
index 000000000000..64a7a2a688e3
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-0.8.2.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
+}