py-metrics: Adding package py-metrics (#42220)
* New package: py-metrics * [py-metrics] cleaned up extra comment * Updated copyright and ran black * py-pathspec: Added version 0.5.5 --------- Co-authored-by: vehrc <vehrc@rit.edu> Co-authored-by: Jen Herting <jen@herting.cc> Co-authored-by: Alex C Leute <aclrc@rit.edu>
This commit is contained in:
parent
6dfc2e7075
commit
d6ff81ab4d
2 changed files with 21 additions and 0 deletions
20
var/spack/repos/builtin/packages/py-metrics/package.py
Normal file
20
var/spack/repos/builtin/packages/py-metrics/package.py
Normal file
|
@ -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"))
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue