summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-03-10 22:08:46 -0500
committerTim Harder <radhermit@gentoo.org>2016-03-10 22:15:15 -0500
commit4c3f3b99afe9bb1d21947fac81cfae541f8ed1c0 (patch)
treefe02eaf4c620451f0e4150db1adc704034923e5e /www-client/qutebrowser
parentdev-python/pypeg2: version bump to 2.15.2 (diff)
downloadgentoo-4c3f3b99afe9bb1d21947fac81cfae541f8ed1c0.tar.gz
gentoo-4c3f3b99afe9bb1d21947fac81cfae541f8ed1c0.tar.bz2
gentoo-4c3f3b99afe9bb1d21947fac81cfae541f8ed1c0.zip
www-client/qutebrowser: version bump to 0.5.1
Also, add py35 support and sync live ebuild.
Diffstat (limited to 'www-client/qutebrowser')
-rw-r--r--www-client/qutebrowser/Manifest1
-rw-r--r--www-client/qutebrowser/qutebrowser-0.5.1.ebuild75
-rw-r--r--www-client/qutebrowser/qutebrowser-9999.ebuild17
3 files changed, 88 insertions, 5 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest
index 4b10d3120d70..19c9990efe13 100644
--- a/www-client/qutebrowser/Manifest
+++ b/www-client/qutebrowser/Manifest
@@ -1,3 +1,4 @@
DIST qutebrowser-0.2.1.tar.gz 892955 SHA256 0738377c1069d7d9ce1ff61e7425a139b44d21493d3a5c6338d697eb54f26d31 SHA512 9c49779515e6d7a3c9b93d50b51138f20292712f08de6f682db4f452c893796d9c66af7cca9ab7c18a5b7ddc147d62b7649572c7cdd416cc67c81cdf462c4f01 WHIRLPOOL 5f2f42163b59490eda25bad390c71113c8e7725a7bd8fa47240516a336364c76a7f97c516996f1ffcbc11025785070a30a6bccdcd66a06459ffbb24f874ed960
DIST qutebrowser-0.3.0.tar.gz 938380 SHA256 a0c02148bf76eb13691d9476e6ab8bc791993dfe7a408974ba31dd6eb6584461 SHA512 ee0e5808f7732c3c4cd577beb9c25227af0b6a3136bd20b80e18fef20a0d7ae34111f40db2bc0071e34a92c0b0dc94c8899f0953107b4926ff5ba2894fc818e0 WHIRLPOOL 95bd3e1a8c065a31d816ea8f7d85649d937aed6ddf85cb28ad309cab2d7ed0b9dc72672106321be9a2d0a085622114fc340122920c4c528750e70636d88930d3
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
diff --git a/www-client/qutebrowser/qutebrowser-0.5.1.ebuild b/www-client/qutebrowser/qutebrowser-0.5.1.ebuild
new file mode 100644
index 000000000000..eb111baaa60b
--- /dev/null
+++ b/www-client/qutebrowser/qutebrowser-0.5.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="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 b63da5740940..eb111baaa60b 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python3_4 )
+PYTHON_COMPAT=( python{3_4,3_5} )
-inherit distutils-r1 eutils fdo-mime
+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}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/The-Compiler/${PN}/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -31,6 +31,7 @@ RDEPEND="${COMMON_DEPEND}
>=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] )
"
@@ -54,15 +55,21 @@ python_install_all() {
dodoc {CHANGELOG,CONTRIBUTING,FAQ,README}.asciidoc
domenu ${PN}.desktop
- doicon icons/${PN}.svg
+ 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
}