1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
10 DESCRIPTION="QR Code generator on top of PIL"
11 HOMEPAGE="https://pypi.org/project/qrcode/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="amd64 ~arm arm64 ~x86"
19 # - pillow and lxml for svg backend, set as hard deps
21 dev-python/six[${PYTHON_USEDEP}]
22 dev-python/lxml[${PYTHON_USEDEP}]
23 dev-python/pillow[${PYTHON_USEDEP}]"
25 dev-python/setuptools[${PYTHON_USEDEP}]
26 test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )"
28 distutils_enable_tests unittest
31 distutils-r1_src_install