py-rsatoolbox: add 0.0.4 (#31785)
This commit is contained in:
parent
9ec05f045f
commit
fc4d74b132
2 changed files with 24 additions and 0 deletions
18
var/spack/repos/builtin/packages/py-petname/package.py
Normal file
18
var/spack/repos/builtin/packages/py-petname/package.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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.package import *
|
||||
|
||||
|
||||
class PyPetname(PythonPackage):
|
||||
"""Generate human-readable, random object names."""
|
||||
|
||||
homepage = "https://launchpad.net/python-petname"
|
||||
pypi = "petname/petname-2.6.tar.gz"
|
||||
|
||||
version('2.6', sha256='981c31ef772356a373640d1bb7c67c102e0159eda14578c67a1c99d5b34c9e4c')
|
||||
version('2.2', sha256='be1da50a6aa01e39840e9a4b79b527a333b256733cb681f52669c08df7819ace')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
|
@ -11,7 +11,10 @@ class PyRsatoolbox(PythonPackage):
|
|||
|
||||
homepage = "https://github.com/rsagroup/rsatoolbox"
|
||||
pypi = "rsatoolbox/rsatoolbox-0.0.3.tar.gz"
|
||||
git = "https://github.com/rsagroup/rsatoolbox.git"
|
||||
|
||||
version('main', branch='main')
|
||||
version('0.0.4', sha256='84153fa4c686c95f3e83f2cb668b97b82b53dc2a565856db80aa5f8c96d09359')
|
||||
version('0.0.3', sha256='9bf6e16d9feadc081f9daaaaab7ef38fc1cd64dd8ef0ccd9f74adb5fe6166649')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
|
@ -24,7 +27,10 @@ class PyRsatoolbox(PythonPackage):
|
|||
depends_on('py-h5py', type=('build', 'run'))
|
||||
depends_on('py-matplotlib', type=('build', 'run'))
|
||||
depends_on('py-joblib', type=('build', 'run'))
|
||||
depends_on('py-petname@2.2', when='@0.0.4:', type=('build', 'run'))
|
||||
depends_on('py-pandas', when='@0.0.4:', type=('build', 'run'))
|
||||
|
||||
@when('@:0.0.3')
|
||||
def patch(self):
|
||||
# tests are looking for a not existing requirements.txt file
|
||||
with working_dir('tests'):
|
||||
|
|
Loading…
Reference in a new issue