From adc1bbf9f4f43b40b68a955446aeffdd14f8f7d0 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 25 Mar 2019 21:26:44 +0000 Subject: [PATCH] www-client/qutebrowser: Bump to 1.6.1 Package-Manager: Portage-2.3.62, Repoman-2.3.12 --- www-client/qutebrowser/Manifest | 16 +--- .../qutebrowser/qutebrowser-1.6.1.ebuild | 84 +++++++++++++++++++ 2 files changed, 86 insertions(+), 14 deletions(-) create mode 100644 www-client/qutebrowser/qutebrowser-1.6.1.ebuild diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index fcb5258..7e4fb2e 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,17 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST qutebrowser-1.6.0.tar.gz 3638739 BLAKE2B 8ca5995b9126fa7e017e3f2924c07c01b2d90540e0521d74cdba4ce8f2f83d1c7e8f0dc412ff41936c3a36c17d53060c331ed069d8088ac11b772979a48c7b0d SHA512 54b275f0d00ef48fa88a0bc83f31efd0d1fe708d7223adcf83c9d1a5db60de8e9c77033b8bf4b2b9a526d11ce39941d5d9da8afe9f49f3ed06e6f6f7ef124c20 +DIST qutebrowser-1.6.1.tar.gz 3657215 BLAKE2B da8f4e725a6547b45993bf59b1128aa475656afa4b543a0edc2233bbcb1067a3159f791fd90028008f68cbd7389ae33deeecc158408e27f57b2ae35ca334ea20 SHA512 ff8c50dd8524f6f8623f0d5ae205355a2b86f70eff1320c3b47dad9cb2a481c372d82f698497c0d2745291962999ff111fade14141a8390e337343fb01145998 EBUILD qutebrowser-1.6.0.ebuild 2403 BLAKE2B 7efa9d2374048f37564329e2ca7294580af39f629ca7eec9c7faaba0fa41b4bab4be026e9b238e5bd1dab4092495ef2a62c3b9ebaf9a88419cd4ad27418b7f9c SHA512 669b18765d37f4cbb5672e36d59e48c39b4a1f4d6cf3b40547077d5044d194a609614887e7c68f240649f95cf6d70f3510750a3c6e9d835658532336a70b960c +EBUILD qutebrowser-1.6.1.ebuild 2403 BLAKE2B 7efa9d2374048f37564329e2ca7294580af39f629ca7eec9c7faaba0fa41b4bab4be026e9b238e5bd1dab4092495ef2a62c3b9ebaf9a88419cd4ad27418b7f9c SHA512 669b18765d37f4cbb5672e36d59e48c39b4a1f4d6cf3b40547077d5044d194a609614887e7c68f240649f95cf6d70f3510750a3c6e9d835658532336a70b960c MISC metadata.xml 589 BLAKE2B 40485aca150508671b8b7fd65567c25abb73617b1f9d0d981c6ec9579b563904fefe5828e819276bb2c6e2c19883574334ffce0be7b047ad182bf3cdcadb70ea SHA512 e042cd2ad99080de919fce9f26a09cd6b1dd779cf2d2c8c26f8b214845635efc90e96e41acc025875ad7f8473ef750638ce4bf2f1ac3eeca6f7f762a44062ec0 ------BEGIN PGP SIGNATURE----- - -iQEzBAEBCAAdFiEETdUSO77k6gzTbgmzTCaO99ou320FAlyPwy4ACgkQTCaO99ou -321YHggAjjn8kgaz5MSqhF4R5W1ug+n4wrcknMD8V5Cb+HDbfEipHxWDtiaTk0HF -thSTqj4VBB3lHGlleqdpa4uLbSi66CHLCHXej379naJ0kLXkc5QqP4Wrd/f7BvHS -plhgnmidaVzbXL4bLBCdYrPN4i90eA2pQ14xyr+B1IEv55D5gLzfud8FTe3h6d3G -WK62wj6vC2uWOs7BY5d2bUT6uKF2SoRWcBeNbMTLiMPP5biFzOeYr0AnckhQ6OwA -hQFCqk2ZqoiqHiON/aW8l+tAAYOSxg4wVIzK7kNa5isZSVLT1+4McivrVjg1Kjmv -kN1Y6jUCb+3EZILb5/yxFKn4v6Kozw== -=2H6J ------END PGP SIGNATURE----- diff --git a/www-client/qutebrowser/qutebrowser-1.6.1.ebuild b/www-client/qutebrowser/qutebrowser-1.6.1.ebuild new file mode 100644 index 0000000..43774ed --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-1.6.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# 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="scripts 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.12_pre[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] + >=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP},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() { + 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 + + 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 +} -- 2.46.2