{% set version = "4.3.0" %}

package:
  name: psutil
  version: {{ version }}

source:
  fn: psutil-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/p/psutil/psutil-{{ version }}.tar.gz
  md5: ca97cf5f09c07b075a12a68b9d44a67d

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python

test:
  requires:
    - ipaddress    # [py<33]
    - mock         # [py<33]
    - unittest2    # [py<27]

  imports:
    - psutil
    - psutil.tests

about:
  home: https://github.com/giampaolo/psutil
  license: BSD 3-Clause
  summary: A cross-platform process and system utilities module for Python

{% set version = "5.0.1" %}

package:
  name: psutil
  version: {{ version }}

source:
  fn: psutil-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/p/psutil/psutil-{{ version }}.tar.gz
  md5: 153dc8be94badc4072016ceeac7808dc

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python

test:
  requires:
    - ipaddress    # [py<33]
    - mock         # [py<33]
    - unittest2    # [py<27]

  imports:
    - psutil
    - psutil.tests

about:
  home: https://github.com/giampaolo/psutil
  license: BSD 3-Clause
  summary: A cross-platform process and system utilities module for Python

Update psutil recipe to version 5.0.1
Update psutil recipe to version 5.0.1
