<commit_before>{% set name = "py_stringmatching" %}
{% set version = "0.4.0" %}
{% set sha256 = "64794c179cefece8f337c9f458dfdce937b08efabad220e2dcdad81be3e95a66" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python -m pip install --no-deps --ignore-installed .
  skip: True  # [not x86_64]

requirements:
  build:
    - python
    - pip
    - toolchain
    - msinttypes  # [win and py27]
    - setuptools
    - cython
    - numpy 1.8.*   # [not (win and (py35 or py36))]
    - numpy 1.9.*   # [win and py35]
    - numpy 1.11.*  # [win and py36]
    - six
    - vc 9    # [win and py27]
    - vc 10   # [win and py34]
    - vc 14   # [win and py35]
    - vc 14   # [win and py36]
  run:
    - python
    - numpy >=1.7
    - numpy >=1.8   # [not (win and (py35 or py36))]
    - numpy >=1.9   # [win and py35]
    - numpy >=1.11  # [win and py36] 
    - six
    - vc 9    # [win and py27]
    - vc 10   # [win and py34]
    - vc 14   # [win and py35]
    - vc 14   # [win and py36]

test:
  imports:
    - py_stringmatching
    - py_stringmatching.similarity_measure
    - py_stringmatching.tests
    - py_stringmatching.tokenizer

about:
  home: https://sites.google.com/site/anhaidgroup/projects/py_stringmatching
  license: BSD
  license_file: LICENSE
  summary: 'Python library for string matching.'
  description: |
    This project seeks to build a Python software package that 
    consists of a comprehensive and scalable set of string tokenizers 
    (such as alphabetical tokenizers, whitespace tokenizers) and 
  doc_url: http://anhaidgroup.github.io/py_stringmatching/v0.4.x/index.html<commit_msg>new format for compilers; more specific license<commit_after>{% set name = "py_stringmatching" %}
{% set version = "0.4.0" %}
{% set sha256 = "64794c179cefece8f337c9f458dfdce937b08efabad220e2dcdad81be3e95a66" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python -m pip install --no-deps --ignore-installed .
  skip: True  # [not x86_64]

requirements:
  build:
    - {{ compiler('cxx') }}
    - msinttypes  # [vc9]
  host:
    - python
    - pip
    - setuptools
    - cython
    - numpy
    - six
  run:
    - python
    - {{ pin_compatible('numpy') }}
    - six

test:
  imports:
    - py_stringmatching
    - py_stringmatching.similarity_measure
    - py_stringmatching.tests
    - py_stringmatching.tokenizer

about:
  home: https://sites.google.com/site/anhaidgroup/projects/py_stringmatching
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: 'Python library for string matching.'
  description: |
    This project seeks to build a Python software package that 
    consists of a comprehensive and scalable set of string tokenizers 
    (such as alphabetical tokenizers, whitespace tokenizers) and 
  doc_url: http://anhaidgroup.github.io/py_stringmatching/
{'fraction_non_alphanumeric': 0.13174209547427154, 'fraction_numerical': 0.052076875387476754, 'mean_word_length': 2.713463751438435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '5697566', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1151, 'n_words': 300}