summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pygresql/package.py
blob: acdb70bd060ec4aac1a868fd567e86f55cf9ffec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyPygresql(PythonPackage):
    """PyGreSQL is an open-source Python module that interfaces to a
       PostgreSQL database"""

    homepage = "http://www.pygresql.org"
    url      = "http://www.pygresql.org/files/PyGreSQL-5.0.5.tar.gz"

    version('5.0.5', 'c7d1558e85568d3369a98609174ca6a0')

    depends_on('py-setuptools', type='build')
    depends_on('postgresql', type=('build', 'run'))