diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-20 15:05:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-20 15:40:55 +0200 |
commit | f305a79895a72ae46d9586f22e8136a0389b922d (patch) | |
tree | ef3fe8dd3040e89671fc1e97102eff3292919672 /dev-python/aiohttp-cors | |
parent | dev-python/pytest-pylint: Add pkg needed for aiohttp-cors tests (diff) | |
download | gentoo-f305a79895a72ae46d9586f22e8136a0389b922d.tar.gz gentoo-f305a79895a72ae46d9586f22e8136a0389b922d.tar.bz2 gentoo-f305a79895a72ae46d9586f22e8136a0389b922d.zip |
dev-python/aiohttp-cors: Enable the test suites
Diffstat (limited to 'dev-python/aiohttp-cors')
-rw-r--r-- | dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild index ac83939cdff9..82ce007da479 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.5.0.ebuild @@ -15,8 +15,20 @@ EGIT_REPO_URI="https://github.com/aio-libs/aiohttp-cors" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -RESTRICT="test" +IUSE="test" -DEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' python3_4)" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-pylint[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + )" + +python_test() { + esetup.py test +} |