
* New package: py-librosa This PR adds the py-librosa package, along with new dependency packages and some updates of existing dependency packages. - new package: py-audioread - new package: py-resampy - new package: py-soundfile - update package: py-numba - update package: py-llvmlite py-numba: - add updated version - adjust constraints py-llvmlite: - add updated version - adjust constraints - fix version specifications for llvm - add environment function to set PIC * Update var/spack/repos/builtin/packages/py-numba/package.py Ah, yes, I see that `setuptools` is listed in the `install_requires` array. I missed that before. Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Fix dependency - Add dependency of py-soundfile depends on libsndfile - Add new libsndfile package * Add py-pytest-runner build dep * Make numpy a variant for py-soundfile Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
28 lines
1.2 KiB
Python
28 lines
1.2 KiB
Python
# 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 PyLibrosa(PythonPackage):
|
|
"""A python package for music and audio analysis."""
|
|
|
|
homepage = "http://github.com/librosa/librosa"
|
|
url = "https://pypi.io/packages/source/l/librosa/librosa-0.7.2.tar.gz"
|
|
|
|
version('0.7.2', sha256='656bbda80e98e6330db1ead79cd084b13a762284834d7603fcf7cf7c0dc65f3c')
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-audioread@2.0.0:', type=('build', 'run'))
|
|
depends_on('py-numpy@1.15.0:', type=('build', 'run'))
|
|
depends_on('py-scipy@1.0.0:', type=('build', 'run'))
|
|
depends_on('py-scikit-learn@0.14.0:0.18.999,0.19.1:', type=('build', 'run'))
|
|
depends_on('py-joblib@0.12:', type=('build', 'run'))
|
|
depends_on('py-decorator@3.0.0:', type=('build', 'run'))
|
|
depends_on('py-six@1.3:', type=('build', 'run'))
|
|
depends_on('py-resampy@0.2.2:', type=('build', 'run'))
|
|
depends_on('py-numba@0.43.0:', type=('build', 'run'))
|
|
depends_on('py-soundfile@0.9.0:', type=('build', 'run'))
|