new package: py-geoalchemy2

This commit is contained in:
Sinan81 2019-08-17 23:26:02 -07:00 committed by Peter Scheibel
parent f1b377b3d5
commit d8d506e39a

View File

@ -0,0 +1,28 @@
# Copyright 2013-2019 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 PyGeoalchemy2(PythonPackage):
"""Using SQLAlchemy with Spatial Databases"""
homepage = "https://geoalchemy-2.readthedocs.io/en/latest"
url = "https://pypi.io/packages/source/G/GeoAlchemy2/GeoAlchemy2-0.6.3.tar.gz"
version('0.6.3', sha256='4dc4c6c2bda0fc82cccab4aaff185a6570e13a5351d85e29e12984a55d4138ee')
version('0.4.2', sha256='17fa10b0c01bd2ab036ea56975dfa850098aa394a5d6ee04d88b2aefc16751cb')
variant('dev', default=False, description="Enable development dependencies")
depends_on('py-setuptools', type='build')
depends_on('py-sqlalchemy@0.8:', type=('build', 'run'))
depends_on('py-shapely@1.3.0:', type=('build', 'run'), when='+dev')
depends_on('py-pycodestyle@2.2.0', type='test')
depends_on('py-flake8@3.2.0', type='test')
depends_on('py-pytest@3.7.4', type='test', when='@0.6.3')
depends_on('py-pytest@3.1.3', type='test', when='@0.4.2')
depends_on('py-pytest-cov@2.5.1', type='test')