{% set name = "asyncqt" %}
{% set version = "0.7.0" %}

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

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

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

requirements:
  host:
    - pip
    - python >=3.5
    - setuptools
  run:
    - python >=3.5

test:
  requires:
    - pyside2
  imports:
    - asyncqt

about:
  home: https://github.com/gmarull/asyncqt
  license: BSD
  license_family: BSD
  license_file: LICENSE
  summary: Implementation of the PEP 3156 Event-Loop with Qt.

extra:
  recipe-maintainers:
    - nicoddemus

{% set name = "asyncqt" %}
{% set version = "0.7.0" %}

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

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

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "

requirements:
  host:
    - pip
    - python >=3.5
    - setuptools
  run:
    - python >=3.5

test:
  requires:
    - pyside2
    - xorg-libx11 # [linux]
  imports:
    - asyncqt

about:
  home: https://github.com/gmarull/asyncqt
  license: BSD
  license_family: BSD
  license_file: LICENSE
  summary: Implementation of the PEP 3156 Event-Loop with Qt.

extra:
  recipe-maintainers:
    - nicoddemus

Add xorg-libx11 as a test requirement
Add xorg-libx11 as a test requirement