{% set name = "colour" %}
{% set version = "0.1.4" %}
{% set bundle = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash = "1357f37ddfd0d7c0e770f0772901635b3a38025a2480a44280510faca30fb509" %}
{% set build = 0 %}

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

source:
  fn: {{ name }}-{{ version }}.{{ bundle }}
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ bundle }}
  {{ hash_type }}: {{ hash }}

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

requirements:
  build:
    - python
    - setuptools
    - d2to1

  run:
    - python

test:
  imports:
    - colour

about:
  home: https://github.com/vaab/colour
  summary: 'Python color representations manipulation library (RGB, HSL, web, ...)'
  license_file: LICENSE
  license: BSD 2-Clause
  license_family: BSD
  dev_url: https://github.com/vaab/colour
  doc_url: https://github.com/vaab/colour

extra:
  recipe-maintainers:
    - pmlandwehr

{% set name = "colour" %}
{% set version = "0.1.4" %}
{% set bundle = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash = "1357f37ddfd0d7c0e770f0772901635b3a38025a2480a44280510faca30fb509" %}
{% set build = 0 %}

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

source:
  fn: {{ name }}-{{ version }}.{{ bundle }}
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ bundle }}
  {{ hash_type }}: {{ hash }}

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

requirements:
  build:
    - python
    - setuptools
    - d2to1

  run:
    - python

test:
  imports:
    - colour

about:
  home: https://github.com/vaab/colour
  summary: 'Python color representations manipulation library (RGB, HSL, web, ...)'
  license_file: LICENSE
  license: BSD 2-Clause
  license_family: BSD
  dev_url: https://github.com/vaab/colour
  doc_url: https://github.com/vaab/colour

extra:
  recipe-maintainers:
    - pmlandwehr

Add noarch: python to colour
Add noarch: python to colour