<commit_before>{% set name = "idyntree" %}
{% set version = "4.0.0" %}

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

source:
  url: https://github.com/robotology/idyntree/archive/refs/tags/v{{ version }}.tar.gz
  sha256: e7e5194823215246410dba6f2fe34b75e0197079924631aeb3e2ed3b8fd281ad

build:
  number: 0
  run_exports:
    - {{ pin_subpackage(name, max_pin='x') }}

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - pkg-config
    - ninja
    - {{ cdt('mesa-libgl-devel') }}
    - {{ cdt('mesa-dri-drivers') }}
    - {{ cdt('libselinux') }}
    - {{ cdt('libxdamage') }}
    - {{ cdt('libxxf86vm') }}
    - {{ cdt('libxext') }}
    - {{ cdt('libxcb') }}
    - {{ cdt('libxfixes') }}
    - {{ cdt('libxau') }}
    - {{ cdt('expat') }}

  host:
    - libxml2
    - ipopt
    - eigen
    - irrlicht
    - swig
    - python
    - numpy
    - osqp-eigen
    - xorg-libxfixes

  run:
    - python
    - {{ pin_compatible('numpy') }}

test:
  commands:
    - test -f ${PREFIX}/include/iDynTree/KinDynComputations.h  # [not win]
    - test -f ${PREFIX}/lib/libidyntree-core.so  # [linux]
    - test -f ${PREFIX}/lib/libidyntree-core.dylib  # [osx]
    - test -f ${PREFIX}/lib/cmake/iDynTree/iDynTreeConfig.cmake  # [not win]
    - if not exist %PREFIX%\\Library\\include\\iDynTree\\KinDynComputations.h exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\idyntree-core.lib exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\idyntree-core.dll exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\cmake\\iDynTree\\iDynTreeConfig.cmake exit 1  # [win]
  imports:
    - idyntree

about:
  home: https://github.com/robotology/idyntree
  license: LGPL-2.1-or-later
  license_file: LICENSE
  summary: iDynTree: Multibody Dynamics Library designed for Free Floating Robots.

extra:
  recipe-maintainers:
    - traversaro
<commit_msg>Update meta.yaml<commit_after>{% set name = "idyntree" %}
{% set version = "4.0.0" %}

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

source:
  url: https://github.com/robotology/idyntree/archive/refs/tags/v{{ version }}.tar.gz
  sha256: e7e5194823215246410dba6f2fe34b75e0197079924631aeb3e2ed3b8fd281ad

build:
  number: 0
  run_exports:
    - {{ pin_subpackage(name, max_pin='x') }}

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - cmake
    - pkg-config
    - ninja
    - {{ cdt('mesa-libgl-devel') }}
    - {{ cdt('mesa-dri-drivers') }}
    - {{ cdt('libselinux') }}
    - {{ cdt('libxdamage') }}
    - {{ cdt('libxxf86vm') }}
    - {{ cdt('libxext') }}
    - {{ cdt('libxcb') }}
    - {{ cdt('libxfixes') }}
    - {{ cdt('libxau') }}
    - {{ cdt('expat') }}

  host:
    - libxml2
    - ipopt
    - eigen
    - irrlicht
    - swig
    - python
    - numpy
    - osqp-eigen
    - xorg-libxfixes

  run:
    - python
    - {{ pin_compatible('numpy') }}

test:
  commands:
    - test -f ${PREFIX}/include/iDynTree/KinDynComputations.h  # [not win]
    - test -f ${PREFIX}/lib/libidyntree-core.so  # [linux]
    - test -f ${PREFIX}/lib/libidyntree-core.dylib  # [osx]
    - test -f ${PREFIX}/lib/cmake/iDynTree/iDynTreeConfig.cmake  # [not win]
    - if not exist %PREFIX%\\Library\\include\\iDynTree\\KinDynComputations.h exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\idyntree-core.lib exit 1  # [win]
    - if not exist %PREFIX%\\Library\\bin\\idyntree-core.dll exit 1  # [win]
    - if not exist %PREFIX%\\Library\\lib\\cmake\\iDynTree\\iDynTreeConfig.cmake exit 1  # [win]
  imports:
    - idyntree

about:
  home: https://github.com/robotology/idyntree
  license: LGPL-2.1-or-later
  license_file: LICENSE
  summary: Multibody Dynamics Library designed for Free Floating Robots.

extra:
  recipe-maintainers:
    - traversaro

{'fraction_non_alphanumeric': 0.17878868024332187, 'fraction_numerical': 0.03120867495371595, 'mean_word_length': 2.5679245283018868, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5365257', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1502, 'n_words': 250}