summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-lizard/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lizard/package.py b/var/spack/repos/builtin/packages/py-lizard/package.py
new file mode 100644
index 0000000000..bdf9e6a88e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lizard/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 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 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"
+
+ version('1.17.9', sha256='76ee0e631d985bea1dd6521a03c6c2fa9dce5a2248b3d26c49890e9e085b7aed')
+
+ depends_on('py-setuptools', type='build')