New package: py-kaldiio (#28643)

* espnet first build with depends

* fixed flake8

* updated to lastest version and removed python dependency

* changed to pypi and version 2.17.2

* [py-kaldiio] depends on py-pytest-runner

* [py-kaldiio] updated copyright

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2022-01-29 13:52:23 -05:00 committed by GitHub
parent 813a0d9b19
commit c78a754e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# Copyright 2013-2022 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 PyKaldiio(PythonPackage):
"""A pure python module for reading and writing kaldi ark files"""
homepage = "https://github.com/nttcslab-sp/kaldiio"
pypi = "kaldiio/kaldiio-2.17.2.tar.gz"
version('2.17.2', sha256='51bc2d805ed5b15403501d410adcb2e79fe2bd7f5ef63c20b4ddb345c6a8de01')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-pytest-runner', type='build')