{% set name = "singledispatchmethod" %}
{% set version = "1.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/singledispatchmethod-{{ version }}.tar.gz
  sha256: 183a7fbeab53b9c9d182f8b8f9c2d7e109a7d40afaa30261d81dd8de68cd73bf

build:
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - pip
    - python
    - setuptools-scm
  run:
    - python
    - singledispatch  # [py<34]

test:
  imports:
    - singledispatchmethod
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/ikalnytskyi/singledispatchmethod
  summary: Backport of @functools.singledispatchmethod to Python 2.7-3.7.
  dev_url: https://github.com/ikalnytskyi/singledispatchmethod
  license: BSD-4-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - bmcconeghy
    - asford

{% set name = "singledispatchmethod" %}
{% set version = "1.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/singledispatchmethod-{{ version }}.tar.gz
  sha256: 183a7fbeab53b9c9d182f8b8f9c2d7e109a7d40afaa30261d81dd8de68cd73bf

build:
  noarch: python >=3.4
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - pip
    - python
    - setuptools-scm
  run:
    - python

test:
  imports:
    - singledispatchmethod
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/ikalnytskyi/singledispatchmethod
  summary: Backport of @functools.singledispatchmethod to Python 2.7-3.7.
  dev_url: https://github.com/ikalnytskyi/singledispatchmethod
  license: BSD-4-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - bmcconeghy
    - asford

Change to noarch build with python>=3.4
Change to noarch build with python>=3.4
