void-packages/srcpkgs/afew/template
Đoàn Trần Công Danh 972833f23f afew: update to 3.0.0.
2020-07-29 21:50:14 +07:00

29 lines
795 B
Bash

# Template file for 'afew'
pkgname=afew
version=3.0.0
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools 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=ec60b8587ffb286da8c5831e5da0378b8df3642a5164e667665453c8beef43a2
post_patch() {
# version is pre-generated
vsed -i -e "s/'setuptools_scm'//" setup.py
}
post_build() {
python3 setup.py build_sphinx -b man
}
post_install() {
vlicense LICENSE
vman build/sphinx/man/afew.1
}