diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-metrics/package.py | 20 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pathspec/package.py | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-metrics/package.py b/var/spack/repos/builtin/packages/py-metrics/package.py new file mode 100644 index 0000000000..71ae1d32f4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-metrics/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2024 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 PyMetrics(PythonPackage): + """metrics for Python, C, C++, Go and Javascript code""" + + homepage = "https://github.com/finklabs/metrics/" + pypi = "metrics/metrics-0.3.3.tar.gz" + + version("0.3.3", sha256="60a2bceea8b56f3c408c4ea5d2e9891f5ddb17e4754f7ebc3feb8844faef9ecf") + + depends_on("py-setuptools", type="build") + depends_on("py-pygments@2.2.0", type=("build", "run")) + depends_on("py-pathspec@0.5.5", type=("build", "run")) + depends_on("py-pathlib2@2.3.0:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-pathspec/package.py b/var/spack/repos/builtin/packages/py-pathspec/package.py index 3921b4770f..ce6044f647 100644 --- a/var/spack/repos/builtin/packages/py-pathspec/package.py +++ b/var/spack/repos/builtin/packages/py-pathspec/package.py @@ -22,6 +22,7 @@ class PyPathspec(PythonPackage): version("0.10.1", sha256="7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d") version("0.9.0", sha256="e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1") version("0.8.1", sha256="86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd") + version("0.5.5", sha256="72c495d1bbe76674219e307f6d1c6062f2e1b0b483a5e4886435127d0df3d0d3") version("0.3.4", sha256="7605ca5c26f554766afe1d177164a2275a85bb803b76eba3428f422972f66728") depends_on("python@3.7:", when="@0.10:", type=("build", "run")) |