summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-arcgis/package.py
blob: d7fa03474f301bd6849376148253a02ab53a2921 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 global_options(self, spec, prefix):
        return ['--conda-install-mode']