summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-lizard/package.py
blob: e6741e90b929e6fc6287ece56eda797059dc91e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 PyLizard(PythonPackage):
    """A code analyzer without caring the C/C++ header files.
    It works with Java, C/C++, JavaScript, Python, Ruby,
    Swift, Objective C. Metrics includes cyclomatic
    complexity number etc."""

    homepage = "http://www.lizard.ws/"
    pypi = "lizard/lizard-1.17.9.tar.gz"

    license("MIT")

    version("1.17.10", sha256="62d78acd64724be28b5f4aa27a630dfa4b4afbd1596d1f25d5ad1c1a3a075adc")
    version("1.17.9", sha256="76ee0e631d985bea1dd6521a03c6c2fa9dce5a2248b3d26c49890e9e085b7aed")

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