{% set name = "sphinxcontrib-bibtex" %}
{% set version = "2.3.0" %}

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
  sha256: 1aae1005935ae8e6499750b4ef1c8251a14ba16e025d0c0154fe2b6bf45defc0

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

requirements:
  host:
    - pip
    - python >=3.6
    - setuptools
    - docutils >=0.8
    - pybtex >=0.20
    - pybtex-docutils >=1
    - sphinx >=2.1
    - dataclasses  # can be removed when cf drops py3.6 support
  run:
    - python >=3.6
    - docutils >=0.8
    - pybtex >=0.20
    - pybtex-docutils >=1
    - sphinx >=2.1
    - dataclasses  # can be removed when cf drops py3.6 support

test:
  imports:
    - sphinxcontrib
    - sphinxcontrib.bibtex

about:
  home: https://github.com/mcmtroffaes/sphinxcontrib-bibtex
  license: BSD-2-Clause
  license_family: BSD
  license_file: LICENSE.rst
  summary: A Sphinx extension for BibTeX style citations.
  description: This extension allows BibTeX citations to be inserted into documentation generated by Sphinx."
  doc_url: http://sphinxcontrib-bibtex.readthedocs.org/en/latest/
  dev_url: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/

extra:
  recipe-maintainers:
    - croth1
