{% set name = "pytest-astropy" %}
{% set version = "0.2.1" %}
{% set git_url = "https://github.com/astropy/pytest-astropy" %}
{% set sha256 = "ced990fe65145ba87a9d0ce16b9d0c162f0c339b47c04d51f54aa382acb55425" %}

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: {{ sha256 }}

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

requirements:
  build:
    - python
    - pip
    - pytest >=3.1
    - pytest-openfiles >=0.2
    - pytest-remotedata >=0.2
    - pytest-doctestplus >=0.1.2
    - pytest-arraydiff >=0.1
  run:
    - python
    - pytest >=3.1
    - pytest-openfiles >=0.2
    - pytest-remotedata >=0.2
    - pytest-doctestplus >=0.1.2
    - pytest-arraydiff >=0.1

test:
  imports:
    - pytest_remotedata
    - pytest_doctestplus
    - pytest_openfiles
    - pytest_arraydiff

about:
  home: {{ git_url }}
  license: BSD
  summary: 'Meta-package containing dependencies for testing Astropy'
  description: |
    This is a meta-package that pulls in the dependencies that are used by
    astropy and some affiliated packages for testing. It can also be used for
    testing packages that are not affiliated with the Astropy project.
  doc_url: {{ git_url }}
  dev_url: {{ git_url }}

extra:
  recipe-maintainers:
    - astrofrog-conda-forge
    - drdavella
    - mwcraig

Add recipe for pytest-astropy package
Add recipe for pytest-astropy package
