summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
blob: ebd2cdc539e9a1ca954f59eb423c8a287c9d122d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 PyPyinstrumentCext(PythonPackage):
    """A CPython extension supporting pyinstrument."""

    homepage = "https://github.com/joerick/pyinstrument_cext"
    pypi = "pyinstrument_cext/pyinstrument_cext-0.2.2.tar.gz"

    license("BSD-3-Clause")

    version("0.2.2", sha256="f29e25f71d74c0415ca9310e5567fff0f5d29f4240a09a885abf8b0eed71cc5b")

    depends_on("py-setuptools", type="build")