{% set name = "pyserial" %}
{% set version = "3.3" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2

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

requirements:
  build:
    - python
    - setuptools
  run:
    - python

test:
  imports:
    - serial

about:
  home: https://github.com/pyserial/pyserial
  license: PSF
  license_file: LICENSE.txt
  summary: Python serial port access library
  description: |
    pySerial encapsulates the access for the serial port. It provides backends
    for Python running on Windows, OSX, Linux, BSD (possibly any POSIX
    compliant system) and IronPython. The module named "serial" automatically
    selects the appropriate backend.
  doc_url: https://pythonhosted.org/pyserial/
  dev_url: https://github.com/pyserial/pyserial

{% set name = "pyserial" %}
{% set version = "3.4" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627

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

requirements:
  build:
    - python
    - setuptools
  run:
    - python

test:
  imports:
    - serial

about:
  home: https://github.com/pyserial/pyserial
  license: PSF
  license_file: LICENSE.txt
  summary: Python serial port access library
  description: |
    pySerial encapsulates the access for the serial port. It provides backends
    for Python running on Windows, OSX, Linux, BSD (possibly any POSIX
    compliant system) and IronPython. The module named "serial" automatically
    selects the appropriate backend.
  doc_url: https://pythonhosted.org/pyserial/
  dev_url: https://github.com/pyserial/pyserial

Update pyserial to version 3.4
Update pyserial to version 3.4
