From 2da7f40cbc87b034ba8e966d43d998429664557a Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Tue, 19 Apr 2022 12:10:10 -0400 Subject: [py-librosa] added version 0.9.1 and reformatted dependency list (#29544) --- .../repos/builtin/packages/py-librosa/package.py | 34 +++++++++++++++------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-librosa/package.py b/var/spack/repos/builtin/packages/py-librosa/package.py index 1052d33568..282c6a40aa 100644 --- a/var/spack/repos/builtin/packages/py-librosa/package.py +++ b/var/spack/repos/builtin/packages/py-librosa/package.py @@ -12,16 +12,30 @@ class PyLibrosa(PythonPackage): homepage = "https://github.com/librosa/librosa" pypi = "librosa/librosa-0.7.2.tar.gz" + version('0.9.1', sha256='7ed5d6e3f4546e5e3c2840691f9ddc56878f914a35a50060df5fca2b26d4b614') 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('python@3.6:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-setuptools', type='build') + depends_on('py-setuptools@48:', type='build', when='@0.9.1:') + depends_on('py-wheel@0.29:', type='build', when='@0.9.1:') + depends_on('py-audioread@2.0.0:', type=('build', 'run')) + depends_on('py-audioread@2.1.5:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-numpy@1.15.0:', type=('build', 'run')) + depends_on('py-numpy@1.17.0:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-scipy@1.0.0:', type=('build', 'run')) + depends_on('py-scipy@1.2.0:', type=('build', 'run'), when='@0.9.1:') depends_on('py-scikit-learn@0.14.0:0.18,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')) + depends_on('py-scikit-learn@0.19.1:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-joblib@0.12:', type=('build', 'run')) + depends_on('py-joblib@0.14:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-decorator@3.0.0:', type=('build', 'run')) + depends_on('py-decorator@4.0.10:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-six@1.3:', type=('build', 'run'), when='@0.7.2') + depends_on('py-resampy@0.2.2:', type=('build', 'run')) + depends_on('py-numba@0.43.0:', type=('build', 'run')) + depends_on('py-numba@0.45.1:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-soundfile@0.9.0:', type=('build', 'run')) + depends_on('py-soundfile@0.10.2:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-pooch@1:', type=('build', 'run'), when='@0.9.1:') + depends_on('py-packaging@20:', type=('build', 'run'), when='@0.9.1:') -- cgit v1.2.3-70-g09d2