Skip to content

Commit

Permalink
py-pydantic-core: new package (spack#46306)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
qwertos and alex391 authored Sep 13, 2024
1 parent 60104f9 commit a80d2d4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions var/spack/repos/builtin/packages/py-pydantic-core/package.py
Original file line number Diff line number Diff line change
@@ -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("[email protected]:", type="build")
depends_on("py-maturin@1", type="build")
depends_on("[email protected],4.7.1:", type="build")

0 comments on commit a80d2d4

Please sign in to comment.