summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-usgs/package.py
blob: f348be2fa9ce83da630f8c73e6d5ddc32db0c03d (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-2023 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 PyUsgs(PythonPackage):
    """Client library for interfacing with USGS datasets"""

    homepage = "https://github.com/kapadia/usgs"
    pypi = "usgs/usgs-0.2.7.tar.gz"

    maintainers("adamjstewart")

    version("0.2.7", sha256="484e569ea1baf9574e11ccf15219957364690dcf06ee3d09afef030df944e79b")

    depends_on("py-setuptools", type="build")
    depends_on("py-click@4.0:", type=("build", "run"))
    depends_on("py-requests@2.7.0:", type=("build", "run"))
    depends_on("py-requests-futures@0.9.5:", type=("build", "run"))