summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hdfs/package.py
blob: a14de2adc3034511def6a25ebe55e2fce98b7114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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.package import *


class PyHdfs(PythonPackage):
    """API and command line interface for HDFS"""

    homepage = "https://hdfscli.readthedocs.io/en/latest/"
    pypi = "hdfs/hdfs-2.1.0.tar.gz"

    license("MIT")

    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"))