{% set version = "1.7.7" %}

package:
  name: python-avro
  version: {{ version }}

source:
  # Avro exist as two versions in apache avro for py2 and py3.
  fn: avro-{{ version }}.tar.gz  # [py27]
  url: https://pypi.python.org/packages/source/a/avro/avro-{{ version }}.tar.gz  # [py27]
  md5: e21ae1dffea4c96ff151ce35ca5a8875  # [py27]

  fn: avro-python3-{{ version }}.tar.gz  # [py3k]
  url: https://pypi.python.org/packages/source/a/avro-python3/avro-python3-{{ version }}.tar.gz  # [py3k]
  md5: bd36c1e6fbb77ccff58c60bed48b982e  # [py3k]

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

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

test:
  imports:
    - avro

about:
  home: http://hadoop.apache.org/avro
  license: Apache 2.0
  summary: 'Avro is a serialization and RPC framework.'

extra:
  recipe-maintainers:
    - mariusvniekerk

{% set version = "1.7.7" %}

package:
  name: python-avro
  version: {{ version }}

source:  # [py27 or py3k]
  # Avro exist as two versions in apache avro for py2 and py3.
  fn: avro-{{ version }}.tar.gz  # [py27]
  url: https://pypi.python.org/packages/source/a/avro/avro-{{ version }}.tar.gz  # [py27]
  md5: e21ae1dffea4c96ff151ce35ca5a8875  # [py27]

  fn: avro-python3-{{ version }}.tar.gz  # [py3k]
  url: https://pypi.python.org/packages/source/a/avro-python3/avro-python3-{{ version }}.tar.gz  # [py3k]
  md5: bd36c1e6fbb77ccff58c60bed48b982e  # [py3k]

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

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

test:
  imports:
    - avro

about:
  home: http://hadoop.apache.org/avro
  license: Apache 2.0
  summary: 'Avro is a serialization and RPC framework.'

extra:
  recipe-maintainers:
    - mariusvniekerk

Hide source section if constraints are not met.
python-avro: Hide source section if constraints are not met.

[ci skip]
