summaryrefslogtreecommitdiff
path: root/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-06 01:40:52 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-06 01:40:52 +0000
commitb74d043299d518b43845295f480864e35e79fb98 (patch)
treeab3d9f0b987c4fcc4df6549158960fd6b39d6b83 /dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild
parent79a07c40c6574f5548de684884bc4dfa8a18d46f (diff)
downloadbaldeagleos-repo-b74d043299d518b43845295f480864e35e79fb98.tar.gz
baldeagleos-repo-b74d043299d518b43845295f480864e35e79fb98.tar.xz
baldeagleos-repo-b74d043299d518b43845295f480864e35e79fb98.zip
Adding metadata
Diffstat (limited to 'dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild')
-rw-r--r--dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild38
1 files changed, 38 insertions, 0 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
new file mode 100644
index 000000000000..d047bd2f6890
--- /dev/null
+++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for FFmpeg with complex filtering support"
+HOMEPAGE="https://github.com/kkroening/ffmpeg-python"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kkroening/${PN}.git"
+else
+ SRC_URI="https://github.com/kkroening/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ dev-python/future[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ media-video/ffmpeg
+"
+BDEPEND="test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-_run.py-collections.patch
+ "${FILESDIR}"/${P}-setup.py-pytest-runner.patch
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc/src