summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2019-12-15 02:26:14 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-14 12:26:14 -0600
commit72390ecd6285efa58cbbabd4b48759f82863f16a (patch)
treeba3d3651caf26dd435a7f300d7e1a694f65e9777 /var
parent43712b4982901b317255692877e5874825bb92f9 (diff)
downloadspack-72390ecd6285efa58cbbabd4b48759f82863f16a.tar.gz
spack-72390ecd6285efa58cbbabd4b48759f82863f16a.tar.bz2
spack-72390ecd6285efa58cbbabd4b48759f82863f16a.tar.xz
spack-72390ecd6285efa58cbbabd4b48759f82863f16a.zip
add new package : pig (#14165)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pig/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pig/package.py b/var/spack/repos/builtin/packages/pig/package.py
new file mode 100644
index 0000000000..b2f87e57b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pig/package.py
@@ -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)