summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/accumulo/package.py
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-21 04:59:16 +0800
committerGitHub <noreply@github.com>2020-04-20 15:59:16 -0500
commited13319a4b368e99afc1fd7fe3021a3440d5bfdf (patch)
tree33cabcbf4ef011ad6346d60c736cc47d31a72e87 /var/spack/repos/builtin/packages/accumulo/package.py
parent73e0dd9f614a17f89da263d1641a2f0eca5de1fc (diff)
downloadspack-ed13319a4b368e99afc1fd7fe3021a3440d5bfdf.tar.gz
spack-ed13319a4b368e99afc1fd7fe3021a3440d5bfdf.tar.bz2
spack-ed13319a4b368e99afc1fd7fe3021a3440d5bfdf.tar.xz
spack-ed13319a4b368e99afc1fd7fe3021a3440d5bfdf.zip
Add new Package: accumulo (#16148)
Diffstat (limited to 'var/spack/repos/builtin/packages/accumulo/package.py')
-rw-r--r--var/spack/repos/builtin/packages/accumulo/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/accumulo/package.py b/var/spack/repos/builtin/packages/accumulo/package.py
new file mode 100644
index 0000000000..219d313aa1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/accumulo/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 Accumulo(Package):
+ """Apache Accumulo is a sorted, distributed key/value store that
+ provides robust, scalable data storage and retrieval."""
+
+ homepage = "https://accumulo.apache.org/"
+ url = "https://github.com/apache/accumulo/archive/rel/2.0.0.tar.gz"
+
+ version('2.0.0', sha256='2564056dc24398aa464763c21bae10ef09356fe3261600d27744071cf965c265')
+ version('1.9.3', sha256='d9548d5b9cf9f494f027f0fe59d5d6d45d09064359d7761cade62991ce2a5d0c')
+ version('1.9.2', sha256='11ab028143ad6313cd5fc701b36b4c35e46a4a3fa2ce663869860b9f6bf5ee4d')
+
+ depends_on('maven', type='build')
+ depends_on('java', type=('build', 'run'))
+
+ def install(self, spec, prefix):
+ mvn = which('mvn')
+ mvn('package', '-DskipTests')
+ install_tree('.', prefix)