{% set name = "gTTS" %}
{% set version = "2.2.3" %}


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

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

build:
  number: 0
  noarch: python
  entry_points:
    - gtts-cli = gtts.cli:tts_cli
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python >=3.7
    - setuptools
    - wheel
  run:
    - click
    - python >=3.7
    - requests
    - six

test:
  imports:
    - gtts
    - gtts.tests
  commands:
    - pip check
    - gtts-cli --help
  requires:
    - pip

about:
  home: https://github.com/pndurette/gTTS
  doc_url: http://gtts.readthedocs.org/
  summary: Python library and CLI tool to interface with Google Translate text-to-speech API
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - thewchan

Add gTTS as a package.
Add gTTS as a package.
