summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-rsatoolbox/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-rsatoolbox/package.py40
1 files changed, 20 insertions, 20 deletions
diff --git a/var/spack/repos/builtin/packages/py-rsatoolbox/package.py b/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
index a47cbb7bb2..19b170c4db 100644
--- a/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
+++ b/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
@@ -10,28 +10,28 @@ class PyRsatoolbox(PythonPackage):
"""Representational Similarity Analysis (RSA) in Python."""
homepage = "https://github.com/rsagroup/rsatoolbox"
- pypi = "rsatoolbox/rsatoolbox-0.0.3.tar.gz"
- git = "https://github.com/rsagroup/rsatoolbox.git"
+ 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')
+ version("main", branch="main")
+ version("0.0.4", sha256="84153fa4c686c95f3e83f2cb668b97b82b53dc2a565856db80aa5f8c96d09359")
+ version("0.0.3", sha256="9bf6e16d9feadc081f9daaaaab7ef38fc1cd64dd8ef0ccd9f74adb5fe6166649")
- depends_on('py-setuptools', type='build')
- depends_on('py-coverage', type=('build', 'run'))
- depends_on('py-numpy@1.21.2:', type=('build', 'run'))
- depends_on('py-scipy', type=('build', 'run'))
- depends_on('py-scikit-learn', type=('build', 'run'))
- depends_on('py-scikit-image', type=('build', 'run'))
- depends_on('py-tqdm', type=('build', 'run'))
- 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'))
+ depends_on("py-setuptools", type="build")
+ depends_on("py-coverage", type=("build", "run"))
+ depends_on("py-numpy@1.21.2:", type=("build", "run"))
+ depends_on("py-scipy", type=("build", "run"))
+ depends_on("py-scikit-learn", type=("build", "run"))
+ depends_on("py-scikit-image", type=("build", "run"))
+ depends_on("py-tqdm", type=("build", "run"))
+ 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')
+ @when("@:0.0.3")
def patch(self):
# tests are looking for a not existing requirements.txt file
- with working_dir('tests'):
- open('requirements.txt', 'a').close()
+ with working_dir("tests"):
+ open("requirements.txt", "a").close()