{% set name = "sphinx-click" %}
{% set version = "3.0.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 9b24c46f3b8f25fc639f47c97ac0361d9f80d48c2ed6b3917de2865bbdbe1785

build:
  noarch: python
  number: 0
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - python >=3.6
    - pip
    - pbr >=2.0
  run:
    - python >=3.6
    - sphinx >=2.0
    - click >=6.0

test:
  imports:
    - sphinx_click
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://pypi.org/project/sphinx-click/
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: A Sphinx plugin to automatically document click-based applications
  description: |
    sphinx-click is a Sphinx plugin that allows you to automatically extract 
    documentation from a click-based application and include it in your docs.
  doc_url: https://sphinx-click.readthedocs.io/en/latest/
  dev_url: https://github.com/click-contrib/sphinx-click

extra:
  recipe-maintainers:
    - CurtLH
    - williamjamir
