void-packages/srcpkgs/alot/template

28 lines
873 B
Bash

# Template file for 'alot'
pkgname=alot
version=0.10
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-Sphinx python3-notmuch2 python3-cffi"
depends="python3-setuptools python3-Twisted python3-notmuch2 python3-configobj
gpgme-python3 python3-magic python3-urwidtrees"
checkdepends="$depends gnupg2 procps-ng python3-pytest"
short_desc="Terminal-based mail user agent based on the notmuch mail indexer"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/pazz/alot"
distfiles="https://github.com/pazz/${pkgname}/archive/${version}.tar.gz"
checksum=71f382aa751fb90fde1a06a0a4ba43628ee6aa6d41b5cd53c8701fd7c5ab6e6e
do_check() {
pytest3 -k 'not test_no_spawn_no_stdin_attached'
}
post_build() {
make $makejobs -C docs man
}
post_install() {
vman docs/build/man/alot.1
}