<commit_before>{% set name = "libsemigroups-python-bindings" %}
{% set version = "0.2.2" %}
{% set sha256 = "7764bedf64503dcb10679394d8b0df8581b791829e1aebee70bc8cf31f4309f2" %}
{% set repo = "https://github.com/james-d-mitchell/libsemigroups" %}
{% set home = "https://james-d-mitchell.github.io/libsemigroups/" %}

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

source:
  # The python bindings are not yet merged in master; fetch them from their git
  # branch instead
  #git_url: {{ repo }}.git
  #git_tag: python-bindings
  url: {{ repo }}/archive/conda-test.tar.gz 
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win]
  script:
    - export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
    - cd python-bindings
    - python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - toolchain
    - python
    - setuptools
    - cython
    - libsemigroups >=0.2.2
    - pytest-runner
    # pytest-cython # not yet on conda-forge

  run:
    - python
    - libsemigroups >=0.2.2

test:
  requires:
    - pytest
  commannds:
  - cd python-bindings && py.test
  imports: 
  - semigroups
  source_files:
    - python-bindings/*

about:
  home: {{ home }}
  license: GPL-3.0
  license_file: LICENSE
  summary: 'Python bindings for the libsemigroups C++ library for semigroups and monoids'

  description: |
    libsemigroups is a C++ library for semigroups and monoids.
    libsemigroups-python-bindings provides python bindings for it.
  doc_url: {{ home }}
  dev_url: {{ repo }}

extra:<commit_msg>Update checksum<commit_after>{% set name = "libsemigroups-python-bindings" %}
{% set version = "0.2.2" %}
{% set sha256 = "71ddb996d51c47dc881784816ef0b60280108d36d6111581fce07d4953ab1825" %}
{% set repo = "https://github.com/james-d-mitchell/libsemigroups" %}
{% set home = "https://james-d-mitchell.github.io/libsemigroups/" %}

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

source:
  # The python bindings are not yet merged in master; fetch them from their git
  # branch instead
  #git_url: {{ repo }}.git
  #git_tag: python-bindings
  url: {{ repo }}/archive/conda-test.tar.gz 
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [win]
  script:
    - export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
    - cd python-bindings
    - python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - toolchain
    - python
    - setuptools
    - cython
    - libsemigroups >=0.2.2
    - pytest-runner
    # pytest-cython # not yet on conda-forge

  run:
    - python
    - libsemigroups >=0.2.2

test:
  requires:
    - pytest
  commands:
  - cd python-bindings && py.test
  imports: 
  - semigroups
  source_files:
    - python-bindings/*

about:
  home: {{ home }}
  license: GPL-3.0
  license_file: LICENSE
  summary: 'Python bindings for the libsemigroups C++ library for semigroups and monoids'

  description: |
    libsemigroups is a C++ library for semigroups and monoids.
    libsemigroups-python-bindings provides python bindings for it.
  doc_url: {{ home }}
  dev_url: {{ repo }}

extra:
{'fraction_non_alphanumeric': 0.1306981192221868, 'fraction_numerical': 0.040803315269365634, 'mean_word_length': 3.0966057441253265, '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': '7581783', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1121, 'n_words': 270}