<commit_before>{% set name = "yt-dlg" %}
{% set version = "1.8.3" %}

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

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

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

requirements:
  host:
    - pip
    - polib
    - pyinstaller
    - python
  run:
    - polib >=1.1.0
    - pyinstaller <=4.6,>=3.6
    - pypubsub >=4.0.3
    - python
    - wxpython <=4.1.2a1,>=4.0.7.post2
    - numpy #required by wxpython
    - pillow #required by wxpython

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

about:
  home: https://oleksis.github.io/youtube-dl-gui/
  summary: Youtube Downloader GUI
  dev_url: https://github.com/oleksis/youtube-dl-gui/
  license: Unlicense
  license_file: LICENSE
  description: |
    A cross platform front-end GUI of the popular `youtube-dl` media downloader written in `wxPython`.

extra:
  recipe-maintainers:
    - HeavyTony2<commit_msg>Trying as noarch<commit_after>{% set name = "yt-dlg" %}
{% set version = "1.8.3" %}

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

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

build:
  noarch: python 
  script: {{ PYTHON }} -m pip install . -vv
  number: 0
  entry_points:
    - yt-dlg = youtube_dl_gui.app:main

requirements:
  host:
    - pip
    - polib
    - pyinstaller
    - python >=3.7
  run:
    - polib >=1.1.0
    - pyinstaller <=4.6,>=3.6
    - pypubsub >=4.0.3
    - python >=3.7
    - wxpython <=4.1.2a1,>=4.0.7.post2
    - numpy #required by wxpython
    - pillow #required by wxpython

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

about:
  home: https://oleksis.github.io/youtube-dl-gui/
  summary: Youtube Downloader GUI
  dev_url: https://github.com/oleksis/youtube-dl-gui/
  license: Unlicense
  license_file: LICENSE
  description: |
    A cross platform front-end GUI of the popular `youtube-dl` media downloader written in `wxPython`.

extra:
  recipe-maintainers:
    - HeavyTony2
{'fraction_non_alphanumeric': 0.1420576840292725, 'fraction_numerical': 0.06457167455876023, 'mean_word_length': 2.7483870967741937, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5867041', 'n_tokens_mistral': 990, 'n_tokens_neox': 908, 'n_words': 200}