summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
blob: d8a09030135148fce311f9ee56ac38776f7bf52c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyGeoalchemy2(PythonPackage):
    """Using SQLAlchemy with Spatial Databases"""

    homepage = "https://geoalchemy-2.readthedocs.io/en/latest"
    pypi = "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')