summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-moviepy/package.py
blob: 5746a6a5d11106d0409e68311edf838ce3abc743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2021 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'))