void-packages/srcpkgs/alot/template
Rien Maertens 2cb1268bf1 alot: update to 0.9
Closes: #21266
2020-05-04 07:35:36 +07:00

29 lines
869 B
Bash

# Template file for 'alot'
pkgname=alot
version=0.9
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools python3-Sphinx"
depends="python3-setuptools python3-Twisted notmuch-python3 python3-configobj
python3-gpg 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@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/pazz/alot"
distfiles="https://github.com/pazz/${pkgname}/archive/${version}.tar.gz"
checksum=64bfa2f550d775940348c93532bf5cbdde57b9fcec4bcf2447a72510d2add6cf
patch_args="-Np1"
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
}