# Contributor: Leo # Maintainer: omni pkgname=qutebrowser pkgver=2.5.4 pkgrel=1 pkgdesc="Keyboard-driven, vim-like browser based on PyQT5" url="https://qutebrowser.org/" # s390x, ppc64le and riscv64 blocked by qt5-qtwebengine # armhf blocked by qt5-qtdeclarative -> py3-qt5 arch="noarch !armhf !s390x !ppc64le !riscv64" license="GPL-3.0-only" depends=" py3-adblock py3-jinja2 py3-pygments py3-pyqt5-sip py3-qt5 py3-qtwebengine py3-yaml qt5-qtbase qt5-qtbase-sqlite qt5-qtwebengine py3-tldextract " makedepends=" asciidoc py3-setuptools " checkdepends=" py3-hypothesis py3-pytest py3-pytest-benchmark py3-pytest-mock py3-pytest-rerunfailures " subpackages="$pkgname-doc $pkgname-pyc" source="https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz no-py-optimise.patch " options="!check" # missing pytest dependencies build() { a2x -f manpage doc/qutebrowser.1.asciidoc python3 setup.py build } check() { pytest } package() { make -f misc/Makefile DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums=" 1c500cda921a273dee14b1e0808786bbfd2ce53ea9b4d5114be9abdacbefa5d3c7580d2995ad0100f597b9bf54addf4c98dbd4b924d9e8d3d08fe30309e44c3e qutebrowser-2.5.4.tar.gz 8852263d21d0ab714a57d8fedcf8610d13790fe9eb1078bb1893066c8c099a7255f3d996fd14f9a6799c3a22f94c48c909e7c70f20a417872cdb04b73504b61d no-py-optimise.patch "