diff options
author | Sinan <sbulutw@gmail.com> | 2020-09-24 12:41:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 14:41:02 -0500 |
commit | 878f7cbf14678022289400073dd1fae491788240 (patch) | |
tree | 46dfe48ae072339a85fdd731bb1c262e22cb3615 /var | |
parent | 906fa5f50d42f169fb73206bc25ac84bbcf1cedc (diff) | |
download | spack-878f7cbf14678022289400073dd1fae491788240.tar.gz spack-878f7cbf14678022289400073dd1fae491788240.tar.bz2 spack-878f7cbf14678022289400073dd1fae491788240.tar.xz spack-878f7cbf14678022289400073dd1fae491788240.zip |
package py-psycopg2: add new version, specify python versions (#18877)
Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-psycopg2/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-psycopg2/package.py b/var/spack/repos/builtin/packages/py-psycopg2/package.py index 5e95e42f4c..ff478455fb 100644 --- a/var/spack/repos/builtin/packages/py-psycopg2/package.py +++ b/var/spack/repos/builtin/packages/py-psycopg2/package.py @@ -12,7 +12,10 @@ class PyPsycopg2(PythonPackage): homepage = "http://initd.org/psycopg/" url = "http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.5.tar.gz" + version('2.8.6', sha256='fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543') version('2.7.5', sha256='eccf962d41ca46e6326b97c8fe0a6687b58dfc1a5f6540ed071ff1474cea749e') + depends_on('python@2.7:2.8,3.4:3.8', type=('build', 'run'), when='@2.8:') + depends_on('python@2.6:2.8,3.2:3.7', type=('build', 'run'), when='@2.7') depends_on('py-setuptools', type='build') depends_on('postgresql', type=('build', 'run')) |