{% set name = "robyn" %}
{% set version = "0.6.1" %}


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

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

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

requirements:
  host:
    - maturin
    - poetry
    - pip
    - python >=3.8
  run:
    - python >=3.8
    - watchdog >=2.1.3,<3

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

about:
  home: https://github.com/sansyrox/robyn
  summary: Async Python backend server with a runtime written in Rust.
  license: BSD-2-Clause
  license_file: LICENSE
  doc_url: https://sansyrox.github.io/robyn/

extra:
  recipe-maintainers:
    - thewchan

{% set name = "robyn" %}
{% set version = "0.6.1" %}


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

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

build:
  skip: true  # [py<38]
  number: 0
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  build:
    - {{ compiler('rust') }}
    - maturin

  host:
    - maturin
    - poetry
    - pip
    - python
  run:
    - python
    - watchdog >=2.1.3,<3

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

about:
  home: https://github.com/sansyrox/robyn
  summary: Async Python backend server with a runtime written in Rust.
  license: BSD-2-Clause
  license_file: LICENSE
  doc_url: https://sansyrox.github.io/robyn/

extra:
  recipe-maintainers:
    - thewchan

Switch back to full build with rust and maturin
Switch back to full build with rust and maturin
