diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-05-27 19:40:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 19:40:54 -0500 |
commit | e2399bcd0e1160adbdff862b5a005515c46c39c8 (patch) | |
tree | 9a6ee3a0b053ee69e03b1182e1500e74f44d5a99 /var | |
parent | b375500134f024fa60690f32a321aed4d2714aff (diff) | |
download | spack-e2399bcd0e1160adbdff862b5a005515c46c39c8.tar.gz spack-e2399bcd0e1160adbdff862b5a005515c46c39c8.tar.bz2 spack-e2399bcd0e1160adbdff862b5a005515c46c39c8.tar.xz spack-e2399bcd0e1160adbdff862b5a005515c46c39c8.zip |
py-geocube: add new package (#23909)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-geocube/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-geocube/package.py b/var/spack/repos/builtin/packages/py-geocube/package.py new file mode 100644 index 0000000000..8a95352763 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-geocube/package.py @@ -0,0 +1,28 @@ +# 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 PyGeocube(PythonPackage): + """Tool to convert geopandas vector data into rasterized xarray data.""" + + homepage = "https://github.com/corteva/geocube" + pypi = "geocube/geocube-0.0.17.tar.gz" + + maintainers = ['adamjstewart'] + + version('0.0.17', sha256='bf8da0fa96d772ebaea0b98bafa0ba5b8639669d5feb07465d4255af177bddc0') + + depends_on('python@3.7:', type=('build', 'run')) + depends_on('py-setuptools', type=('build', 'run')) + 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-geopandas@0.7:', type=('build', 'run')) + depends_on('py-rasterio', type=('build', 'run')) + depends_on('py-rioxarray@0.4:', type=('build', 'run')) + depends_on('py-xarray@0.17:', type=('build', 'run')) + depends_on('py-pyproj@2:', type=('build', 'run')) |