{% set name = "cryptoauthlib" %}
{% set version = "20210118" %}


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

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

build:
  number: 0
  skip: true  # [linux or py>=40]
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  build:
    - cmake                 
    - {{ compiler('c') }}
  host:
    - pip
    - python
    - setuptools >=38.6.0
    - wheel
  run:
    - enum34  # [py<34]
    - python

test:
  imports:
    - cryptoauthlib
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/MicrochipTech/cryptoauthlib
  summary: Python Wrapper Library for Microchip Security Products
  dev_url: https://github.com/MicrochipTech/cryptoauthlib
  license: Proprietary
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - bryan-hunt
    - KalyanCManukonda

{% set name = "cryptoauthlib" %}
{% set version = "20210118" %}


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

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

build:
  number: 0
  skip: true  # [linux or py>=40]
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  build:
    - cmake                 
    - {{ compiler('c') }}
  host:
    - pip
    - python
    - setuptools >=38.6.0
    - wheel
  run:
    - enum34  # [py<34]
    - python

test:
  imports:
    - cryptoauthlib
  commands:
    - python -c "from cryptoauthlib.library import get_size_by_name; get_size_by_name('ATCAIfaceCfg')"
  requires:
    - python

about:
  home: https://github.com/MicrochipTech/cryptoauthlib
  summary: Python Wrapper Library for Microchip Security Products
  dev_url: https://github.com/MicrochipTech/cryptoauthlib
  license: Proprietary
  license_file: LICENSE.txt

extra:
  recipe-maintainers:
    - bryan-hunt
    - KalyanCManukonda

Add a rationality test to ensure the library installed properly
Add a rationality test to ensure the library installed properly
