1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
10 DESCRIPTION="Testing library to create mocks, stubs and fakes"
11 HOMEPAGE="http://flexmock.readthedocs.org/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
18 RESTRICT="!test? ( test )"
22 dev-python/pytest[${PYTHON_USEDEP}]
27 python_install_all() {
28 distutils-r1_python_install_all
33 pytest -vv tests || die "pytest failed"