From 6dce5defebac1d7e67e9e53775c20deefef68361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 24 Jul 2020 06:33:18 +0200 Subject: [PATCH] dev-python/ffmpeg-python: remove pytest-runner dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Barć --- dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild | 8 ++++++-- dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) 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 +}