summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2024-09-13 14:56:57 -0400
committerGitHub <noreply@github.com>2024-09-13 13:56:57 -0500
commita80d2d42d6a9fe1cc1e71b7f8a84b50e084cf1b9 (patch)
tree018a91d8b6c9b01cbf3bf7f4b9671651dacb84a8
parent60104f916d63fa8a66f80c3bc945c18067b853d5 (diff)
downloadspack-a80d2d42d6a9fe1cc1e71b7f8a84b50e084cf1b9.tar.gz
spack-a80d2d42d6a9fe1cc1e71b7f8a84b50e084cf1b9.tar.bz2
spack-a80d2d42d6a9fe1cc1e71b7f8a84b50e084cf1b9.tar.xz
spack-a80d2d42d6a9fe1cc1e71b7f8a84b50e084cf1b9.zip
py-pydantic-core: new package (#46306)
* py-pydantic-core: new package * [py-pydantic-core] fixed licence(checked_by) * [py-pydantic-core] removed unnecessary python dependency --------- Co-authored-by: Alex C Leute <acl2809@rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/py-pydantic-core/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydantic-core/package.py b/var/spack/repos/builtin/packages/py-pydantic-core/package.py
new file mode 100644
index 0000000000..ec7dd02dfa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydantic-core/package.py
@@ -0,0 +1,22 @@
+# 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 PyPydanticCore(PythonPackage):
+ """Core functionality for Pydantic validation and serialization"""
+
+ homepage = "https://github.com/pydantic/pydantic-core"
+ pypi = "pydantic_core/pydantic_core-2.18.4.tar.gz"
+
+ license("MIT", checked_by="qwertos")
+
+ version("2.18.4", sha256="ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864")
+
+ depends_on("rust@1.76:", type="build")
+ depends_on("py-maturin@1", type="build")
+ depends_on("py-typing-extensions@4.6,4.7.1:", type="build")