<commit_before>{% set name = "jupyter-rfb" %}
{% set version = "0.1.2" %}


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

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

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

requirements:
  run_constrained:
    - jupyterlab >=3.0
  host:
    - jupyter-packaging >=0.7.9,<0.8
    - pip
    - python >=3.6
  run:
    - ipywidgets >=7.6.0
    - numpy
    - python >=3.6

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

about:
  home: https://github.com/vispy/jupyter_rfb
  summary: Remote Frame Buffer for Jupyter
  license: MIT<commit_msg>Add tests for extension output<commit_after>{% set name = "jupyter-rfb" %}
{% set version = "0.1.2" %}


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

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

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

requirements:
  run_constrained:
    - jupyterlab >=3.0
  host:
    - jupyter-packaging >=0.7.9,<0.8
    - pip
    - python >=3.6
  run:
    - ipywidgets >=7.6.0
    - numpy
    - python >=3.6

test:
  imports:
    - jupyter_rfb
  requires:
    - pip
    - jupyterlab
  commands:
    - pip check
    - jupyter labextension list
    - jupyter labextension list 1>labextensions 2>&1
    - cat labextensions | grep "jupyter_rfb.*OK.*jupyter_rfb"  # [unix]
    - dir %PREFIX%\share\jupyter\labextensions\jupyter_rfb\schemas\jupyter_rfb\plugin.json || exit 1  # [win]
    - ls ${PREFIX}/share/jupyter/labextensions/jupyter_rfb/schemas/jupyter_rfb/plugin.json  # [not win]

about:
  home: https://github.com/vispy/jupyter_rfb
  summary: Remote Frame Buffer for Jupyter
  license: MIT
{'fraction_non_alphanumeric': 0.14478282576135795, 'fraction_numerical': 0.0619071392910634, 'mean_word_length': 2.929411764705882, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2987495', 'n_tokens_mistral': 911, 'n_tokens_neox': 846, 'n_words': 162}