testdfsio: added new package at v0.0.1 (#16789)
This commit is contained in:
parent
99d9967b8b
commit
6f85dc66a7
1 changed files with 24 additions and 0 deletions
24
var/spack/repos/builtin/packages/testdfsio/package.py
Normal file
24
var/spack/repos/builtin/packages/testdfsio/package.py
Normal file
|
@ -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 Testdfsio(Package):
|
||||||
|
"""A corrected and enhanced version of Apache Hadoop TestDFSIO"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/tthx/testdfsio"
|
||||||
|
url = "https://github.com/tthx/testdfsio/archive/0.0.1.tar.gz"
|
||||||
|
|
||||||
|
version('0.0.1', sha256='fe8cc47260ffb3e3ac90e0796ebfe73eb4dac64964ab77671e5d32435339dd09')
|
||||||
|
|
||||||
|
depends_on('maven', type='build')
|
||||||
|
depends_on('java@8', type=('build', 'run'))
|
||||||
|
depends_on('hadoop@3.2.1:', type='run')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
mvn = which('mvn')
|
||||||
|
mvn('clean', 'package', '-Dmaven.test.skip=true')
|
||||||
|
install_tree('.', prefix)
|
Loading…
Reference in a new issue