From 8cce9e2c01e6bf55cbe9580265a51c401c7678c9 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Mon, 15 Apr 2024 21:50:41 +0200
Subject: [PATCH] feat(py-unicore): add versions

---
 packages/py-pyunicore/package.py | 3 +++
 spack.yaml                       | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/py-pyunicore/package.py b/packages/py-pyunicore/package.py
index b5dd0351..2c9eea4b 100644
--- a/packages/py-pyunicore/package.py
+++ b/packages/py-pyunicore/package.py
@@ -14,6 +14,8 @@ class PyPyunicore(PythonPackage):
 
     maintainers = ['bschulle']
 
+    version('1.0.1', sha256='822cc372b2fa24fdd4626409f4a5f93cc77d2e30dbf1bc9e198e0b2c5b194a57')
+    version('1.0.0', sha256='dff3f6d78a66a90fdd95db3009fb0b6e1d39a3686687f4aeac5b4b1234b93783')
     version('0.15.0', sha256='dc57ef05b1681b20471e8a4a72067671f74b4d41601099fe80324293439175d5')
     version('0.14.1', sha256='7efd4784d55ef02c4da4431232b54505814666577165c0f320c922ed2b32af01')
     version('0.14.0', sha256='8197aea4009ceb150bc4e341f660c942e424dca5025bc0253c8729328835a0c0')
@@ -31,4 +33,5 @@ class PyPyunicore(PythonPackage):
     depends_on('py-fusepy@3.0.1:',       type=('build', 'run'), when='+fuse')
     depends_on('py-fs@2.4.0:',           type=('build', 'run'), when='+fs')
     depends_on('py-cryptography@3.3.1:', type=('build', 'run'), when='+crypto')
+    depends_on('py-bcrypt@4.0.0:',       type=('build', 'run'), when='@1.0.1:+crypto')
     depends_on('py-pytest',              type=('test'))
diff --git a/spack.yaml b/spack.yaml
index fd96f0d0..0d53466e 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -40,7 +40,7 @@ spack:
     - py-neurom@3.2.2
     - py-neuror@1.6.4
     - py-pynn@0.12.2 +mpi
-    - py-pyunicore@0.15.0
+    - py-pyunicore@1.0.1
     - py-quantities-scidash@0.12.4.3
     - py-quantities@0.15.0
     - py-siibra@1.0a9
-- 
GitLab