25 lines
1.0 KiB
Python
25 lines
1.0 KiB
Python
# 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 PyGoogleapisCommonProtos(PythonPackage):
|
|
"""Common protobufs used in Google APIs."""
|
|
|
|
homepage = "https://github.com/googleapis/googleapis"
|
|
pypi = "googleapis-common-protos/googleapis-common-protos-1.6.0.tar.gz"
|
|
|
|
version("1.58.0", sha256="c727251ec025947d545184ba17e3578840fc3a24a0516a020479edab660457df")
|
|
version("1.55.0", sha256="53eb313064738f45d5ac634155ae208e121c963659627b90dfcb61ef514c03e1")
|
|
version("1.6.0", sha256="e61b8ed5e36b976b487c6e7b15f31bb10c7a0ca7bd5c0e837f4afab64b53a0c6")
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on(
|
|
"py-protobuf@3.19.5:3.19,3.20.2:4.21.0,4.21.6:4", when="@1.58:", type=("build", "run")
|
|
)
|
|
depends_on("py-protobuf@3.12.0:3", when="@1.55", type=("build", "run"))
|
|
depends_on("py-protobuf@3.6.0:3", when="@:1.6", type=("build", "run"))
|