{% set name = "comm" %}
{% set version = "0.1.2" %}

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

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

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

requirements:
  host:
    - python
    - pip
    - hatchling
    - wheel
  run:
    - python
    - traitlets >=5.3

test:
  imports:
    - comm
    - comm.base_comm
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/ipython/comm
  summary: Python Comm implementation for the Jupyter kernel protocol
  description: Python Comm implementation for the Jupyter kernel protocol
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  doc_url: https://github.com/ipython/comm/blob/main/README.md
  dev_url: https://github.com/ipython/comm

extra:
  recipe-maintainers:
    - martinRenou
