diff options
author | Stefan Strogin <steils@gentoo.org> | 2020-07-09 19:59:19 +0300 |
---|---|---|
committer | Stefan Strogin <steils@gentoo.org> | 2020-07-09 20:15:07 +0300 |
commit | d97cbc467b730962c3b93c46f5222d6ae42c1b2b (patch) | |
tree | ca365292e57bb71493b3b0db23905f0d741f004a /www-client | |
parent | app-text/calibre: 4.9.1-r3 revbump for bug 731786 (diff) | |
download | gentoo-d97cbc467b730962c3b93c46f5222d6ae42c1b2b.tar.gz gentoo-d97cbc467b730962c3b93c46f5222d6ae42c1b2b.tar.bz2 gentoo-d97cbc467b730962c3b93c46f5222d6ae42c1b2b.zip |
www-client/qutebrowser: upgrade to 1.13.0
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/qutebrowser/Manifest | 1 | ||||
-rw-r--r-- | www-client/qutebrowser/qutebrowser-1.13.0.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index bb7c20a1cf81..61af532234de 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,2 +1,3 @@ DIST qutebrowser-1.11.1.tar.gz 6789139 BLAKE2B 0f13c30a629a7ce6339a8506f1a16bbe6123fd28de9ada2f8105a2434d8493549aa79e5d42e7b871dc25e23866b36ecbb712ddfdfc4db139b2a6ee712f8aeb4a SHA512 56f18bc4d9a64e37f73a6ea69953c1a6a06d88c033c2484528b19475616c3229c2aa75f4fbf27668aef7a08358491eb27b3d8e16049021478ba8b4be7433f61f DIST qutebrowser-1.12.0.tar.gz 3979851 BLAKE2B 1a55c8b10aea5b618c0aa730828a123b127f1185d4e3f57b48f5c741c1bd5600e92b5e1bd48a1d3df94449eec650bb6f0d8b84a0c1f6f5ece045a6a0bce5583f SHA512 a8d979310f7c00a64b8cf976529def09b9a42542c80dd7055e2a38a174d9ef51834de6e816739911454a73ad9cc79a7d3e1fcda7d76bade463bc253aeb9ef608 +DIST qutebrowser-1.13.0.tar.gz 4015550 BLAKE2B cc2f2779ca994da48e85156d5bba0a70f6f5380bc6c362e05944a2454e22ee99acf15875def448675ea86af8a919290dfaca5abf97ee5603e6c2b0d2ed41fabb SHA512 ee598db9416e4efcf5d8bc6aaa3d373637ed67f181e67e56c04fd7f2c12ebaf185f67a9463fff195d74ff7a239ce0a88c24bf35d3ad627116e2fa5ebed973d3d diff --git a/www-client/qutebrowser/qutebrowser-1.13.0.ebuild b/www-client/qutebrowser/qutebrowser-1.13.0.ebuild new file mode 100644 index 000000000000..aa75aa620455 --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-1.13.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +DISTUTILS_USE_SETUPTOOLS="rdepend" + +inherit desktop distutils-r1 eutils xdg-utils + +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" +HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="scripts test" + +BDEPEND=" + app-text/asciidoc" +RDEPEND=" + >=dev-python/attrs-19.3.0[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/cssutils-1.0.2[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.2[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.6.1[${PYTHON_USEDEP}] + >=dev-python/pypeg2-2.15.2[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.14.1[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] + >=dev-python/PyQtWebEngine-5.14.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP},libyaml] +" + +distutils_enable_tests setup.py + +# 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() { + a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" +} + +python_install_all() { + doman doc/${PN}.1 + domenu misc/org.${PN}.${PN}.desktop + doicon -s scalable icons/${PN}.svg + + if use scripts; then + # Install only those userscripts that have an explicit license header + exeinto /usr/share/qutebrowser/userscripts/ + doexe misc/userscripts/dmenu_qutebrowser + doexe misc/userscripts/openfeeds + doexe misc/userscripts/qute-keepass + doexe misc/userscripts/qute-pass + doexe misc/userscripts/rss + doexe misc/userscripts/tor_identity + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "PDF display support" www-plugins/pdfjs + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} |