{% set name = "ldap" %}
{% set version = "1.0.2" %}
{% set hash_type = "sha256" %}
{% set hash_value = "ead51179daa5dbe6f635f5dbac4357ac7a2c278b5455393064522efb172377e5" %}

package:
  name: '{{ name|lower }}'
  version: '{{ version }}'

source:
  fn: '{{ name }}-{{ version }}.tar.gz'
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  '{{ hash_type }}': '{{ hash_value }}'

build:
  number: 0
  entry_points:
    - ldap = ldap:main
  script: python -m pip install . --no-deps --ignore-installed
  noarch: python

requirements:
  build:
    - pip
    - python
    - setuptools
  run:
    - python
    - ldap3

test:
  imports:
    - ldap
  commands:
    - ldap --help

about:
  home: https://github.com/andreif/ldap
  license: BSD
  license_family: BSD
  license_file: LICENSE
  summary: LDAP utils.
  description: 'LDAP utils'

extra:
  recipe-maintainers:
    - nicoddemus

Add recipe for ldap package
Add recipe for ldap package
