[py-openapi-schema-pydantic] New package (#38973)

This commit is contained in:
Jen Herting 2023-07-19 09:26:55 -04:00 committed by GitHub
parent 9ccb018b23
commit ae08b25dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# Copyright 2013-2023 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 PyOpenapiSchemaPydantic(PythonPackage):
"""OpenAPI (v3) specification schema as pydantic class"""
homepage = "https://github.com/kuimono/openapi-schema-pydantic"
pypi = "openapi-schema-pydantic/openapi-schema-pydantic-1.2.4.tar.gz"
version("1.2.4", sha256="3e22cf58b74a69f752cc7e5f1537f6e44164282db2700cbbcd3bb99ddd065196")
depends_on("python@3.6.1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-pydantic@1.8.2:", type=("build", "run"))