Skip to content
Snippets Groups Projects
Commit e2939dce authored by Dennis Terhorst's avatar Dennis Terhorst :rocket:
Browse files

add dependencies of the multi-area-model workflow

parent 2b54d9f7
No related branches found
No related tags found
No related merge requests found
# 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)
# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install py-dicthash
#
# You can edit this file again by typing:
#
# spack edit py-dicthash
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------
from spack import *
class PyDicthash(PythonPackage):
"""Generate portable md5 hashes from (arbitrarily nested) dictionaries.
These dictionaries can contain arbitrary Python and NumPy data types. The
goal of the module is to provide a hash function that can be safely used
across different platforms. Its main use is to generate unique identifiers
for parameter dictionaries used in parameter scans of neural network
simulations.
"""
homepage = "https://python-dicthash.readthedocs.io"
pypi = "dicthash/dicthash-0.0.2.tar.gz"
git = "https://github.com/Happy-Algorithms-League/python-dicthash"
maintainers = ['terhorstd', 'jakobj']
version('0.0.2', sha256='30b71bd64101295053b082b3244870e6ca7dca561bdb8f3776c42c8c40cb4af4')
depends_on('py-setuptools', type='build')
# 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)
# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install py-nesteddict
#
# You can edit this file again by typing:
#
# spack edit py-nesteddict
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------
from spack import *
class PyNesteddict(PythonPackage):
"""A Python class that subclasses dict to allow dicts that allow dotted key
access e.g, dict["a.b.c']=7"""
homepage = "https://github.com/jdrumgoole/nesteddict"
pypi = "nesteddict/nesteddict-0.1.3.tar.gz"
# FIXME: Add a list of GitHub accounts to
# notify when the package is updated.
# maintainers = ['github_user1', 'github_user2']
version('0.1.3', sha256='07e5f59684df992559e6f25210edec8f5bc1cfc7114d9332d690f30fc1e49f47')
depends_on('py-setuptools', type='build')
# 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 import *
class WfMultiAreaModel(BundlePackage):
"""Meta-package to collect all dependencies of the Multi-Area-Model."""
homepage="https://inm-6.github.io/multi-area-model/"
git = "https://github.com/INM-6/multi-area-model"
maintainer = ["terhorstd"]
version("0.1")
depends_on("py-nesteddict")
depends_on("py-dicthash")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment