add new package : pig (#14165)

This commit is contained in:
darmac 2019-12-15 02:26:14 +08:00 committed by Adam J. Stewart
parent 43712b4982
commit 72390ecd62

View File

@ -0,0 +1,23 @@
# Copyright 2013-2019 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 Pig(Package):
"""
Pig is a dataflow programming environment for processing very large files.
Pig's language is called Pig Latin. A Pig Latin program consists of a
directed acyclic graph where each node represents an operation that
transforms data.
"""
homepage = "http://archive.apache.org"
url = "http://archive.apache.org/dist/hadoop/pig/stable/pig-0.7.0.tar.gz"
version('0.7.0', sha256='fa7211fb339f547f679a3dd90055f1ddc45d5754d88463e4cc39c380ddf8b02a')
def install(self, spec, prefix):
install_tree('.', prefix)