diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-10 02:51:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-09 13:51:25 -0500 |
commit | 3b8a5dea44eac1d386ca34a8bde9dd260e41ecf9 (patch) | |
tree | 292ba5a88ba40becdc202d0c08f7f1c4f85c93aa | |
parent | ab6e74f6ac648774831809481912122daf98b297 (diff) | |
download | spack-3b8a5dea44eac1d386ca34a8bde9dd260e41ecf9.tar.gz spack-3b8a5dea44eac1d386ca34a8bde9dd260e41ecf9.tar.bz2 spack-3b8a5dea44eac1d386ca34a8bde9dd260e41ecf9.tar.xz spack-3b8a5dea44eac1d386ca34a8bde9dd260e41ecf9.zip |
Add new package: hazelcast (#17928)
-rw-r--r-- | var/spack/repos/builtin/packages/hazelcast/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hazelcast/package.py b/var/spack/repos/builtin/packages/hazelcast/package.py new file mode 100644 index 0000000000..c903b29c0c --- /dev/null +++ b/var/spack/repos/builtin/packages/hazelcast/package.py @@ -0,0 +1,29 @@ +# 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 Hazelcast(Package): + """Hazelcast is an open-source distributed in-memory data + store and computation platform. It provides a wide variety + of distributed data structures and concurrency primitives.""" + + homepage = "http://www.hazelcast.com/" + url = "https://github.com/hazelcast/hazelcast/archive/v3.12.8.tar.gz" + + version('4.0.2', sha256='4f01682583ae6603365ac7a24c568d7598cc3c1cbd736e5c6ed98bd75e39ffa3') + version('4.0.1', sha256='c9c7d5cbcf70c5e1eb72890df2b4104639f7543f11c6ac5d3e80cd2d4a0d2181') + version('3.12.8', sha256='65d0e131fc993f9517e8ce9ae5af9515f1b8038304abaaf9da535bdef1d71726') + version('3.12.7', sha256='0747de968082bc50202f825b4010be28a3885b3dbcee4b83cbe21b2f8b26a7e0') + version('3.11.7', sha256='c9f636b8813027d4cc24459bd27740549f89b4f11f62a868079bcb5b41d9b2bb') + + 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) |