{% set name = "json5" %}
{% set version = "0.9.6" %}

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

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

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . --no-deps -vv "
  entry_points:
    - pyjson5 = json5.tool:main

requirements:
  host:
    - pip
    - python
    - setuptools
    - wheel
  run:
    - python

test:
  imports:
    - json5
    - json5.arg_parser
    - json5.host
    - json5.parser
    - json5.lib
    - json5.tool
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/dpranke/pyjson5
  license: Apache-2.0
  license_family: Apache
  license_file: LICENSE
  summary: A Python implementation of the JSON5 data format
  dev_url: https://github.com/dpranke/pyjson5

extra:
  recipe-maintainers:
    - ian-r-rose
