<commit_before>{% set name = "geocat-comp" %}
{% set version = "2022.03.0" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://github.com/NCAR/{{ name }}/archive/v{{ version }}.tar.gz   # For building from a specific tag's tarball
  sha256: ec73166e12f20867821365ef8467d970288132093f7a680c206ab2d661d61c4d
  # git_tag: v{{ version }}   # For building from a specific tag
  # git_rev: main # For building from main branch for debugging purposes
  # git_url: https://github.com/NCAR/{{ name }}.git

build:
  noarch: python
  number: 0

requirements:
  build:
    - python                              # [build_platform != target_platform]
    - pip                                 # [build_platform != target_platform]
    - setuptools                          # [build_platform != target_platform]
    - cross-python_{{ target_platform }}  # [build_platform != target_platform]
  host:
    - python >=3.8
    - pip
    - setuptools
  run:
    - python >=3.8
    - cf_xarray >=0.3.1
    - cftime
    - dask
    - eofs
    - geocat-f2py
    - metpy
    - numpy
    - scipy
    - xarray

test:
  requires:
    - pytest
    - netcdf4
    - geocat-datafiles
  imports:
    - geocat
    - geocat.comp
  commands:
    - pip check
    - pytest test
  source_files:
    - test
<commit_msg>Add pip<commit_after>{% set name = "geocat-comp" %}
{% set version = "2022.03.0" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://github.com/NCAR/{{ name }}/archive/v{{ version }}.tar.gz   # For building from a specific tag's tarball
  sha256: ec73166e12f20867821365ef8467d970288132093f7a680c206ab2d661d61c4d
  # git_tag: v{{ version }}   # For building from a specific tag
  # git_rev: main # For building from main branch for debugging purposes
  # git_url: https://github.com/NCAR/{{ name }}.git

build:
  noarch: python
  number: 0

requirements:
  build:
    - python                              # [build_platform != target_platform]
    - pip                                 # [build_platform != target_platform]
    - setuptools                          # [build_platform != target_platform]
    - cross-python_{{ target_platform }}  # [build_platform != target_platform]
  host:
    - python >=3.8
    - pip
    - setuptools
  run:
    - python >=3.8
    - cf_xarray >=0.3.1
    - cftime
    - dask
    - eofs
    - geocat-f2py
    - metpy
    - numpy
    - scipy
    - xarray

test:
  requires:
    - pytest
    - pip
    - netcdf4
    - geocat-datafiles
  imports:
    - geocat
    - geocat.comp
  commands:
    - pip check
    - pytest test
  source_files:
    - test

{'fraction_non_alphanumeric': 0.11641221374045801, 'fraction_numerical': 0.051908396946564885, 'mean_word_length': 1.9954285714285713, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '7222823', 'n_tokens_mistral': 988, 'n_tokens_neox': 915, 'n_words': 210}