diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-20 09:33:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 20:33:37 -0500 |
commit | 1650824ef5886a12715bd0004e95ab3bf4dc5dfd (patch) | |
tree | 62bb8d92907e07e4b434bb8dba466ffeec494952 /var | |
parent | 0187884591218972dc65d6ab270866f663f25a11 (diff) | |
download | spack-1650824ef5886a12715bd0004e95ab3bf4dc5dfd.tar.gz spack-1650824ef5886a12715bd0004e95ab3bf4dc5dfd.tar.bz2 spack-1650824ef5886a12715bd0004e95ab3bf4dc5dfd.tar.xz spack-1650824ef5886a12715bd0004e95ab3bf4dc5dfd.zip |
Add new package: phoenix (#18143)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/phoenix/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/phoenix/package.py b/var/spack/repos/builtin/packages/phoenix/package.py new file mode 100644 index 0000000000..de401a4902 --- /dev/null +++ b/var/spack/repos/builtin/packages/phoenix/package.py @@ -0,0 +1,24 @@ +# 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 Phoenix(Package): + """Apache Phoenix is a SQL skin over HBase delivered as a client-embedded + JDBC driver targeting low latency queries over HBase data.""" + + homepage = "https://github.com" + git = "https://github.com/apache/phoenix.git" + + version('master', branch='master') + + depends_on('java@8:', type=('build', 'run')) + depends_on('maven', type='build') + + def install(self, spec, prefix): + mvn = which('mvn') + mvn('package', '-DskipTests') + install_tree('.', prefix) |