From 5c1562f7c9cf75ba0cc0b34fc598dfb7e6d0c92e Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Sat, 14 Dec 2019 09:37:37 +0700 Subject: [PATCH] afew: correct dependencies and install manpage --- srcpkgs/afew/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/afew/template b/srcpkgs/afew/template index cd61321735b..2ec178b7dc3 100644 --- a/srcpkgs/afew/template +++ b/srcpkgs/afew/template @@ -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 " 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 }