{% set version = "0.4.1" %}

package:
  name: sqlparse
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/s/sqlparse/sqlparse-{{ version }}.tar.gz
  sha256: 0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . --no-deps -vv
  entry_points:
    - sqlformat = sqlparse.__main__:main

requirements:
  build:
    - python
    - pip
  run:
    - python

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

about:
  home: https://github.com/andialbrecht/sqlparse
  license: BSD-3-Clause
  license_file: LICENSE
  summary: A non-validating SQL parser module for Python.
  description: |
    sqlparse is a non-validating SQL parser for Python. It provides support
    for parsing, splitting and formatting SQL statements.
  doc_url: https://sqlparse.readthedocs.org
  dev_url: https://github.com/andialbrecht/sqlparse

extra:
  recipe-maintainers:
    - ocefpaf
