summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-contextily/package.py
blob: 78159c74839ca9ef6d68a0d58e21475b772d948a (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
# Copyright 2013-2020 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 PyContextily(PythonPackage):
    """Context geo-tiles in Python."""

    homepage = "https://github.com/darribas/contextily"
    url      = "https://pypi.io/packages/source/c/contextily/contextily-1.0.1.tar.gz"

    maintainers = ['adamjstewart']

    version('1.0.1', sha256='f7dc25dbc8e01163be6cdeedb49a56da9cd0d586c838861f442ef2ee45eba9d4')

    depends_on('python@3.6:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-geopy', type=('build', 'run'))
    depends_on('py-matplotlib', type=('build', 'run'))
    depends_on('py-mercantile', type=('build', 'run'))
    depends_on('pil', type=('build', 'run'))
    depends_on('py-rasterio', type=('build', 'run'))
    depends_on('py-requests', type=('build', 'run'))
    depends_on('py-joblib', type=('build', 'run'))