diff options
author | Maciej Wójcik <w8jcik@gmail.com> | 2024-02-23 11:11:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 04:11:21 -0600 |
commit | a0d97d9294c214853c737db21625e6b4641f0219 (patch) | |
tree | d01a872f1fcf8ba7f60947461e6ac9216ea24ce4 /var | |
parent | 0979a6a875d7140bc963b308f5d2a87bca94cc02 (diff) | |
download | spack-a0d97d9294c214853c737db21625e6b4641f0219.tar.gz spack-a0d97d9294c214853c737db21625e6b4641f0219.tar.bz2 spack-a0d97d9294c214853c737db21625e6b4641f0219.tar.xz spack-a0d97d9294c214853c737db21625e6b4641f0219.zip |
py-argparse-dataclass: add new package (#42494)
* py-argparse-dataclass: add new package
* Remove obvious dependency
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-argparse-dataclass/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-argparse-dataclass/package.py b/var/spack/repos/builtin/packages/py-argparse-dataclass/package.py new file mode 100644 index 0000000000..5e89dc1e92 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-argparse-dataclass/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2024 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.package import * + + +class PyArgparseDataclass(PythonPackage): + """An immutable mapping type for Python.""" + + homepage = "https://github.com/mivade/argparse_dataclass" + pypi = "argparse_dataclass/argparse_dataclass-2.0.0.tar.gz" + + license("MIT") + + version("2.0.0", sha256="09ab641c914a2f12882337b9c3e5086196dbf2ee6bf0ef67895c74002cc9297f") + + depends_on("py-setuptools", type="build") |