summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-08-02 00:46:02 +0800
committerGitHub <noreply@github.com>2020-08-01 11:46:02 -0500
commit3ea9b9a01406aee77b9206ef72e8db2ff0837173 (patch)
tree54171051378e4300a9125c33a0031b689a982614 /var
parent52858be668f44eb29ca9e40495fb4d11aa3509de (diff)
downloadspack-3ea9b9a01406aee77b9206ef72e8db2ff0837173.tar.gz
spack-3ea9b9a01406aee77b9206ef72e8db2ff0837173.tar.bz2
spack-3ea9b9a01406aee77b9206ef72e8db2ff0837173.tar.xz
spack-3ea9b9a01406aee77b9206ef72e8db2ff0837173.zip
Add new package: findbugs (#17825)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/findbugs/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/findbugs/package.py b/var/spack/repos/builtin/packages/findbugs/package.py
new file mode 100644
index 0000000000..e81b3247dd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/findbugs/package.py
@@ -0,0 +1,26 @@
+# 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 Findbugs(Package):
+ """a program which uses static analysis to look for bugs in Java code.
+ It is free software, distributed under the terms of the Lesser GNU
+ Public License."""
+
+ homepage = "https://findbugs.sourceforge.net/"
+ url = "https://sourceforge.net/projects/findbugs/files/findbugs/3.0.1/findbugs-3.0.1.tar.gz"
+ list_url = "https://sourceforge.net/projects/findbugs/files/findbugs"
+ list_depth = 1
+
+ version('3.0.1', sha256='e80e0da0c213a27504ef3188ef25f107651700ffc66433eac6a7454bbe336419')
+ version('3.0.0', sha256='31c75797ead68dbb334fd57bf16f4b7b99c9e266447171453e06fdf673335f33')
+ version('2.0.3', sha256='59ba2a64d786ae5b3fa46e9f9c7bb3ea91c24d43d383c8ef594217f6f51e499f')
+
+ depends_on('java', type=('run'))
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)