{% set name = "pythonnet" %}
{% set version = "2.4.0" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: a3a38e67fdfcda94df51c805343150016097f284771156f76839a9c3a24c90a9

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - glib  # [not win]
    - mono  # [not win]
    - pip
    - pkg-config  # [not win]
    - pycparser
    - python
  run:
    - mono  # [not win]
    - python

test:
  imports:
    - clr

about:
  home: http://pythonnet.github.io
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: '.Net and Mono integration for Python'
  description: |
    Python for .NET is a package that gives Python programmers nearly seamless integration with the
     .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET
      developers.
  dev_url: https://github.com/pythonnet/pythonnet

extra:
  recipe-maintainers:
    - m-rossi

{% set name = "pythonnet" %}
{% set version = "2.4.0" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: a3a38e67fdfcda94df51c805343150016097f284771156f76839a9c3a24c90a9

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  build:
    - glib  # [not win]
    - pkg-config  # [not win]
  host:
    - mono  # [not win]
    - pip
    - pycparser
    - python
  run:
    - mono  # [not win]
    - python

test:
  imports:
    - clr

about:
  home: http://pythonnet.github.io
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: '.Net and Mono integration for Python'
  description: |
    Python for .NET is a package that gives Python programmers nearly seamless integration with the
     .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET
      developers.
  dev_url: https://github.com/pythonnet/pythonnet

extra:
  recipe-maintainers:
    - m-rossi

Move pkg-config and glib to build section
Move pkg-config and glib to build section