py-geopy: add new package at v2.1.0 (#20601)

This commit is contained in:
Adam J. Stewart 2020-12-29 02:11:12 -06:00 committed by GitHub
parent 05f8e08067
commit 8babd5345f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 PyGeopy(PythonPackage):
"""geopy is a Python client for several popular geocoding web services."""
homepage = "https://github.com/geopy/geopy"
url = "https://pypi.io/packages/source/g/geopy/geopy-2.1.0.tar.gz"
maintainers = ['adamjstewart']
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.999', type=('build', 'run'))