diff options
author | Sinan <sbulutw@gmail.com> | 2019-10-01 18:59:53 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-01 20:59:53 -0500 |
commit | d20e3517c20633534e0d358de1e400b5f8d8a4ec (patch) | |
tree | 8913ae5877342bcfe7ba999bc088aee73c68a6f7 /var | |
parent | 91488ed8f5f6870c7423971e9fc2495696c59eb4 (diff) | |
download | spack-d20e3517c20633534e0d358de1e400b5f8d8a4ec.tar.gz spack-d20e3517c20633534e0d358de1e400b5f8d8a4ec.tar.bz2 spack-d20e3517c20633534e0d358de1e400b5f8d8a4ec.tar.xz spack-d20e3517c20633534e0d358de1e400b5f8d8a4ec.zip |
new package: py-python-ldap (#12599)
* new package: py-python-ldap
* fix dependency types
* improvements
* Update var/spack/repos/builtin/packages/py-python-ldap/package.py
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-python-ldap/package.py
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
* add openldap dependency
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-python-ldap/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-ldap/package.py b/var/spack/repos/builtin/packages/py-python-ldap/package.py new file mode 100644 index 0000000000..002de856e0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-ldap/package.py @@ -0,0 +1,24 @@ +# 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 PyPythonLdap(PythonPackage): + """python-ldap provides an object-oriented API to access LDAP directory + servers from Python programs. + """ + + homepage = "https://www.python-ldap.org/en/python-ldap-3.2.0/" + url = "https://pypi.io/packages/source/p/python-ldap/python-ldap-3.2.0.tar.gz" + + version('3.2.0', sha256='7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e') + version('3.0.0', sha256='86746b912a2cd37a54b06c694f021b0c8556d4caeab75ef50435ada152e2fbe1') + + depends_on('openldap+client_only', type=('build', 'link', 'run')) + depends_on('py-setuptools', type='build') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-pyasn1@0.3.7:', type=('build', 'run')) + depends_on('py-pyasn1-modules@0.1.5:', type=('build', 'run')) |