1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/qutebrowser/APKBUILD

36 lines
1.2 KiB
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=qutebrowser
pkgver=2.3.0
pkgrel=0
pkgdesc="Keyboard-driven, vim-like browser based on PyQT5"
url="https://qutebrowser.org/"
# mips64, s390x, ppc64le and riscv64 blocked by qt5-qtwebengine
# armhf blocked by qt5-qtdeclarative -> py3-qt5
arch="noarch !armhf !s390x !ppc64le !mips64 !riscv64"
license="GPL-3.0-only"
depends="
py3-jinja2 py3-qt5 py3-yaml qt5-qtbase
qt5-qtwebengine qt5-qtbase-sqlite py3-qtwebengine
py3-sip-pyqt5 py3-adblock
"
makedepends="asciidoc py3-setuptools"
checkdepends="py3-pytest py3-pytest-benchmark py3-pytest-rerunfailures py3-pytest-mock py3-hypothesis"
subpackages="$pkgname-doc"
source="https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz"
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="1f0afc642fe68d4524fa0263f8f196429710f1ae0a27edb43748a688f1eadd3dc42af82da96715b78cbe19e6d0e6c1e9604a55d6c5deb7ebc5eba97b9bfa118f qutebrowser-2.3.0.tar.gz"