summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMatthias Wolf <m+git@sushinara.net>2018-10-18 20:39:54 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-18 11:39:54 -0700
commit8738268e0a74d734e99affe6baa7104fe9c77da4 (patch)
tree10742f94c97bfea68260c40a5d2279093895eb94 /var
parent659d84518597983f884428af100df4a400a202a1 (diff)
downloadspack-8738268e0a74d734e99affe6baa7104fe9c77da4.tar.gz
spack-8738268e0a74d734e99affe6baa7104fe9c77da4.tar.bz2
spack-8738268e0a74d734e99affe6baa7104fe9c77da4.tar.xz
spack-8738268e0a74d734e99affe6baa7104fe9c77da4.zip
py-hdfs: new package (#9575)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-hdfs/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hdfs/package.py b/var/spack/repos/builtin/packages/py-hdfs/package.py
new file mode 100644
index 0000000000..f983ec48a2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hdfs/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2018 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 PyHdfs(PythonPackage):
+ """API and command line interface for HDFS"""
+ homepage = "https://hdfscli.readthedocs.io/en/latest/"
+ url = "https://pypi.org/packages/source/h/hdfs/hdfs-2.1.0.tar.gz"
+
+ version('2.1.0', sha256='a40fe99ccb03b5c3247b33a4110eb21b57405dd7c3f1b775e362e66c19b44bc6')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-docopt', type=('build', 'run'))
+ depends_on('py-requests@2.7.0:', type=('build', 'run'))
+ depends_on('py-six@1.9.0:', type=('build', 'run'))