{% set name = "sphinx-intl" %}
{% set version = "2.0.1" %}


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

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

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

requirements:
  host:
    - pip
    - python >=3.5
  run:
    - babel
    - click
    - python >=3.5
    - setuptools
    - sphinx

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

about:
  home: https://github.com/sphinx-doc/sphinx-intl
  summary: Sphinx utility that make it easy to translate and to apply translation.
  license: BSD-2-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - maresb

{% set name = "sphinx-intl" %}
{% set version = "2.0.1" %}


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

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

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  entry_points:
    - sphinx-intl = sphinx_intl.commands:main

requirements:
  host:
    - pip
    - python >=3.5
  run:
    - babel
    - click
    - python >=3.5
    - setuptools
    - sphinx

test:
  imports:
    - sphinx_intl
  commands:
    - pip check
    - sphinx-intl --help
  requires:
    - pip

about:
  home: https://github.com/sphinx-doc/sphinx-intl
  summary: Sphinx utility that make it easy to translate and to apply translation.
  license: BSD-2-Clause
  license_file: LICENSE

extra:
  recipe-maintainers:
    - maresb

Add entrypoint and command line test
Add entrypoint and command line test
