From 2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 14 Apr 2021 11:36:13 -0500 Subject: py-arcgis: add new package (#22837) --- .../repos/builtin/packages/py-arcgis/package.py | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-arcgis/package.py (limited to 'var') 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) -- cgit v1.2.3-70-g09d2