dev-python/black: Add dependencies required for tests

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Michael Egger <michael.egger@tsn.at>
This commit is contained in:
Michael Egger
2020-03-15 13:51:35 +01:00
parent 2e64f1a6c3
commit c7399c3afb

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -18,9 +18,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="!test? ( test )"
# tests fail: name 'AioHTTPTestCase' is not defined
RESTRICT="test"
DEPEND="
test? (
>=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
)
"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]