{% set name = "pytest-doctestplus" %}
{% set version = "0.10.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-doctestplus-{{ version }}.tar.gz
  sha256: 7e9e0912c206c53cd6ee996265aa99d5c99c9334e37d025ce6114bc0416ffc14

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

requirements:
  host:
    - pip
    - python >=3.7
    - setuptools_scm
  run:
    - pip
    - pytest >=4.6
    - packaging >=17.0
    - python >=3.7
    - setuptools >=30.3

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

about:
  home: https://github.com/astropy/pytest-doctestplus
  summary: Pytest plugin with advanced doctest features.
  description: |
    This package contains a plugin for the pytest framework that provides
    advanced doctest support and enables the testing of reStructuredText files.
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.rst
  doc_url: https://pypi.org/project/pytest-doctestplus/
  dev_url: https://github.com/astropy/pytest-doctestplus

extra:
  recipe-maintainers:
    - anthchirp
    - astrofrog-conda-forge
    - pllim
    - mwcraig
