diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-05-09 05:44:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 12:44:01 +0200 |
commit | 10efbc071f81d6e84690e6d0eb9171bafeb30de7 (patch) | |
tree | f9b04ba6ef1e08c69aecb43b481d8ed6ac3bf597 | |
parent | d517dcdc711ddaf3cff1aa48a43405417b003791 (diff) | |
download | spack-10efbc071f81d6e84690e6d0eb9171bafeb30de7.tar.gz spack-10efbc071f81d6e84690e6d0eb9171bafeb30de7.tar.bz2 spack-10efbc071f81d6e84690e6d0eb9171bafeb30de7.tar.xz spack-10efbc071f81d6e84690e6d0eb9171bafeb30de7.zip |
py-geocube: add v0.3.1 (#30558)
-rw-r--r-- | var/spack/repos/builtin/packages/py-geocube/package.py | 9 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-odc-geo/package.py | 23 |
2 files changed, 30 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-geocube/package.py b/var/spack/repos/builtin/packages/py-geocube/package.py index 3028c0fd9b..0e357e96d6 100644 --- a/var/spack/repos/builtin/packages/py-geocube/package.py +++ b/var/spack/repos/builtin/packages/py-geocube/package.py @@ -14,15 +14,20 @@ class PyGeocube(PythonPackage): maintainers = ['adamjstewart'] + version('0.3.1', sha256='5c97131010cd8d556a5fad2a3824452120640ac33a6a45b6ca9ee3c28f2e266f') version('0.0.17', sha256='bf8da0fa96d772ebaea0b98bafa0ba5b8639669d5feb07465d4255af177bddc0') depends_on('python@3.7:', type=('build', 'run')) - depends_on('py-setuptools', type=('build', 'run')) + depends_on('python@3.8:', when='@0.1.1:', type=('build', 'run')) + depends_on('py-setuptools', type='build') depends_on('py-appdirs', type=('build', 'run')) depends_on('py-click@6.0:', type=('build', 'run')) - depends_on('py-datacube', type=('build', 'run')) + depends_on('py-datacube', when='@:0.1', type=('build', 'run')) depends_on('py-geopandas@0.7:', type=('build', 'run')) + depends_on('py-odc-geo', when='@0.2:', type=('build', 'run')) depends_on('py-rasterio', type=('build', 'run')) depends_on('py-rioxarray@0.4:', type=('build', 'run')) + depends_on('py-scipy', when='@0.0.18:', type=('build', 'run')) depends_on('py-xarray@0.17:', type=('build', 'run')) depends_on('py-pyproj@2:', type=('build', 'run')) + depends_on('py-numpy@1.20:', when='@0.3:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-odc-geo/package.py b/var/spack/repos/builtin/packages/py-odc-geo/package.py new file mode 100644 index 0000000000..534996ed5e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-odc-geo/package.py @@ -0,0 +1,23 @@ +# 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 import * + + +class PyOdcGeo(PythonPackage): + """Geometry Classes and Operations (opendatacube).""" + + homepage = "https://github.com/opendatacube/odc-geo/" + pypi = "odc-geo/odc-geo-0.1.2.tar.gz" + + version('0.1.2', sha256='c5ec3c66a326b138df5a28aa639b1c2c3c644093af463948255219bdc2513408') + + depends_on('python@3.8:', type=('build', 'run')) + depends_on('py-setuptools@51:', type='build') + depends_on('py-affine', type=('build', 'run')) + depends_on('py-cachetools', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pyproj', type=('build', 'run')) + depends_on('py-shapely', type=('build', 'run')) |