Add new Package: accumulo (#16148)
This commit is contained in:
parent
73e0dd9f61
commit
ed13319a4b
26
var/spack/repos/builtin/packages/accumulo/package.py
Normal file
26
var/spack/repos/builtin/packages/accumulo/package.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user