diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-04-16 00:25:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:25:21 -0500 |
commit | c470a8da6a42764e7b9b57e4ca7bff11f19819ea (patch) | |
tree | d11c608dd412b6e9b92fa44224491ebc7077d37b /var | |
parent | 8935406756996b04376934e97ac3db8d7d90af05 (diff) | |
download | spack-c470a8da6a42764e7b9b57e4ca7bff11f19819ea.tar.gz spack-c470a8da6a42764e7b9b57e4ca7bff11f19819ea.tar.bz2 spack-c470a8da6a42764e7b9b57e4ca7bff11f19819ea.tar.xz spack-c470a8da6a42764e7b9b57e4ca7bff11f19819ea.zip |
Add new package: kinesis (#16063)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/kinesis/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kinesis/package.py b/var/spack/repos/builtin/packages/kinesis/package.py new file mode 100644 index 0000000000..c106f5bebc --- /dev/null +++ b/var/spack/repos/builtin/packages/kinesis/package.py @@ -0,0 +1,27 @@ +# 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 Kinesis(Package): + """The Amazon Kinesis Client Library for Java (Amazon KCL) enables Java + developers to easily consume and process data from Amazon Kinesis.""" + + homepage = "http://aws.amazon.com/kinesis" + url = "https://github.com/awslabs/amazon-kinesis-client/archive/v2.2.10.tar.gz" + + version('2.2.10', sha256='ab1fa33466d07c41d0bbf0d1c7d2380d6f5d2957dea040ca5fe911be83bfe9f9') + version('2.2.9', sha256='8d743c2dae127ce7c08627e7944aad4ccf025b4d71aa5486b57469c32daf20e6') + version('2.2.8', sha256='0753d6c84247fa58c09749ca7d258a11c658b64eb65286eff74a2115613183a8') + version('2.2.7', sha256='1838ef2327920d1df6f41db1de55318d6935d16ddde90b6e65ec65d374993177') + + depends_on('maven', type='build') + depends_on('java@8', type=('build', 'run')) + + def install(self, spec, prefix): + mvn = which('mvn') + mvn('clean', 'install', '-Dgpg.skip=true', '-DskipITs') + install_tree('.', prefix) |