<commit_before>{% set version = '%s_%04i_%s'|format(
    environ.get('GIT_DESCRIBE_TAG', 'v0.X'),
    environ.get('GIT_DESCRIBE_NUMBER', '0')|int,
    environ.get('GIT_DESCRIBE_HASH', 'gUNKNOWN')
    ) %}

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

source:
  git_url: https://github.com/libusb/hidapi
  git_rev: master

build:
  # number: 201803050325
  number: {{ environ.get('DATE_NUM') }}
  # string: 20180305_0325
  string: {{ environ.get('DATE_STR') }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - {{ compiler('c') }}
    - libusb
    - automake
    - autoconf
    - cmake
    - libtool
    - make
  host:
    - pkg-config [not win]<commit_msg>Update libhidapi dependencies for Windows<commit_after>{% set version = '%s_%04i_%s'|format(
    environ.get('GIT_DESCRIBE_TAG', 'v0.X'),
    environ.get('GIT_DESCRIBE_NUMBER', '0')|int,
    environ.get('GIT_DESCRIBE_HASH', 'gUNKNOWN')
    ) %}

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

source:
  git_url: https://github.com/libusb/hidapi
  git_rev: master

build:
  # number: 201803050325
  number: {{ environ.get('DATE_NUM') }}
  # string: 20180305_0325
  string: {{ environ.get('DATE_STR') }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - {{ compiler('c') }}
    - libusb
    - automake [not win]
    - autoconf [not win]
    - cmake
    - libtool [not win]
    - make [not win]
  host:
    - pkg-config [not win]
{'fraction_non_alphanumeric': 0.15966386554621848, 'fraction_numerical': 0.0392156862745098, 'mean_word_length': 3.0253521126760563, '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': '7420411', 'n_tokens_mistral': 604, 'n_tokens_neox': 578, 'n_words': 101}