summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-19 16:11:00 +0800
committerGitHub <noreply@github.com>2020-10-19 10:11:00 +0200
commitfb2aba6f0ff9c7afb66aa039e9136f1214a2eb78 (patch)
treedd045689792bad6f1b90041eff4d0092d4188dd6
parentfd7bfb1a50c274fece79a9cd6d77f03dfe6dfd05 (diff)
downloadspack-fb2aba6f0ff9c7afb66aa039e9136f1214a2eb78.tar.gz
spack-fb2aba6f0ff9c7afb66aa039e9136f1214a2eb78.tar.bz2
spack-fb2aba6f0ff9c7afb66aa039e9136f1214a2eb78.tar.xz
spack-fb2aba6f0ff9c7afb66aa039e9136f1214a2eb78.zip
junit4: added new package at v4.13 (#18769)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/junit4/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/junit4/package.py b/var/spack/repos/builtin/packages/junit4/package.py
new file mode 100644
index 0000000000..d0a46b4495
--- /dev/null
+++ b/var/spack/repos/builtin/packages/junit4/package.py
@@ -0,0 +1,19 @@
+# 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 Junit4(MavenPackage):
+ """A programmer-oriented testing framework for Java."""
+
+ homepage = "https://github.com/junit-team/junit4/wiki"
+ url = "https://github.com/junit-team/junit4/archive/r4.13.tar.gz"
+
+ version('4.13', sha256='c4e8f5681ad387a386a5aebe05ed4b73ffbfff963e154fbc4d77090f230777c7')
+ version('4.12', sha256='9a5b458258c6537df0d2df7122a06895a26b9c7c8061e5991a0be81d76b10d24')
+
+ depends_on('java@5:', type=('build', 'run'))
+ depends_on('maven@3.0.4:', type='build')