summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-geoplot/package.py
blob: 2ef3b5cc293ac331e9c21047cd324440f19666d5 (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
# 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 PyGeoplot(PythonPackage):
    """geoplot is a high-level Python geospatial plotting library.

    It's an extension to cartopy and matplotlib which makes mapping easy:
    like seaborn for geospatial."""

    homepage = "https://github.com/ResidentMario/geoplot"
    pypi = "geoplot/geoplot-0.4.1.tar.gz"

    maintainers = ['adamjstewart']

    version('0.4.1', sha256='eb073436c5a1cb7f97caa217cdb109e6cad4f3774e657757005e3f0f5a3183ca')

    depends_on('python@3.6.0:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-matplotlib', type=('build', 'run'))
    depends_on('py-seaborn', type=('build', 'run'))
    depends_on('py-pandas', type=('build', 'run'))
    depends_on('py-geopandas', type=('build', 'run'))
    depends_on('py-cartopy', type=('build', 'run'))
    depends_on('py-descartes', type=('build', 'run'))
    depends_on('py-mapclassify@2.1:', type=('build', 'run'))
    depends_on('py-contextily@1.0.0:', type=('build', 'run'))