25 lines
822 B
Python
25 lines
822 B
Python
# 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 Hudi(Package):
|
|
"""Apache Hudi stands for Hadoop Upserts Deletes and Incrementals.
|
|
Hudi manages the storage of large analytical datasets on DFS."""
|
|
|
|
homepage = "https://hudi.apache.org/"
|
|
url = "https://github.com/apache/hudi/archive/release-0.5.3.tar.gz"
|
|
|
|
version('0.5.3', sha256='8cbf52007fddd07eebd20c8962cd630b05a8ae4c597523fd63db837a45a0b227')
|
|
|
|
depends_on('maven', type='build')
|
|
depends_on('java@8', type=('build', 'run'))
|
|
|
|
def install(self, spec, prefix):
|
|
mvn = which('mvn')
|
|
mvn('package', '-DskipTests')
|
|
install_tree('.', prefix)
|