{% set name = "pytest" %}
{% set version = "3.0.6" %}
{% set sha256 = "643434a9f1a188271da35e20064cb8b6c5440976c5bb541dc7b5b0e3cf75d940" %}

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

requirements:
  build:
    - python
    - py
    - setuptools
    - argparse  # [py26]
  run:
    - python
    - setuptools
    - py >=1.4.29
    - argparse  # [py26]

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.0.7" %}
{% set sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab" %}

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
  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.0.7
Update pytest recipe to version 3.0.7

Change to noarch: python recipe
Remove argparse dependency for python 2.6 (never built)
