summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pystac-client/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-01-24 11:25:29 -0700
committerGitHub <noreply@github.com>2023-01-24 10:25:29 -0800
commitf5418ac34466c25583df26c3966488852cbac6e8 (patch)
treec14029e1250e912df377cf4f4be0547fc6dc5652 /var/spack/repos/builtin/packages/py-pystac-client/package.py
parent909a5b1d8365066eaf76e4c3beace84ee3adb6e6 (diff)
downloadspack-f5418ac34466c25583df26c3966488852cbac6e8.tar.gz
spack-f5418ac34466c25583df26c3966488852cbac6e8.tar.bz2
spack-f5418ac34466c25583df26c3966488852cbac6e8.tar.xz
spack-f5418ac34466c25583df26c3966488852cbac6e8.zip
py-planetary-computer: add new package (#35089)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pystac-client/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pystac-client/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pystac-client/package.py b/var/spack/repos/builtin/packages/py-pystac-client/package.py
new file mode 100644
index 0000000000..65eeda697a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pystac-client/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2022 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 PyPystacClient(PythonPackage):
+ """Python library for working with Spatiotemporal Asset Catalog (STAC)."""
+
+ homepage = "https://github.com/stac-utils/pystac-client.git"
+ pypi = "pystac-client/pystac-client-0.5.1.tar.gz"
+
+ version("0.5.1", sha256="f585bd9bcd52ee399c8a292dbb7e0405c0da359a73bc07c1ef82a65c17124d94")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-requests@2.27.1:", type=("build", "run"))
+ depends_on("py-pystac@1.4:", type=("build", "run"))
+ depends_on("py-python-dateutil@2.7:", type=("build", "run"))