summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 10:01:52 +0800
committerGitHub <noreply@github.com>2020-09-23 21:01:52 -0500
commit5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5 (patch)
tree48cd7dc0a7d265aaafe9167394df61ca9bf83178
parent7c8cb0117912f1aa5100646d83dbf386e47bfd56 (diff)
downloadspack-5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5.tar.gz
spack-5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5.tar.bz2
spack-5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5.tar.xz
spack-5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5.zip
Add new package: ck (#18753)
-rw-r--r--var/spack/repos/builtin/packages/ck/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ck/package.py b/var/spack/repos/builtin/packages/ck/package.py
new file mode 100644
index 0000000000..9752aa1ebd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ck/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 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 Ck(MavenPackage):
+ """CK calculates class-level and metric-level code metrics in Java
+ projects by means of static analysis (i.e. no need for compiled code)."""
+
+ homepage = "https://github.com/mauricioaniche/ck"
+ url = "https://github.com/mauricioaniche/ck/archive/ck-0.6.2.tar.gz"
+
+ version('0.6.2', sha256='ee16d209f05852230504dea1af39cdb1cfc8e9b56f4708ed1afcd5ce44af76eb')
+ version('0.6.1', sha256='1db1fef7111bb485d5554d5927611761a102133a41b88e8fb20cd44494411ac4')
+ version('0.6.0', sha256='8a1affad047fbefda5d2dad1a795204ffd06c50e2fba830f87cf6c7518423137')
+ version('0.5.2', sha256='35f610f5d97ca31a62903ba368be7e0b74764daccd95afa3eb9ff04e0326a7ca')
+ version('0.5.1', sha256='732849ae7b26d01ee082283396a6fdd7823282c368ae6fd05966acb4598ccebe')
+ version('0.5.0', sha256='3923d25ff4941a6207d644fd1ba3115b5ad303ef953285610e836bc59a4cbcb7')