<commit_before>{% set name = "weblogo" %}
{% set version = "3.7.8" %}
{% set license = "MIT" %}
{% set license_file = "LICENSE.txt" %}


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

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

build:
  number: 0
  noarch: python
  entry_points:
    - weblogo = weblogo._cli:main
    - transformseq = weblogo._transformseq:main
  script_env:
    ## NOTE:
    # source: https://docs.conda.io/projects/conda-build/en/latest/user-guide/environment-variables.html#inherited-environment-variables
    # To include the environment variable SEP_CHAR in jinja2 expressions, use:
    # {{ environ(""SEP_CHAR") }}LICENSE 
    #     --> /LICENSE  (for osx, linux)
    #     --> \\LICENSE  (for win)
    - SEP_CHAR=/  # [not win]
    - SEP_CHAR=\\  # [win]
  script:
    {% set licenses = [
      "LICENSE_biopython.txt",
      "LICENSE_BSD-3-clause.txt",
      "LICENSE_CC-BY-ND-1.0.txt",
      "LICENSE_weblogo_color.py.txt",
      "LICENSE_weblogo_colorscheme.py.txt",
      "LICENSE_weblogo_data.py.txt",
      "LICENSE_weblogo_logomath.py.txt",
      "LICENSE_weblogo_matrix.py.txt",
      "LICENSE_weblogo_MIT_1.txt",
      "LICENSE_weblogo_MIT_2.txt",
      "LICENSE_weblogo_MIT_3.txt",
      "LICENSE_weblogo_MIT_4.txt",
      "LICENSE_weblogo_seq.py.txt",
      "LICENSE_weblogo_seqio.txt",
      "LICENSE_weblogo_transform.py.txt",
    ] %}
    - cp -r ${RECIPE_DIR}/licenses licenses  # [not win]
    - xcopy /s /e /q /i %RECIPE_DIR%\licenses licenses  # [win]
    ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
    # - touch Cargo.toml  # [not win]
    # - echo -e '[package]\nname = "{{ name|lower }}"\nversion = "{{ version }}"\n' >> Cargo.toml  # [not win]
    # - echo -e 'license = "{{ license }}"\nlicense-file = "{{ license_file }}"\n' >> Cargo.toml  # [not win]
    # - cat Cargo.toml  # [not win]
    # - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml  # [not win]
    - {{ PYTHON }} -m pip install . -vv

requirements:
  ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
  # build:
  #   - {{ compiler('rust') }}
  #   - cargo-bundle-licenses
  host:
    - pip
    - python >=3.6
    - setuptools-scm
  run:
    - python >=3.6
    - numpy
    - scipy
    - setuptools

test:
  imports:
    - weblogo
    - weblogo.seq_io
    - weblogo.seq_io._nexus
    - weblogo.utils
  commands:
    - pip check
    - weblogo --help
    - transformseq --help
  requires:
    - pip

about:
  home: https://github.com/WebLogo/weblogo
  summary: 'WebLogo3 : Sequence Logos Redrawn'
  license: MIT
  license_file: 
    - LICENSE.txt
    ## Additional licenses
    {% for license in licenses %}
    - licenses{{ environ["SEP_CHAR"] }}{{ license }}
    {% endfor %}<commit_msg>updated recipe: weblogo<commit_after>{% set name = "weblogo" %}
{% set version = "3.7.8" %}
{% set license = "MIT" %}
{% set license_file = "LICENSE.txt" %}


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

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

build:
  number: 0
  noarch: python
  entry_points:
    - weblogo = weblogo._cli:main
    - transformseq = weblogo._transformseq:main
  script_env:
    ## NOTE:
    # source: https://docs.conda.io/projects/conda-build/en/latest/user-guide/environment-variables.html#inherited-environment-variables
    # To include the environment variable SEP_CHAR in jinja2 expressions, use:
    # {{ environ(""SEP_CHAR") }}LICENSE 
    #     --> /LICENSE  (for osx, linux)
    #     --> \\LICENSE  (for win)
    - IS_UNIX=1  # [not win]
    - IS_UNIX=0  # [win]
  script:
    {% set licenses = [
      "LICENSE_biopython.txt",
      "LICENSE_BSD-3-clause.txt",
      "LICENSE_CC-BY-ND-1.0.txt",
      "LICENSE_weblogo_color.py.txt",
      "LICENSE_weblogo_colorscheme.py.txt",
      "LICENSE_weblogo_data.py.txt",
      "LICENSE_weblogo_logomath.py.txt",
      "LICENSE_weblogo_matrix.py.txt",
      "LICENSE_weblogo_MIT_1.txt",
      "LICENSE_weblogo_MIT_2.txt",
      "LICENSE_weblogo_MIT_3.txt",
      "LICENSE_weblogo_MIT_4.txt",
      "LICENSE_weblogo_seq.py.txt",
      "LICENSE_weblogo_seqio.txt",
      "LICENSE_weblogo_transform.py.txt",
    ] %}
    - cp -r ${RECIPE_DIR}/licenses licenses  # [not win]
    - xcopy /s /e /q /i %RECIPE_DIR%\licenses licenses  # [win]
    ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
    # - touch Cargo.toml  # [not win]
    # - echo -e '[package]\nname = "{{ name|lower }}"\nversion = "{{ version }}"\n' >> Cargo.toml  # [not win]
    # - echo -e 'license = "{{ license }}"\nlicense-file = "{{ license_file }}"\n' >> Cargo.toml  # [not win]
    # - cat Cargo.toml  # [not win]
    # - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml  # [not win]
    - {{ PYTHON }} -m pip install . -vv

requirements:
  ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
  # build:
  #   - {{ compiler('rust') }}
  #   - cargo-bundle-licenses
  host:
    - pip
    - python >=3.6
    - setuptools-scm
  run:
    - python >=3.6
    - numpy
    - scipy
    - setuptools

test:
  imports:
    - weblogo
    - weblogo.seq_io
    - weblogo.seq_io._nexus
    - weblogo.utils
  commands:
    - pip check
    - weblogo --help
    - transformseq --help
  requires:
    - pip

about:
  home: https://github.com/WebLogo/weblogo
  summary: 'WebLogo3 : Sequence Logos Redrawn'
  license: MIT
  license_file: 
    - LICENSE.txt
    ## Additional licenses
    {% if environ("IS_UNIX")==1 %}
      {% set sepchar = "/" %}
    {% else %}
      {% set sepchar = "\\" %}
    {% endif %}
    {% for license in licenses %}
    - "licenses{{ sepchar }}{{ license }}"
    {% endfor %}
{'fraction_non_alphanumeric': 0.15495587236931432, 'fraction_numerical': 0.02053632043448744, 'mean_word_length': 2.6220036877689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 6, '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': '6168869', 'n_tokens_mistral': 2349, 'n_tokens_neox': 2227, 'n_words': 422}