void-packages/srcpkgs/afew/template

25 lines
733 B
Bash

# Template file for 'afew'
pkgname=afew
version=3.0.1
revision=6
build_style=python3-module
hostmakedepends="python3-setuptools_scm python3-Sphinx pkg-config"
depends="notmuch-python3 python3-dkimpy python3-chardet notmuch"
checkdepends="python3-pytest python3-freezegun $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=ce857fe1a3bc0982c1dac81aef66cacc148e4f9db06da720f869392af1c2ee72
post_build() {
mkdir -p build/sphinx/man
python3 -m sphinx -b man docs build/sphinx/man
}
post_install() {
vlicense LICENSE
vman build/sphinx/man/afew.1
}