{% set name = "omsl" %}

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

source:
  url: {{ mslsourceurl }}
  sha256: {{ mslsourcesha256 }}

build:
  script_env:
   - MSLVERSION={{ mslversion }}
  number: 0
  skip: true  # [not linux]

requirements:
  host:
    - python
    - pip
  run:
    - python
    - omcompiler

test:
  requires:
    - pytest
    - python
    - omcompiler
    - libiconv           # required by omcompiler (if not already present on the host)
    - gcc_linux-64       # required by omcompiler (if not already present on the host)
    - gxx_linux-64       # required by omcompiler (if not already present on the host)
    - gfortran_linux-64  # required by omcompiler (if not already present on the host)
    - make               # required by omcompiler (if not already present on the host)
    - cmake              # required by omcompiler (if not already present on the host)

about:
  home: https://github.com/OpenModelica/OpenModelica-ModelicaStandardLibrary
  summary: 'OpenModelica Patched Version of the Modelica Standard Library'
  description: |
    The package Modelica is a free library that is developed together with
    the Modelica language from the Modelica Association. It is also called
    Modelica Standard Library. It provides model components and standard
    component interfaces from many engineering domains. Each model comes
    with documentation included.
    OpenModelica <https://openmodelica.org> is a Modelica simulation
    environment. It is required for the usage of this library and is provided
    by the conda package omcompiler.
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - joewa

{% set name = "omsl" %}

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

source:
  url: {{ mslsourceurl }}
  sha256: {{ mslsourcesha256 }}

build:
  script_env:
   - MSLVERSION={{ mslversion }}
  number: 0
  skip: true  # [not linux]

requirements:
  host:
    - python
    - pip
  run:
    - python
    - omcompiler

test:
  requires:
    - python

about:
  home: https://github.com/OpenModelica/OpenModelica-ModelicaStandardLibrary
  summary: 'OpenModelica Patched Version of the Modelica Standard Library'
  description: |
    The package Modelica is a free library that is developed together with
    the Modelica language from the Modelica Association. It is also called
    Modelica Standard Library. It provides model components and standard
    component interfaces from many engineering domains. Each model comes
    with documentation included.
    OpenModelica <https://openmodelica.org> is a Modelica simulation
    environment. It is required for the usage of this library and is provided
    by the conda package omcompiler.
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - joewa

Remove unnecessary dependencies for the current tests.
Remove unnecessary dependencies for the current tests.

Co-authored-by: Daniel Ching <4876789ef84f5ace0ae2b99f3357543ddc734747@users.noreply.github.com>