From b5d1f411eeef6597380f8ba6c3e6aae4f29c1f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 10 May 2020 22:44:22 +0200 Subject: [PATCH] dev-python/ffmpeg-python: fix docs and tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Maciej Barć --- .../ffmpeg-python/ffmpeg-python-0.2.0.ebuild | 22 ++++++++----------- .../ffmpeg-python/ffmpeg-python-9999.ebuild | 22 ++++++++----------- 2 files changed, 18 insertions(+), 26 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 0e14d3f..86d4c02 100644 --- a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild +++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 -DESCRIPTION="Python bindings for FFmpeg - with complex filtering support " +DESCRIPTION="Python bindings for FFmpeg with complex filtering support " HOMEPAGE="https://github.com/kkroening/ffmpeg-python" if [[ "${PV}" == *9999* ]]; then @@ -27,24 +27,20 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="doc test" -COMMON_DEPEND=" - dev-python/pytest-runner[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" DEPEND=" - ${COMMON_DEPEND} - doc? ( - >=dev-python/sphinx-2.4.4[${PYTHON_USEDEP}] - ) + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] test? ( >=dev-python/pytest-4.6.9[${PYTHON_USEDEP}] >=dev-python/pytest-mock-1.11.2[${PYTHON_USEDEP}] - >=dev-python/tox-3.12.1[${PYTHON_USEDEP}] ) " RDEPEND=" - ${COMMON_DEPEND} - >=dev-python/future-0.18.2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] + ${RDEPEND} media-video/ffmpeg " + +distutils_enable_tests pytest + +distutils_enable_sphinx doc/src diff --git a/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild index 0e14d3f..86d4c02 100644 --- a/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild +++ b/dev-python/ffmpeg-python/ffmpeg-python-9999.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 -DESCRIPTION="Python bindings for FFmpeg - with complex filtering support " +DESCRIPTION="Python bindings for FFmpeg with complex filtering support " HOMEPAGE="https://github.com/kkroening/ffmpeg-python" if [[ "${PV}" == *9999* ]]; then @@ -27,24 +27,20 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="doc test" -COMMON_DEPEND=" - dev-python/pytest-runner[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" DEPEND=" - ${COMMON_DEPEND} - doc? ( - >=dev-python/sphinx-2.4.4[${PYTHON_USEDEP}] - ) + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] test? ( >=dev-python/pytest-4.6.9[${PYTHON_USEDEP}] >=dev-python/pytest-mock-1.11.2[${PYTHON_USEDEP}] - >=dev-python/tox-3.12.1[${PYTHON_USEDEP}] ) " RDEPEND=" - ${COMMON_DEPEND} - >=dev-python/future-0.18.2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.16.5[${PYTHON_USEDEP}] + ${RDEPEND} media-video/ffmpeg " + +distutils_enable_tests pytest + +distutils_enable_sphinx doc/src