diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2017-11-28 08:00:02 -0500 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2017-11-28 08:00:02 -0500 |
commit | abf7ed52ac91ce4d9e175131e17a9abe6112f810 (patch) | |
tree | e849115e2fac106ca508435ecd9d909f385e74d3 /www-client | |
parent | metadata: add Manifest.gz to gitignore (diff) | |
download | gentoo-abf7ed52ac91ce4d9e175131e17a9abe6112f810.tar.gz gentoo-abf7ed52ac91ce4d9e175131e17a9abe6112f810.tar.bz2 gentoo-abf7ed52ac91ce4d9e175131e17a9abe6112f810.zip |
www-client/qutebrowser: bump 1.0.4
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/qutebrowser/Manifest | 5 | ||||
-rw-r--r-- | www-client/qutebrowser/qutebrowser-1.0.4.ebuild | 76 |
2 files changed, 79 insertions, 2 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index 3db26325538a..0a17ebfa8563 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,2 +1,3 @@ -DIST qutebrowser-1.0.2.tar.gz 3272237 SHA256 f33281bd6d23bdfad7fbf8b85a01ae9cbc6bd343a957bbebcdd38f9ee8ae7624 SHA512 a2b548dd7577064000845e696b87d65e0d7452053741832036c6a89f5f3d1cf03a241e4c8c202c57bf87ecc843a7003dd3d5eb32169a32420345ff46e9cf3186 WHIRLPOOL e14c811c070e5a71adc9537115bd2a9e6c50fb8cdc4f285330c6d5e62721c8e21a5139a71cbcd72e372556fb09be1f3e52380829ed5ea74d71f87bf4158ee8b6 -DIST qutebrowser-1.0.3-1.tar.gz 3289802 SHA256 577dc83ab7f5ae75026eebc77cde48cb3efb47bfab80a681e5920be7c583a611 SHA512 66bd486ddeee7e1a81a30175d7703d47947d9cbfea62e229f6886665039d68ef34cffd78a3ae9535fe77fcbc298d5a0cab5357d37705f25b40f91d3fc05dbf4c WHIRLPOOL 9ccb33f88559bd42d04a77c09a041f3d65e4b644e3ac82b75de582885c521c02da5a406225497ea9ebc85649e50f4d614fd525de84e4bacb0fe4c71acd207c5c +DIST qutebrowser-1.0.2.tar.gz 3272237 BLAKE2B 24a1e81678e99a1bf4d3c444e4da91898caa5b1bce7176ae59a34583bf476a24446f9d34d83e4c939697405454bf866071d18756d32d6cafad255fc175dd333b SHA512 a2b548dd7577064000845e696b87d65e0d7452053741832036c6a89f5f3d1cf03a241e4c8c202c57bf87ecc843a7003dd3d5eb32169a32420345ff46e9cf3186 +DIST qutebrowser-1.0.3-1.tar.gz 3289802 BLAKE2B 80b9f3e2f7cf9fc96ccaab752cc311135788c69f6ba3ca750570c919846aab46b92e8742c6400c01283e6d33fdccda2d94c3b136890cb0cb0dfbab03686e4324 SHA512 66bd486ddeee7e1a81a30175d7703d47947d9cbfea62e229f6886665039d68ef34cffd78a3ae9535fe77fcbc298d5a0cab5357d37705f25b40f91d3fc05dbf4c +DIST qutebrowser-1.0.4.tar.gz 3354132 BLAKE2B 272372eee5e59f4f53ab53b535bdc504176e9ae91181ea96063bac3be827bf681539bab52af0be5bc55da4663c4f5b83edc7aa99d54dccd848c3c7bd38b48759 SHA512 197188e1145dcd59089efe4162e471c4d947e84aff2b0dd30582e19d0045a442e81d388e154335e5cce62dd132d379353db932825dbd2cd041372cca795f3e77 diff --git a/www-client/qutebrowser/qutebrowser-1.0.4.ebuild b/www-client/qutebrowser/qutebrowser-1.0.4.ebuild new file mode 100644 index 000000000000..cf674525e31a --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-1.0.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_5,3_6} ) + +inherit distutils-r1 eutils gnome2-utils xdg-utils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" +HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" + +LICENSE="GPL-3" +SLOT="0" +IUSE="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/attrs[${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-5.7.1[${PYTHON_USEDEP},declarative,gui,network,opengl,printsupport,sql,webengine,widgets] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] +" + +# Tests restricted as the deplist (misc/requirements/requirements-tests.txt) +# isn't complete and X11 is required in order to start up qutebrowser. +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 + domenu misc/${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 + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |