spack/var/spack/repos/builtin/packages/py-speech-recognition/package.py
2021-08-09 10:31:21 +02:00

20 lines
743 B
Python

# 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 PySpeechRecognition(PythonPackage):
"""Library for performing speech recognition, with support
for several engines and APIs, online and offline."""
homepage = "https://github.com/Uberi/speech_recognition"
url = "https://github.com/Uberi/speech_recognition/archive/refs/tags/3.8.1.tar.gz"
version('3.8.1', sha256='82d3313db383409ddaf3e42625fb0c3518231a1feb5e2ed5473b10b3d5ece7bd')
depends_on('python@2.6:2.999,3.3:', type=('build', 'run'))
depends_on('py-setuptools', type='build')