diff options
Diffstat (limited to 'www-client/qutebrowser')
-rw-r--r-- | www-client/qutebrowser/Manifest | 2 | ||||
-rw-r--r-- | www-client/qutebrowser/qutebrowser-9999.ebuild | 55 |
2 files changed, 37 insertions, 20 deletions
diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index 6aa1bdcb13d5..baac8508741f 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -2,5 +2,5 @@ DIST qutebrowser-1.14.0.tar.gz 4144761 BLAKE2B cc220990c119904c18932b7f240e428fd DIST qutebrowser-1.14.1.tar.gz 4161759 BLAKE2B 5ea4d032cb8137af1ac9add9fe85b7dc0b8d9c78c838bd91b09444035f3e433d7cfd75672fbaafc1eceb2a0e1bac8f54b8419a7ff0d7c3b272d588818194a260 SHA512 2902b1f320c80601195f0a87b4cd1ce6dac7e79df82df692b08d00f1f0be449fcc7d7a855f4fc2cc5773f3b2142f508b0dfc6612778c416401f1117acc081de8 EBUILD qutebrowser-1.14.0.ebuild 2656 BLAKE2B 2d6f001242e06437e6cdb3001c4c30091e3adc07bebee2b729e063e5332629298d51d3646cccde0e3b89f1d908e976d1ef94bc59441dc4952e55085da091440f SHA512 81a4f618a7363656ee3ed85dc5316cee186021b9dbbaaf2c760cf08d037bda50bec2908ba7973ad69a3e61fe6018f35c606b182abf4aed929795f4059dc3a295 EBUILD qutebrowser-1.14.1.ebuild 2654 BLAKE2B ef3bd2f9899eafebc61d19a1d42a357db739fdb54d2f00330af48be3ea92427b2d9d1fe074c44c89ef4a469303dfed3bfdf12f3601eadf2adb6d494a27528a90 SHA512 029619a68816493e95917f62657ec2bd620e3e1ebaab32d06f45aef4a70d2dd89c5a8f7f4ba791a361e2c1a9576c657920b743b6cdf6391ee882f32ad10883da -EBUILD qutebrowser-9999.ebuild 2242 BLAKE2B c8b913de044487f488e73ebfc4ad0e10a46c3a3529a0662ed2c5118dca1cacc740141202cf3272aaa21e68677a53014fe0bd3d1fc7d1e32b0c580dbb0eb56d4a SHA512 38c4f82eef0ca34f60d2279daea2a9755de1228d3b3b12d03d916155dbb3ecf31482f10fb2f958dd411e76252fe2720e3c0b1f63f8741d0e568e2a4d2e84ce1c +EBUILD qutebrowser-9999.ebuild 2941 BLAKE2B dee8c19bf858809a1e5cde8afa8d4398c5c37bae0b55874b479d6724f08a931e952e98240e4d46db883029dd3f8cfb4a70f934f14aa38413ad0b6d436f1c0578 SHA512 63804c31cb48ce5d857d7833d15277fad73fe95b294a2de7379294380980707a56ddcbe92c1841383cb97b6d94451406c7955a87459d52d1d3dad8c056ed04d4 MISC metadata.xml 712 BLAKE2B 1ecb84f337927d3b9fa2f827a2296457322823c647ee033d803ae044f6d7bc6045d8e811e3c28024c45130ef3273f223605b8d604fe3da4e47751d9e0a9b2bcc SHA512 4e0ce844dd53b7beb6da2baab54adedaddf2bd075eac4904da20d9aeef0f75007a4e53cf3fe2954462c5f7e717cf7008fc6b878402fa787549766e9175e2d056 diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild b/www-client/qutebrowser/qutebrowser-9999.ebuild index a1932f04f051..255fa35da86c 100644 --- a/www-client/qutebrowser/qutebrowser-9999.ebuild +++ b/www-client/qutebrowser/qutebrowser-9999.ebuild @@ -1,23 +1,16 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS="rdepend" -inherit desktop distutils-r1 optfeature 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 +inherit desktop distutils-r1 git-r3 optfeature xdg-utils DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" +EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" LICENSE="GPL-3" SLOT="0" @@ -29,9 +22,10 @@ RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] dev-python/colorama[${PYTHON_USEDEP}] dev-python/cssutils[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_{7,8}) dev-python/jinja[${PYTHON_USEDEP}] dev-python/markupsafe[${PYTHON_USEDEP}] - >=dev-python/pygments-2.6.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] dev-python/pypeg2[${PYTHON_USEDEP}] dev-python/PyQt5[${PYTHON_USEDEP},declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] dev-python/PyQtWebEngine[${PYTHON_USEDEP}] @@ -44,6 +38,11 @@ distutils_enable_tests setup.py # isn't complete and X11 is required in order to start up qutebrowser. RESTRICT="test" +python_compile() { + ${EPYTHON} scripts/asciidoc2html.py || die + distutils-r1_python_compile +} + python_compile_all() { a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" } @@ -54,14 +53,32 @@ python_install_all() { doicon -s scalable icons/${PN}.svg if use scripts; then - # Install only those userscripts that have an explicit license header + insinto /usr/share/qutebrowser/userscripts/ + doins misc/userscripts/README.md 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 + doexe misc/userscripts/add-nextcloud-bookmarks \ + misc/userscripts/add-nextcloud-cookbook \ + misc/userscripts/cast \ + misc/userscripts/dmenu_qutebrowser \ + misc/userscripts/format_json \ + misc/userscripts/getbib \ + misc/userscripts/kodi \ + misc/userscripts/open_download \ + misc/userscripts/openfeeds \ + misc/userscripts/password_fill \ + misc/userscripts/qr \ + misc/userscripts/qute-bitwarden \ + misc/userscripts/qutedmenu \ + misc/userscripts/qute-keepass \ + misc/userscripts/qute-lastpass \ + misc/userscripts/qute-pass \ + misc/userscripts/readability \ + misc/userscripts/readability-js \ + misc/userscripts/ripbang \ + misc/userscripts/rss \ + misc/userscripts/taskadd \ + misc/userscripts/tor_identity \ + misc/userscripts/view_in_mpv fi distutils-r1_python_install_all |