1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{5,6}} )
9 DESCRIPTION="Python based FIDO 2.0 library"
10 HOMEPAGE="https://github.com/Yubico/python-fido2"
11 SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz"
13 LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
15 KEYWORDS="~amd64 ~x86"
19 dev-python/six[${PYTHON_USEDEP}]
20 dev-python/cryptography[${PYTHON_USEDEP}]
21 dev-python/pyscard[${PYTHON_USEDEP}]
22 $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
24 dev-python/flask[${PYTHON_USEDEP}]
25 dev-python/pyopenssl[${PYTHON_USEDEP}]
29 dev-python/setuptools[${PYTHON_USEDEP}]
32 dev-python/mock[${PYTHON_USEDEP}]
33 >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}]
41 python_install_all() {
42 distutils-r1_python_install_all
46 dodoc -r "${S}"/examples/.
47 docompress -x "/usr/share/doc/${PF}/examples"