{% set name = "pytest" %}
{% set version = "3.1.1" %}
{% set sha256 = "0173a366a259e1d23b0f433b1f06e1b753110bb33e77a79bd8ea54cbd0b5df15" %}

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:
  number: 0
  noarch: python
  script: python setup.py install --single-version-externally-managed --record=record.txt
  entry_points:
    - py.test = py.test:main

requirements:
  build:
    - python
    - py
    - setuptools
    - setuptools_scm
  run:
    - python
    - setuptools
    - py >=1.4.29

test:
  commands:
    - py.test -h
  imports:
    - pytest

about:
  home: http://pytest.org/
  license: MIT
  license_file: LICENSE
  summary: 'Simple and powerful testing with Python.'
  description: |
    The pytest framework makes it easy to write small tests, yet scales to
    support complex functional testing for applications and libraries.
  doc_url: http://pytest.org/latest/contents.html
  dev_url: https://github.com/pytest-dev/pytest/

{% set name = "pytest" %}
{% set version = "3.1.2" %}
{% set sha256 = "795ec29fbba70b22a593691ce8bcd4bdde2dc96e8099731f73c7d8bb3ce879bf" %}

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:
  number: 0
  noarch: python
  script: python setup.py install --single-version-externally-managed --record=record.txt
  entry_points:
    - py.test = py.test:main

requirements:
  build:
    - python
    - py
    - setuptools
    - setuptools_scm
  run:
    - python
    - setuptools
    - py >=1.4.29

test:
  commands:
    - py.test -h
  imports:
    - pytest

about:
  home: http://pytest.org/
  license: MIT
  license_file: LICENSE
  summary: 'Simple and powerful testing with Python.'
  description: |
    The pytest framework makes it easy to write small tests, yet scales to
    support complex functional testing for applications and libraries.
  doc_url: http://pytest.org/latest/contents.html
  dev_url: https://github.com/pytest-dev/pytest/

Update pytest recipe to version 3.1.2
Update pytest recipe to version 3.1.2
