{% set name = "drawsvg" %}
{% set version = "1.8.3" %}

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

source:
  url: https://github.com/cduck/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
  sha256: 9d05dbbffb7d25ce6f4af6d8c436ccc8e2f21e50051185f718904d4be351e6bf

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

requirements:
  host:
    - pip
    - python >=3.6
  run:
    - cairosvg
    - imageio
    - numpy
    - python >=3.6

test:
  imports:
    - drawSvg
    - drawSvg.widgets
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/cduck/drawSvg
  summary: Library for programmatically generating SVG images
  license: MIT
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - thewchan

{% set name = "drawSvg" %}
{% set version = "1.8.3" %}

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

source:
  url: https://github.com/cduck/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
  sha256: 9d05dbbffb7d25ce6f4af6d8c436ccc8e2f21e50051185f718904d4be351e6bf

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

requirements:
  host:
    - pip
    - python >=3.6
  run:
    - cairosvg
    - imageio
    - numpy
    - python >=3.6

test:
  imports:
    - drawSvg
    - drawSvg.widgets
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/cduck/drawSvg
  summary: Library for programmatically generating SVG images
  license: MIT
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - thewchan

Change import drawsvg -> drawSvg
Change import drawsvg -> drawSvg
