From a0d97d9294c214853c737db21625e6b4641f0219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20W=C3=B3jcik?= Date: Fri, 23 Feb 2024 11:11:21 +0100 Subject: [PATCH] py-argparse-dataclass: add new package (#42494) * py-argparse-dataclass: add new package * Remove obvious dependency --- .../packages/py-argparse-dataclass/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-argparse-dataclass/package.py 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")