spack/var/spack/repos/builtin/packages/py-overpy/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

21 lines
753 B
Python

# 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 PyOverpy(PythonPackage):
"""A Python Wrapper to access the Overpass API."""
homepage = "https://github.com/DinoTools/python-overpy"
pypi = "overpy/overpy-0.4.tar.gz"
version('0.4', sha256='6e5bfcd9368f0c33a5d7615b18dbcac18444157f447639287c6743aa2de8964d')
version('0.3.1', sha256='3c6f6afe262ccf50c983617fc4ec5f381c2e1f6391aa974fbcc39203802bc3ff')
depends_on('py-setuptools', type='build')
depends_on('py-pytest-runner', type='build')
depends_on('python@2.7:2.8,3.2:', type=('build', 'run'))