summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pystac/package.py
blob: 03201993d163a464e66fc88a087cce6446a41fc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2021 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 PyPystac(PythonPackage):
    """Python library for working with Spatiotemporal Asset Catalog (STAC)."""

    homepage = "https://github.com/azavea/pystac.git"
    pypi     = "pystac/pystac-0.5.4.tar.gz"

    version('0.5.4', sha256='9fc3359364685adf54e3bc78c87550a8bc8b0a927405419bd8e4bbd42a8efc79')

    depends_on('py-setuptools', type='build')
    depends_on('py-python-dateutil@2.7.0:', type=('build', 'run'))