summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-geopy/package.py
blob: 8aa8b855e297d45691f44281fae1f2d3aba249f9 (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
# Copyright 2013-2023 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.package import *


class PyGeopy(PythonPackage):
    """geopy is a Python client for several popular geocoding web services."""

    homepage = "https://github.com/geopy/geopy"
    pypi = "geopy/geopy-2.1.0.tar.gz"

    maintainers("adamjstewart")

    license("MIT")

    version("2.1.0", sha256="892b219413e7955587b029949af3a1949c6fbac9d5ad17b79d850718f6a9550f")

    depends_on("python@3.5:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-geographiclib@1.49:1", type=("build", "run"))