summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-audioread/package.py
blob: b69f22b7205f310afbff56fee4d6e353d3e45396 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyAudioread(PythonPackage):
    """cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for
    Python."""

    homepage = "https://github.com/beetbox/audioread"
    url      = "https://pypi.io/packages/source/a/audioread/audioread-2.1.8.tar.gz"

    version('2.1.8', sha256='073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168')

    depends_on('py-setuptools', type='build')
    # the following does not seem to be used for building but is listed in
    # setup.py
    depends_on('py-pytest-runner', type='build')