{% set name = "isal" %}
{% set version = "0.1.0" %}

package:
  name: "python-isal"  # To avoid confusion with isa-l proper
  version: "{{ version }}"

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

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

requirements:
  host:
    - pip
    - python
    - isa-l
    - cython
  run:
    - python
    - isa-l

test:
  imports:
    - isal

about:
  home: "https://github.com/pycompression/python-isal"
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: "Faster zlib and gzip compatible compression and decompression by providing python bindings for the isa-l library."
  doc_url: "https://python-isal.readthedocs.io" 
  dev_url: "https://github.com/pycompression/python-isal"

extra:
  recipe-maintainers:
    - rhpvorderman

{% set name = "isal" %}
{% set version = "0.1.0" %}

package:
  name: "python-isal"  # To avoid confusion with isa-l proper
  version: "{{ version }}"

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

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"
  # isa-l package only available on linux as of yet.
  skip: True  # [not linux]  

requirements:
  host:
    - pip
    - python
    - isa-l
    - cython
    - {{ compiler('c') }}
  run:
    - python
    - isa-l

test:
  imports:
    - isal

about:
  home: "https://github.com/pycompression/python-isal"
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: "Faster zlib and gzip compatible compression and decompression by providing python bindings for the isa-l library."
  doc_url: "https://python-isal.readthedocs.io" 
  dev_url: "https://github.com/pycompression/python-isal"

extra:
  recipe-maintainers:
    - rhpvorderman

Add C compiler. Skip unsupported OS's
Add C compiler. Skip unsupported OS's
