<commit_before>{% set name = "bgen" %}
{% set version = "0.1.5" %}
{% set sha256 = "a53bfd2db030b9a242e947e13659f66294fa0082beb280226d4a98b5d5c6597e" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/glimix/bgen/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win32 or linux32 or (win64 and py27)]

requirements:
  build:
    - python  # [win]
    - conda-build
    - toolchain
    - cmake

test:
  requires:
    - python  # [win]
  commands:
    - test -e $PREFIX/lib/libbgen.so  # [linux]
    - test -e $PREFIX/lib/libbgen_static.a  # [linux]
    - test -e $PREFIX/lib/libbgen.dylib  # [osx]
    - test -e $PREFIX/lib/libbgen_static.a  # [osx]
    - if NOT exist %PREFIX%/lib/bgen.lib exit 1  # [win]
    - if NOT exist %PREFIX%/lib/bgen.dll exit 1  # [win]
    - if NOT exist %PREFIX%/lib/bgen_static.lib exit 1  # [win]

about:
  home: https://github.com/limix/bgen
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: 'A BGEN file format reader'
  doc_url: https://bgen.readthedocs.io
  dev_url: https://github.com/limix/bgen

extra:
  recipe-maintainers:
    - Horta
<commit_msg>zstd require<commit_after>{% set name = "bgen" %}
{% set version = "0.1.5" %}
{% set sha256 = "a53bfd2db030b9a242e947e13659f66294fa0082beb280226d4a98b5d5c6597e" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/glimix/bgen/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win32 or linux32 or (win64 and py27)]

requirements:
  build:
    - python  # [win]
    - conda-build
    - toolchain
    - cmake
    - zstd
  run:
    - zstd

test:
  requires:
    - python  # [win]
  commands:
    - test -e $PREFIX/lib/libbgen.so  # [linux]
    - test -e $PREFIX/lib/libbgen_static.a  # [linux]
    - test -e $PREFIX/lib/libbgen.dylib  # [osx]
    - test -e $PREFIX/lib/libbgen_static.a  # [osx]
    - if NOT exist %PREFIX%/lib/bgen.lib exit 1  # [win]
    - if NOT exist %PREFIX%/lib/bgen.dll exit 1  # [win]
    - if NOT exist %PREFIX%/lib/bgen_static.lib exit 1  # [win]

about:
  home: https://github.com/limix/bgen
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: 'A BGEN file format reader'
  doc_url: https://bgen.readthedocs.io
  dev_url: https://github.com/limix/bgen

extra:
  recipe-maintainers:
    - Horta

{'fraction_non_alphanumeric': 0.154, 'fraction_numerical': 0.0528, 'mean_word_length': 2.7722473604826545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '476802', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1028, 'n_words': 222}