<commit_before>{% set name = "libconeangle" %}
{% set version = "0.1.1" %}

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

source:
  url: https://github.com/kjelljorner/libconeangle/archive/v{{ version }}.tar.gz
  sha256: 81b141b14d87454aead2afc5e39f8b730e15851519f3de8bb344b15fb9417fc3

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('fortran') }}
    - cmake
    - fypp
    - ninja
    - make
  host:
    - pip
    - python
    - scikit-build
  run:
    - numpy >=1.20
    - python

test:
  imports:<commit_msg>Test to build windows from wheel<commit_after>{% set name = "libconeangle" %}
{% set version = "0.1.1" %}

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

source:
  url: https://github.com/kjelljorner/{{ name|lower }}/archive/v{{ version }}.tar.gz # [unix]
  # url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/libconeangle-{{ version }}.tar.gz
  sha256: 81b141b14d87454aead2afc5e39f8b730e15851519f3de8bb344b15fb9417fc3 # [unix]
  # url: https://pypi.org/packages/cp{{ CONDA_PY }}/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}-cp{{ CONDA_PY }}-cp{{ CONDA_PY }}-win_amd64.whl # [win]
  url: https://pypi.org/packages/cp{{ CONDA_PY }}/{{ name[0] }}/{{ name }}/{{ name }}-0.1.0-cp{{ CONDA_PY }}-cp{{ CONDA_PY }}-win_amd64.whl # [win]
  sha256: daa681fac077c258b97bc30dc81334e10a678254cdf7897f928041ba12f83a0d # [win and py38]
  sha256: 0fcafc2cf92f2a6067e72378bb4fcdde7810d938c7701fad32f0c01d30e6cf1a # [win and py39]
  fn: libconeangle.whl # [win]

build:
  script: {{ PYTHON }} -m pip install . -vv # [unix]
  script: {{ PYTHON }} -m pip install libconeangle.whl -vv # [win]
  number: 0

requirements:
  build:
    - {{ compiler('c') }} # [unix]
    - {{ compiler('cxx') }} # [unix]
    - {{ compiler('fortran') }} # [unix]
    - cmake # [unix]
    - fypp # [unix]
    - ninja # [unix]
    - make # [unix]
  host:
    - pip
    - python
    - scikit-build # [unix]
  run:
    - numpy >=1.20
    - python

test:
  imports:
{'fraction_non_alphanumeric': 0.18800188946622579, 'fraction_numerical': 0.09352857817666509, 'mean_word_length': 3.0652591170825336, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 5, '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': '4203450', 'n_tokens_mistral': 1014, 'n_tokens_neox': 904, 'n_words': 169}