diff options
author | Guillaume Seren <guillaumeseren@gmail.com> | 2019-12-04 10:52:41 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-12-10 19:25:27 +0200 |
commit | ad9a80d5da0ba9e4c3ae1a7e9da03f94ca99db45 (patch) | |
tree | 1f6809bea55c3fd9b329e8b972f22c6eaecd227c /www-client/qutebrowser | |
parent | www-client/qutebrowser: Add myself as maintainer + proxy-maint (diff) | |
download | gentoo-ad9a80d5da0ba9e4c3ae1a7e9da03f94ca99db45.tar.gz gentoo-ad9a80d5da0ba9e4c3ae1a7e9da03f94ca99db45.tar.bz2 gentoo-ad9a80d5da0ba9e4c3ae1a7e9da03f94ca99db45.zip |
www-client/qutebrowser: Add version bump 1.8.1
* Bump to EAPI=7
* Drop gnome2-utils to xdg-utils to update icon
Closes: https://bugs.gentoo.org/700372
Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client/qutebrowser')
-rw-r--r-- | www-client/qutebrowser/Manifest | 1 | ||||
-rw-r--r-- | www-client/qutebrowser/qutebrowser-1.8.1.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index 901c45e0b3e1..780e5b7a8f76 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,2 +1,3 @@ DIST qutebrowser-1.6.3.tar.gz 3582973 BLAKE2B 950f77612b5476a2026669890fe6568f2fc2e808cd2439aae47e3836b66424136269b639eef98599064c57f506b927ecb2391d8a8f48391f9a67c8e460cc9019 SHA512 6bb0a5d3d39b7ea0fdbf48fae6b70d4b2be7b7f065a9933b9933f11bcf6373798ea31c100808cd445b12fc163ad6c578b0eef723418c1d6e0c251c24f9cd089e DIST qutebrowser-1.7.0.tar.gz 3595849 BLAKE2B 5ace5f756550fe10a3bd09819a3d5562927ec55624dcdc05e8963abc0550d9eaadcc10436e9e36725e44b0eb16bc733ab00ed3ff78acb00ab52aeeec1068d79c SHA512 4f437a38748f6143a4c2f5d8f00588b33aebbf3c68129151dd00270cf3ff5da5e3ccda5022b1328d75c072b29c0fc0ce53ca7f7d414708c33e129f45abf35e28 +DIST qutebrowser-1.8.1.tar.gz 3605606 BLAKE2B 5f60de24738aa9cab88149193c6ce884c663edaed6e018ce56d582eac5489af2f889d8a8074949165e4302847dda61695039d95df4dc992516d3b4e42b2abe8e SHA512 5fff6a8590bb4fd26815984310e5ce57201eed9a4a1fb788594d70e64e00a666563851b376bbac78cb175d64ffbe34a032521db31ae389958fab796ee9c26c78 diff --git a/www-client/qutebrowser/qutebrowser-1.8.1.ebuild b/www-client/qutebrowser/qutebrowser-1.8.1.ebuild new file mode 100644 index 000000000000..384c7f0ad710 --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-1.8.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_5,3_6,3_7} ) + +inherit 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="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND=" + app-text/asciidoc + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND=" + 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.12[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) + <dev-python/PyQt5-5.12[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,webengine,widgets] + ) + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP},libyaml] +" + +# 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_test() { + py.test tests || die "Tests failed with ${EPYTHON}" +} + +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_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |