summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-alembic/package.py
blob: cd7a0d354c2ce416e22a585386d2f2314d1df24e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2022 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 PyAlembic(PythonPackage):
    """Alembic is a database migrations tool."""

    pypi = "alembic/alembic-1.0.7.tar.gz"

    version('1.5.5', sha256='df0028c19275a2cff137e39617a39cdcdbd1173733b87b6bfa257b7c0860213b')
    version('1.0.7', sha256='16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2')

    depends_on('python@2.7:2.8,3.6:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-sqlalchemy@1.3.0:', type=('build', 'run'), when='@1.5:')
    depends_on('py-sqlalchemy@1.1.0:', type=('build', 'run'), when='@:1.4')
    depends_on('py-mako', type=('build', 'run'))
    depends_on('py-python-dateutil', type=('build', 'run'))
    depends_on('py-python-editor@0.3:', type=('build', 'run'))