New package: py-moviepy (#20751)

* [py-moviepy] created template

* [py-moviepy] added dependencies

* [py-moviepy] removed fixmes, added homepage and description

* [py-moviepy] updated to pypi and updated checksum

* [py-moviepy] added setuptools dependency

* [py-moviepy] more specific version limit

* [py-moviepy] added checksum for version 1.0.1

* [py-moviepy] numpy restriction not nesessary here
This commit is contained in:
Jen Herting 2021-02-09 18:18:51 -05:00 committed by GitHub
parent 32056da93b
commit a938cc512b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,31 @@
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyMoviepy(PythonPackage):
"""MoviePy is a Python module for video editing, which can
be used for basic operations (like cuts, concatenations,
title insertions), video compositing (a.k.a. non-linear
editing), video processing, or to create advanced effects.
It can read and write the most common video formats,
including GIF."""
homepage = "https://zulko.github.io/moviepy/"
pypi = "moviepy/moviepy-1.0.3.tar.gz"
version('1.0.3', sha256='2884e35d1788077db3ff89e763c5ba7bfddbd7ae9108c9bc809e7ba58fa433f5')
version('1.0.1', sha256='9d5b0a0e884c0eb92c431baa110e560059720aab15d2ef3e4cba3892c34cf1ed')
depends_on('py-setuptools', type='build')
depends_on('py-decorator@4.0.2:4.9999', type=('build', 'run'))
depends_on('py-imageio@2.5:2.9999', when='^python@3.4:', type=('build', 'run'))
depends_on('py-imageio@2.0:2.4.9999', when='^python@:3.3.9999', type=('build', 'run'))
depends_on('py-imageio-ffmpeg@0.2.0:', when='^python@3.4:', type=('build', 'run'))
depends_on('py-tqdm@4.11.2:4.9999', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-requests@2.8.1:2.99999', type=('build', 'run'))
depends_on('py-proglog@:1.0.0', type=('build', 'run'))