1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
9 DESCRIPTION="CFFI bindings to the Argon2 password hashing library"
10 HOMEPAGE="https://github.com/hynek/argon2-cffi"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
19 dev-python/six[${PYTHON_USEDEP}]
20 virtual/python-cffi[${PYTHON_USEDEP}]
21 virtual/python-enum34[${PYTHON_USEDEP}]
23 RDEPEND="${COMMON_DEPEND}"
24 DEPEND="${COMMON_DEPEND}
25 dev-python/setuptools[${PYTHON_USEDEP}]
27 dev-python/hypothesis[${PYTHON_USEDEP}]
31 DOCS=( AUTHORS.rst CHANGELOG.rst FAQ.rst README.rst )
33 distutils_enable_sphinx docs
34 distutils_enable_tests pytest
36 python_configure_all() {
37 export ARGON2_CFFI_USE_SYSTEM=1