diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-04-14 11:36:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 09:36:13 -0700 |
commit | 2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5 (patch) | |
tree | 771f2e47cb76206b04dc5553440c2bc1fb0f49fb | |
parent | b6be3d0c0b05b1c9ecc953e4814968e558b00c1a (diff) | |
download | spack-2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5.tar.gz spack-2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5.tar.bz2 spack-2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5.tar.xz spack-2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5.zip |
py-arcgis: add new package (#22837)
-rw-r--r-- | var/spack/repos/builtin/packages/py-arcgis/package.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-arcgis/package.py b/var/spack/repos/builtin/packages/py-arcgis/package.py new file mode 100644 index 0000000000..fbe3a26680 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-arcgis/package.py @@ -0,0 +1,36 @@ +# 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 PyArcgis(PythonPackage): + """ArcGIS API for Python.""" + + homepage = "https://developers.arcgis.com/python/" + pypi = "arcgis/arcgis-1.8.4.tar.gz" + + version('1.8.4', sha256='f1445dac25d3d4c03755d716c74a0930881c6be3cd36d22c6ff5ac754f9842d7') + + depends_on('py-setuptools', type='build') + depends_on('py-six', type=('build', 'run')) + depends_on('py-ipywidgets@7:', type=('build', 'run')) + depends_on('py-widgetsnbextension@3:', type=('build', 'run')) + depends_on('py-pandas@1:', type=('build', 'run')) + depends_on('py-numpy@1.16.2:', type=('build', 'run')) + depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-keyring@19:', type=('build', 'run')) + depends_on('py-lerc', type=('build', 'run')) + depends_on('py-ujson@3:', type=('build', 'run')) + depends_on('py-jupyterlab', type=('build', 'run')) + depends_on('py-python-certifi-win32', type=('build', 'run')) + depends_on('py-pyshp@2:', type=('build', 'run')) + depends_on('py-requests', type=('build', 'run')) + depends_on('py-requests-oauthlib', type=('build', 'run')) + depends_on('py-requests-toolbelt', type=('build', 'run')) + depends_on('py-requests-ntlm', type=('build', 'run')) + + def setup_py(self, *args, **kwargs): + super(PyArcgis, self).setup_py('--conda-install-mode', *args, **kwargs) |