diff --git a/packages/py-nested-dict/package.py b/packages/py-nested-dict/package.py new file mode 100644 index 0000000000000000000000000000000000000000..9442c3b12597f0a4810e069d2128a17d7acbd9b2 --- /dev/null +++ b/packages/py-nested-dict/package.py @@ -0,0 +1,26 @@ +# 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 PyNestedDict(PythonPackage): + """FIXME: Put a proper description of your package here.""" + + homepage = "http://nested-dict.readthedocs.org" + pypi = "nested_dict/nested_dict-1.61.tar.gz" + git = "https://github.com/bunbun/nested-dict" + + # FIXME: Add a list of GitHub accounts to + # notify when the package is updated. + # maintainers = ['terhorstd', 'bunbun'] + + version('1.61', sha256='de0fb5bac82ba7bcc23736f09373f18628ea57f92bbaa13480d23f261c41e771') + + # FIXME: Add a build backend, usually defined in pyproject.toml. If no such file + # exists, use setuptools. + # depends_on('py-setuptools', type='build') + # depends_on('py-flit-core', type='build') + # depends_on('py-poetry-core', type='build') diff --git a/packages/py-nesteddict/package.py b/packages/py-nesteddict/package.py deleted file mode 100644 index 16562fd777fae87063b41f195ca0123eb821df56..0000000000000000000000000000000000000000 --- a/packages/py-nesteddict/package.py +++ /dev/null @@ -1,39 +0,0 @@ -# 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') diff --git a/packages/wf-multi-area-model/package.py b/packages/wf-multi-area-model/package.py index ac51078f97058706cb6a59219d14239f60771885..4fd2b1009a858812a90557d3f4bdfce40a00416e 100644 --- a/packages/wf-multi-area-model/package.py +++ b/packages/wf-multi-area-model/package.py @@ -16,6 +16,6 @@ class WfMultiAreaModel(BundlePackage): version("0.1") - depends_on("py-nesteddict") + depends_on("py-nested-dict") depends_on("py-dicthash")