[py-protoc-gen-swagger] new package (#35241)

* [py-protoc-gen-swagger] new package

* [@spackbot] updating style on behalf of qwertos

---------

Co-authored-by: qwertos <qwertos@users.noreply.github.com>
This commit is contained in:
Jen Herting 2023-01-30 18:20:51 -05:00 committed by GitHub
parent 4d502c8ff7
commit ecd4eac184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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 PyProtocGenSwagger(PythonPackage):
"""A python package for swagger annotation proto files."""
homepage = "https://github.com/universe-proton/protoc-gen-swagger"
url = "https://github.com/universe-proton/protoc-gen-swagger/archive/refs/tags/v0.1.0.tar.gz"
version("0.1.0", sha256="bf9593eec8e0cac31fef10bd558f2a69babbb2475c67291c1c2ca84763c73067")
depends_on("py-setuptools", type="build")
depends_on("py-protobuf@3:", type=("build", "run"))