<commit_before>{% set name = "jkqtplotter" %}
{% set version = "2019.11.0" %}

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

source:
  url: https://github.com/jkriege2/JKQtPlotter/archive/v{{ version }}.tar.gz
  sha256: 94d39834c6f4e4afd4ad8511231a26d74fd88dc60d7b3ccd85b7ce00f32ff487

build:
  number: 0

requirements:
  build:
    - {{ compiler('cxx') }}
    - qt
    - cmake
    - make
    - {{ cdt('mesa-libgl-devel') }}      # [linux]
    - {{ cdt('mesa-dri-drivers') }}      # [linux]
    - {{ cdt('mesa-libegl-devel') }}     # [linux]
    - {{ cdt('libselinux') }}            # [linux]
    - {{ cdt('libxdamage') }}            # [linux]
    - {{ cdt('libxfixes') }}             # [linux]
    - {{ cdt('libxxf86vm') }}            # [linux]
    - {{ cdt('libxcb') }}                # [linux]
    - {{ cdt('libxext') }}               # [linux]
    - {{ cdt('xorg-x11-server-xvfb') }}  # [linux]
    - {{ cdt('libxau') }}                # [linux]
    - {{ cdt('libxi-devel') }}           # [linux]
  host:
    - qt
  run:
    - qt

test:
  commands:
      - test -f $PREFIX/lib/libJKQTPlotterSharedLib_Release.so  # [linux]
      - test -f $PREFIX/lib/libJKQTPlotterSharedLib_Release.dylib  # [osx]
      - if exist %LIBRARY_PREFIX%\lib\libJKQTPlotterSharedLib_Release.lib (exit 0) else (exit 1)  # [win]

about:<commit_msg>Use the proper name of the shared library<commit_after>{% set name = "jkqtplotter" %}
{% set version = "2019.11.0" %}

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

source:
  url: https://github.com/jkriege2/JKQtPlotter/archive/v{{ version }}.tar.gz
  sha256: 94d39834c6f4e4afd4ad8511231a26d74fd88dc60d7b3ccd85b7ce00f32ff487

build:
  number: 0

requirements:
  build:
    - {{ compiler('cxx') }}
    - qt
    - cmake
    - make
    - {{ cdt('mesa-libgl-devel') }}      # [linux]
    - {{ cdt('mesa-dri-drivers') }}      # [linux]
    - {{ cdt('mesa-libegl-devel') }}     # [linux]
    - {{ cdt('libselinux') }}            # [linux]
    - {{ cdt('libxdamage') }}            # [linux]
    - {{ cdt('libxfixes') }}             # [linux]
    - {{ cdt('libxxf86vm') }}            # [linux]
    - {{ cdt('libxcb') }}                # [linux]
    - {{ cdt('libxext') }}               # [linux]
    - {{ cdt('xorg-x11-server-xvfb') }}  # [linux]
    - {{ cdt('libxau') }}                # [linux]
    - {{ cdt('libxi-devel') }}           # [linux]
  host:
    - qt
  run:
    - qt

test:
  commands:
      - test -f $PREFIX/lib/libJKQTPlotterSharedLib_Release.so  # [linux]
      - test -f $PREFIX/lib/libJKQTPlotterSharedLib_Release.dylib  # [osx]
      - if exist %LIBRARY_PREFIX%\lib\JKQTPlotterSharedLib_Release.lib (exit 0) else (exit 1)  # [win]

about:
{'fraction_non_alphanumeric': 0.18913926856298485, 'fraction_numerical': 0.041374214998152935, 'mean_word_length': 2.119815668202765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4486379', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1064, 'n_words': 158}