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
28
|
# 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 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')
|