py-pystac: add new package (#24166)

This commit is contained in:
Adam J. Stewart 2021-06-06 18:11:08 -05:00 committed by GitHub
parent 7093fb214f
commit 09d317c293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,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'))