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

package:
  name: spdlib
  version: {{ version }}

source:
  url: https://bitbucket.org/petebunting/spdlib/downloads/spdlib-{{ version }}.tar.gz
  sha256: ded350c5eedb7b3b92a84a1e2d6dfa4c6f9ecb09bd83f0fcfb7fe17c1595b9c7
  patches:
    - python_numeric.cpp.patch

build:
    number: 0
    # CGAL etc do not support earlier than vc14
    skip: True  # [py<35]
    features:
        - vc9  # [win and py27]
        - vc10  # [win and py34]
        - vc14  # [win and (py35 or py36)]

requirements:
  build:
    - cmake
    - python
    # npgpython bindings link to numpy
    - numpy 1.8.*  # [not (win and (py35 or py36))]
    - numpy 1.9.*  # [win and py35]
    - numpy 1.11.*  # [win and py36]
    - toolchain
    # need full boost because of Python bindings
    - boost 1.66.*
    - hdf5 1.10.1
    - xerces-c 3.2.0<commit_msg>put win skip back in as this was just for py<35...<commit_after>{% set version = "3.3.0" %}

package:
  name: spdlib
  version: {{ version }}

source:
  url: https://bitbucket.org/petebunting/spdlib/downloads/spdlib-{{ version }}.tar.gz
  sha256: ded350c5eedb7b3b92a84a1e2d6dfa4c6f9ecb09bd83f0fcfb7fe17c1595b9c7
  patches:
    - python_numeric.cpp.patch

build:
    number: 0
    # CGAL etc do not support earlier than vc14
    skip: True  # [win and py<35]
    features:
        - vc9  # [win and py27]
        - vc10  # [win and py34]
        - vc14  # [win and (py35 or py36)]

requirements:
  build:
    - cmake
    - python
    # npgpython bindings link to numpy
    - numpy 1.8.*  # [not (win and (py35 or py36))]
    - numpy 1.9.*  # [win and py35]
    - numpy 1.11.*  # [win and py36]
    - toolchain
    # need full boost because of Python bindings
    - boost 1.66.*
    - hdf5 1.10.1
    - xerces-c 3.2.0
{'fraction_non_alphanumeric': 0.12212885154061624, 'fraction_numerical': 0.0907563025210084, 'mean_word_length': 2.271062271062271, 'pattern_counts': {'":': 0, '<': 6, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6477920', 'n_tokens_mistral': 799, 'n_tokens_neox': 727, 'n_words': 187}