{% set name = "pyads" %}
{% set version = "3.1.2" %}

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

source:
  url: https://github.com/stlehmann/{{ name }}/releases/download/{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: ce00b9875a98f1d98448afb6be81978d5c37736de64ba9b9a432267a455fcbb7

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

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

test:
  imports:
    - pyads

about:
  home: https://github.com/stlehmann/pyads
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: Python wrapper for TwinCAT ADS
  description: |
    This is a python wrapper for TwinCATs ADS library. It provides python functions for
    communicating with TwinCAT devices. pyads uses the C API provided by TcAdsDll.dll on
    Windows adslib.so on Linux. The documentation for the ADS API is available on
    infosys.beckhoff.com.
  doc_url: https://pyads.readthedocs.io
  dev_url: https://github.com/stlehmann/pyads

extra:
  recipe-maintainers:
    - stlehmann

{% set name = "pyads" %}
{% set version = "3.1.2" %}

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

source:
  url: https://github.com/stlehmann/{{ name }}/releases/download/{{ version }}/{{ name }}-{{ version }}.tar.gz
  sha256: ce00b9875a98f1d98448afb6be81978d5c37736de64ba9b9a432267a455fcbb7

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

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - python
    - pip
  run:
    - python

test:
  imports:
    - pyads

about:
  home: https://github.com/stlehmann/pyads
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: Python wrapper for TwinCAT ADS
  description: |
    This is a python wrapper for TwinCATs ADS library. It provides python functions for
    communicating with TwinCAT devices. pyads uses the C API provided by TcAdsDll.dll on
    Windows adslib.so on Linux. The documentation for the ADS API is available on
    infosys.beckhoff.com.
  doc_url: https://pyads.readthedocs.io
  dev_url: https://github.com/stlehmann/pyads

extra:
  recipe-maintainers:
    - stlehmann

Remove noarch: python and add c-compiler build dependency
Remove noarch: python and add c-compiler build dependency
