diff --git a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild index 86d4c02..090c654 100644 --- a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild +++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild @@ -30,9 +30,8 @@ IUSE="doc test" DEPEND=" >=dev-python/future-0.18.2[${PYTHON_USEDEP}] >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/wheel test? ( - >=dev-python/pytest-4.6.9[${PYTHON_USEDEP}] >=dev-python/pytest-mock-1.11.2[${PYTHON_USEDEP}] ) " @@ -44,3 +43,8 @@ RDEPEND=" distutils_enable_tests pytest distutils_enable_sphinx doc/src + +python_prepare_all() { + sed -i -e '/pytest-runner/d' setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild index 86d4c02..090c654 100644 --- a/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild +++ b/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild @@ -30,9 +30,8 @@ IUSE="doc test" DEPEND=" >=dev-python/future-0.18.2[${PYTHON_USEDEP}] >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/wheel test? ( - >=dev-python/pytest-4.6.9[${PYTHON_USEDEP}] >=dev-python/pytest-mock-1.11.2[${PYTHON_USEDEP}] ) " @@ -44,3 +43,8 @@ RDEPEND=" distutils_enable_tests pytest distutils_enable_sphinx doc/src + +python_prepare_all() { + sed -i -e '/pytest-runner/d' setup.py || die + distutils-r1_python_prepare_all +}