void-packages/srcpkgs/afew/template

26 lines
703 B
Bash

# Template file for 'afew'
pkgname=afew
version=2.0.0
revision=4
archs=noarch
build_style=python3-module
pycompile_module="afew"
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"
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
}