package:
  name: ldaptor
  version: "16.0.1"

source:
  fn: ldaptor-16.0.1.tar.gz
  url: https://pypi.python.org/packages/d9/76/a25321b8941bf02e24b4923273caaf531890fb092a06f14d62c1683b11a2/ldaptor-16.0.1.tar.gz
  md5: 2bda97c508c4fa3a269f40209f6e5311

build:
  number: 0
  script: python setup.py install

requirements:
  build:
    - python
    - setuptools
    - pycrypto
    # FIXME: Build currently against previous twisted version, because of
    # https://groups.google.com/a/continuum.io/forum/?fromgroups#!topic/anaconda/2_YQ3jGU1RQ 
    - twisted <17.1.0
    - pyopenssl
    - pyparsing
    - zope.interface

  run:
    - python
    - pycrypto
    # FIXME: see above
    - twisted <17.1.0
    - pyopenssl
    - pyparsing
    - zope.interface

test:
  imports:
    - ldaptor
    - ldaptor.protocols
    - ldaptor.protocols.ldap
    - ldaptor.protocols.ldap.autofill
    - ldaptor.samba
    - ldaptor.test

about:
  home: https://github.com/twisted/ldaptor
  license: MIT
  license_family: MIT
  summary: 'A Pure-Python Twisted library for LDAP'

extra:
  recipe-maintainers:
    - stuertz

Add ldaptor package It currently depends of a twisted Version < 17.1.0, because of a build failure with Automat dependency required by Twisted 17.1.0
Add ldaptor package
It currently depends of a twisted Version < 17.1.0, because of a build failure with Automat dependency required by Twisted 17.1.0
