summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-opencensus/package.py
blob: 8975732eee07f73025439b86691c9cb4f5d04cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyOpencensus(PythonPackage):
    """A stats collection and distributed tracing framework."""

    homepage = "https://github.com/census-instrumentation/opencensus-python"
    pypi = "opencensus/opencensus-0.7.10.tar.gz"

    license("Apache-2.0")

    version("0.7.10", sha256="2921e3e570cfadfd123cd8e3636a405031367fddff74c55d3fe627a4cf8b981c")

    depends_on("py-setuptools", type="build")
    depends_on("py-opencensus-context@0.1.1", type=("build", "run"))
    depends_on("py-google-api-core@1.0:1", type=("build", "run"))