<commit_before>{% set name = "yeadon" %}
{% set version = "1.3.0" %}
{% set sha256 = "9b1e7b39a70fb9eee864472416980ad30fa9d22616af1d41173a26908810cce8" %}

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 setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - numpy >=1.6.1
    - pyyaml >=3.10
    # NOTE : mayavi is not currently available for all platform and Python
    # combinations. As this improves, this selector should be modified.
    - mayavi >=4.0  # [(not (osx and py3k)) or not py36]

test:
  files:
    - ice_skating.py
    - male1.txt
    - import_test.py
  commands:
    - python ice_skating.py
    # NOTE : xvfb-run is used to mock an x server so that mayavi can be
    # imported without an actual x server.
    - xvfb-run python import_test.py  # [linux]
    - python import_test.py  # [osx or win]

about:
  home: https://github.com/chrisdembia/yeadon/
  doc_url: http://yeadon.readthedocs.org/
  dev_url: https://github.com/chrisdembia/yeadon/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.txt
  summary: 'Estimates the inertial properties of a human.'
  description: |
    This package calculates the masses, center of mass positions, and inertia
    tensors that correspond to the human inertia model developed by Yeadon in
    (Yeadon, 1990). The package allows for the input of both measurements and
    configuration variables (joint angles), and provides 3D visualization using
    the MayaVi package.

extra:
  recipe-maintainers:
    - moorepants
    - chrisdembia<commit_msg>Use x server mock for both scripts.<commit_after>{% set name = "yeadon" %}
{% set version = "1.3.0" %}
{% set sha256 = "9b1e7b39a70fb9eee864472416980ad30fa9d22616af1d41173a26908810cce8" %}

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 setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - numpy >=1.6.1
    - pyyaml >=3.10
    # NOTE : mayavi is not currently available for all platform and Python
    # combinations. As this improves, this selector should be modified.
    - mayavi >=4.0  # [(not (osx and py3k)) or not py36]

test:
  files:
    - ice_skating.py
    - male1.txt
    - import_test.py
  commands:
    # NOTE : xvfb-run is used to mock an x server so that mayavi can be
    # imported without an actual x server.
    - xvfb-run python ice_skating.py  # [linux]
    - python ice_skating.py  # [osx or win]
    - xvfb-run python import_test.py  # [linux]
    - python import_test.py  # [osx or win]

about:
  home: https://github.com/chrisdembia/yeadon/
  doc_url: http://yeadon.readthedocs.org/
  dev_url: https://github.com/chrisdembia/yeadon/
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.txt
  summary: 'Estimates the inertial properties of a human.'
  description: |
    This package calculates the masses, center of mass positions, and inertia
    tensors that correspond to the human inertia model developed by Yeadon in
    (Yeadon, 1990). The package allows for the input of both measurements and
    configuration variables (joint angles), and provides 3D visualization using
    the MayaVi package.

extra:
  recipe-maintainers:
    - moorepants
    - chrisdembia
{'fraction_non_alphanumeric': 0.11352785145888594, 'fraction_numerical': 0.03978779840848806, 'mean_word_length': 3.0592034445640475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '482076', 'n_tokens_mistral': 1381, 'n_tokens_neox': 1272, 'n_words': 388}