afew: correct dependencies and install manpage

This commit is contained in:
Doan Tran Cong Danh 2019-12-14 09:37:37 +07:00 committed by Piotr
parent 091ab0b612
commit 5c1562f7c9

View file

@ -1,12 +1,13 @@
# Template file for 'afew'
pkgname=afew
version=2.0.0
revision=1
revision=2
archs=noarch
build_style=python3-module
pycompile_module="afew"
hostmakedepends="git python3-setuptools python3-Sphinx pkg-config"
depends="python3-setuptools notmuch-python3 python3-dkimpy"
hostmakedepends="python3-setuptools python3-Sphinx pkg-config"
depends="notmuch-python3 python3-dkimpy python3-chardet"
checkdepends="python3-pytest $depends"
short_desc="Initial tagging script for notmuch mail"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="ISC"
@ -14,6 +15,11 @@ homepage="https://github.com/afewmail/afew"
distfiles="${PYPI_SITE}/a/afew/afew-${version}.tar.gz"
checksum=1a685b97ddeba66d4af5ee9b2b76b1a8bccccd3d10bc285c8b82886a0328c048
post_build() {
python3 setup.py build_sphinx -b man
}
post_install() {
vlicense LICENSE
vman build/sphinx/man/afew.1
}