{% set name = "gtabview" %}
{% set version = "0.10" %}
{% set sha256 = "f791b0a103c9eeb9aa7c76c47c85f16d682d77c07a6f433a0d8a50bd9e7df7e1" %}

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

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

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} setup.py install"

requirements:
  host:
    - python
    - setuptools
  run:
    - python >=2.7
    - pyqt

test:
  requires:
    - pyqt
  imports:
    - gtabview

about:
  home: https://github.com/TabViewer/gtabview/
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: 'Simple graphical tabular data viewer'
  description: |
    Simple tabular data viewer that can be used both stand-alone and as a
    Python module for various files and Python/Pandas/NumPy data structures.

extra:
  recipe-maintainers:
    - wavexx

{% set name = "gtabview" %}
{% set version = "0.10" %}
{% set sha256 = "f791b0a103c9eeb9aa7c76c47c85f16d682d77c07a6f433a0d8a50bd9e7df7e1" %}

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

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

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} setup.py install"

requirements:
  host:
    - python
    - setuptools
  run:
    - python >=2.7
    - pyqt

test:
  imports:
    # The following fails on linux64 due to
    # https://github.com/ContinuumIO/docker-images/issues/49#issuecomment-311556456
    # - gtabview
    - gtabview_cli

about:
  home: https://github.com/TabViewer/gtabview/
  license: MIT
  license_family: MIT
  license_file: LICENSE.txt
  summary: 'Simple graphical tabular data viewer'
  description: |
    Simple tabular data viewer that can be used both stand-alone and as a
    Python module for various files and Python/Pandas/NumPy data structures.

extra:
  recipe-maintainers:
    - wavexx

Test gtabview_cli to fix failing test on linux64
Test gtabview_cli to fix failing test on linux64
