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} pypy3 )
13 DESCRIPTION="Collection of various utilities for WSGI applications"
14 HOMEPAGE="http://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug"
15 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
19 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
21 RESTRICT="!test? ( test )"
23 RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
25 dev-python/setuptools[${PYTHON_USEDEP}]
27 dev-python/requests[${PYTHON_USEDEP}]
28 dev-python/pytest[${PYTHON_USEDEP}]
29 dev-python/pytest-xprocess[${PYTHON_USEDEP}]
32 S="${WORKDIR}/${MY_P}"
35 distutils-r1_python_compile
39 pytest -vv tests || die "Tests failed under ${EPYTHON}"