1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DISTUTILS_SINGLE_IMPL=1
7 PYTHON_COMPAT=( python{3_6,3_7} )
11 DESCRIPTION="Initial tagging script for Notmuch"
12 HOMEPAGE="https://github.com/afewmail/afew"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
21 $(python_gen_cond_dep '
22 dev-python/chardet[${PYTHON_MULTI_USEDEP}]
23 dev-python/dkimpy[${PYTHON_MULTI_USEDEP}]
24 net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}]
31 -e "s/^([[:space:]]+)use_scm_version=.*,$/\1version='${PV}',/" \
32 -e "/^([[:space:]]+)setup_requires=.*,$/d" \
34 distutils-r1_src_prepare
38 distutils-r1_src_install
39 dodoc afew/defaults/afew.config