summaryrefslogtreecommitdiff
path: root/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-05 22:48:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-05 22:48:26 +0000
commite9505ab755d38bc1faa052626c18604e93712cb4 (patch)
tree50fbb077b9b14635faf772de38c4e477c8393b75 /dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
parent212696df79c7cea812cbadb970e13de3387bd645 (diff)
downloadbaldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.tar.gz
baldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.tar.xz
baldeagleos-repo-e9505ab755d38bc1faa052626c18604e93712cb4.zip
Adding metadata
Diffstat (limited to 'dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild')
-rw-r--r--dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
new file mode 100644
index 000000000000..994e5f0bc4cc
--- /dev/null
+++ b/dev-python/ffmpeg-python/ffmpeg-python-0.2.0_p20220711-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+[[ "${PV}" == *_p20220711 ]] && COMMIT=df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+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/${COMMIT}.tar.gz
+ -> ${P}.gh.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+
+ KEYWORDS="amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ media-video/ffmpeg
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.2.0-no-future-795.patch"
+ "${FILESDIR}/${PN}-0.2.0-collections.patch"
+)
+
+EPYTEST_DESELECT=(
+ ffmpeg/tests/test_ffmpeg.py::test__probe
+ ffmpeg/tests/test_ffmpeg.py::test_pipe
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc/src