{% set name = "pyreports" %}
{% set version = "1.4.0" %}

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

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

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

requirements:
  host:
    - pip
    - python >=3.7
  run:
    - ldap3
    - mysql-connector-python
    - nosqlapi
    - psycopg2
    - pymssql
    - python >=3.7
    - tablib

test:
  imports:
    - pyreports
  commands:
    - pip list | grep -E "{{ name }}\s+{{ version }}"
  requires:
    - pip
    - m2-grep  # [win]

about:
  home: https://github.com/MatteoGuadrini/pyreports
  doc_url: https://matteoguadrini.github.io/pyreports
  summary: pyreports is a python library that allows you to create complex report from various sources
  license: GPL-3.0-or-later
  license_file: LICENSE.md

extra:
  recipe-maintainers:
    - thewchan

{% set name = "pyreports" %}
{% set version = "1.4.0" %}

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

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

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

requirements:
  host:
    - pip
    - python >=3.7
  run:
    - ldap3
    - mysql-connector-python
    - nosqlapi
    - psycopg2
    - pymssql
    - python >=3.7
    - tablib

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

about:
  home: https://github.com/MatteoGuadrini/pyreports
  doc_url: https://matteoguadrini.github.io/pyreports
  summary: pyreports is a python library that allows you to create complex report from various sources
  license: GPL-3.0-or-later
  license_file: LICENSE.md

extra:
  recipe-maintainers:
    - thewchan

Revert "Switch to grep test"
Revert "Switch to grep test"

This reverts commit 1e36010234dd09e5043de72e207ca659e2ca4260.
