dev-python/moviepy - 2.2.1 (nest)

Search

Package Information

Description:
Video editing with Python
Homepage:
https://github.com/Zulko/moviepy
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.2.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12,13} )
PYTHON_REQ_USE="threads(+)"

inherit distutils-r1 optfeature pypi

DESCRIPTION="Video editing with Python"
HOMEPAGE="https://github.com/Zulko/moviepy"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # no data for tests

RDEPEND="dev-python/decorator[${PYTHON_USEDEP}]
	dev-python/imageio[${PYTHON_USEDEP}]
	dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/pillow[truetype,${PYTHON_USEDEP}]
	dev-python/proglog[${PYTHON_USEDEP}]
	dev-python/python-dotenv[${PYTHON_USEDEP}]"
BDEPEND="test? ( media-gfx/imagemagick
		media-video/ffmpeg[lame,vorbis,vpx,x264] )"

distutils_enable_tests pytest

pkg_postinst() {
	optfeature "support incorporate texts" media-gfx/imagemagick
	optfeature "support video and sound previews" dev-python/pygame
	optfeature "support resize video clips" dev-python/scipy
	optfeature "support advanced image manipulation" dev-python/scikit-image
	optfeature "support plotting" dev-python/matplotlib
}

Dependencies

RDEPEND

dev-python/decorator[${PYTHON_USEDEP}]
	dev-python/imageio[${PYTHON_USEDEP}]
	dev-python/imageio-ffmpeg[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/pillow[truetype,${PYTHON_USEDEP}]
	dev-python/proglog[${PYTHON_USEDEP}]
	dev-python/python-dotenv[${PYTHON_USEDEP}]

BDEPEND

test? ( media-gfx/imagemagick
		media-video/ffmpeg[lame,vorbis,vpx,x264] )