<commit_before>{% set version = "0.6.4.2" %}

package:
  name: yaml-cpp4rkt
  version: {{ version }}

source:
  url: https://github.com/reaktoro/yaml-cpp4rkt/archive/v{{ version }}.tar.gz
  sha256: 05b468624de9ed5b1ad0691f09d5b0d19579fc6547b6ed05573408a74461735c
  patches:
    - pkgconfig.patch  # [win]

build:
  number: 0
  skip: true  # [win]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake

  run_constrained:
    - yaml-cpp ==999999999999  # To avoid conflicts, yaml-cpp4rkt and yaml-cpp cannot coexist in the same conda environment.

test:
  requires:
    - {{ compiler('cxx') }}
    - cmake
  files:
    - test/
  commands:
    - test -f $PREFIX/lib/libyaml-cpp${SHLIB_EXT}  # [unix]
    - if not exist %LIBRARY_BIN%\\yaml-cpp.dll exit 1  # [win]

about:
  home: https://github.com/reaktoro/yaml-cpp4rkt
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'yaml-cpp4rkt is a fork of yaml-cpp to be used in Reaktoro (it exists to produce conda-forge package with most up-to-date version and bug-fixes of yaml-cpp, not yet released by the yaml-cpp team)'
  doc_url: https://github.com/reaktoro/yaml-cpp4rkt
  dev_url: https://github.com/reaktoro/yaml-cpp4rkt

extra:
  recipe-maintainers:
    - allanleal
<commit_msg>Fixed url<commit_after>{% set version = "0.6.4.2" %}

package:
  name: yaml-cpp4rkt
  version: {{ version }}

source:
  url: https://github.com/reaktoro/yaml-cpp4rkt/archive/v{{ version }}.rkt.tar.gz
  sha256: 05b468624de9ed5b1ad0691f09d5b0d19579fc6547b6ed05573408a74461735c
  patches:
    - pkgconfig.patch  # [win]

build:
  number: 0
  skip: true  # [win]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake

  run_constrained:
    - yaml-cpp ==999999999999  # To avoid conflicts, yaml-cpp4rkt and yaml-cpp cannot coexist in the same conda environment.

test:
  requires:
    - {{ compiler('cxx') }}
    - cmake
  files:
    - test/
  commands:
    - test -f $PREFIX/lib/libyaml-cpp${SHLIB_EXT}  # [unix]
    - if not exist %LIBRARY_BIN%\\yaml-cpp.dll exit 1  # [win]

about:
  home: https://github.com/reaktoro/yaml-cpp4rkt
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'yaml-cpp4rkt is a fork of yaml-cpp to be used in Reaktoro (it exists to produce conda-forge package with most up-to-date version and bug-fixes of yaml-cpp, not yet released by the yaml-cpp team)'
  doc_url: https://github.com/reaktoro/yaml-cpp4rkt
  dev_url: https://github.com/reaktoro/yaml-cpp4rkt

extra:
  recipe-maintainers:
    - allanleal

{'fraction_non_alphanumeric': 0.12509928514694202, 'fraction_numerical': 0.05798252581413821, 'mean_word_length': 3.2767402376910018, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 2, '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': '3078507', 'n_tokens_mistral': 1067, 'n_tokens_neox': 964, 'n_words': 227}