void-packages/srcpkgs/alot/template
Đoàn Trần Công Danh b401bed252 alot: drop noarch
2020-09-12 21:02:03 +07:00

28 lines
859 B
Bash

# Template file for 'alot'
pkgname=alot
version=0.9.1
revision=2
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@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=ee2c1ab1b43d022a8fe2078820ed57d8d72aec260a7d750776dac4ee841d1de4
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
}