diff --git a/packages/nest/package.py b/packages/nest/package.py index aa32a588983ca6033eb221f65206a64bc724e701..5eb8ec3fc4ff7d9d3598360994819c790c56c022 100644 --- a/packages/nest/package.py +++ b/packages/nest/package.py @@ -73,11 +73,11 @@ class Nest(CMakePackage): conflicts('~openmp', when='@:2.10.99', msg='Option only introduced for non-ancient versions.') - #depends_on('python@2.6:2.99', when='@:2.14+python', type=('build', 'run')) depends_on('python@2.6:2.99', when='@:2.15.99+python', type=('build', 'run')) depends_on('python@2.6:', when='@2.16:+python', type=('build', 'run')) depends_on('python@3.8:', when='@3:', type=('build', 'run')) depends_on('py-numpy@:1.16.99', when='@:2.14.99+python', type=('build', 'run')) + depends_on('py-numpy@:1.23.99', when='@:3.3', type=('build', 'run', 'test')) depends_on('py-numpy', when='+python', type=('build', 'run', 'test')) depends_on('py-pandas', when='@3:', type=('test')) depends_on('py-cython@0.19.2:', when='+python', type='build') diff --git a/packages/py-pyunicore/package.py b/packages/py-pyunicore/package.py new file mode 100644 index 0000000000000000000000000000000000000000..470f1e1c499471835d43f622096e2c5cbe29fd37 --- /dev/null +++ b/packages/py-pyunicore/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2023 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 PyPyunicore(PythonPackage): + """Python library for using the UNICORE REST API""" + + homepage = "https://github.com/HumanBrainProject/pyunicore" + pypi = "pyunicore/pyunicore-0.14.1.tar.gz" + + maintainers = ['bschulle', 'elmath'] + + version('0.14.1', sha256='7efd4784d55ef02c4da4431232b54505814666577165c0f320c922ed2b32af01') + version('0.14.0', sha256='8197aea4009ceb150bc4e341f660c942e424dca5025bc0253c8729328835a0c0') + version('0.12.0', sha256='a1d7a63528cb0065d5ad58a42bc00adcf48614e16c2337dd815c8ac4d81b60cb') + version('0.11.4', sha256='519b23a56103c1d8dd7d9a76029785dd89aa424de8bf9df345baf591f816553c') + version('0.11.3', sha256='bb5582107daff9ddb6444f35eff019791009f04927508c4c9ae918f22effb718') + + variant("fuse", default=False, description="Use the UFTP fuse driver") + variant("fs", default=False, description="Use UFTP with pyfilesystem") + variant("crypto", default=False, description="Create JWT tokens signed with keys") + + depends_on('py-setuptools', type='build') + depends_on('py-pyjwt@2.0:', type=('build', 'run')) + depends_on('py-requests@2.5:', type=('build', 'run')) + 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-pytest', type=('test')) diff --git a/spack.yaml b/spack.yaml index 3dd63b96c5c4e2b3472f89d2b9661bb835b4c61d..43f5ee016deba9ae4c79b984e60fc4be72362e0f 100644 --- a/spack.yaml +++ b/spack.yaml @@ -44,6 +44,7 @@ spack: - py-elephant@0.12.0 - py-frites@0.4.2 - py-snudda@1.4.0 + - py-pyunicore@0.14.1 - biobb-common@3.8.1 - biobb-gromacs@3.8.1 - apbs@3.4.0