{% set name = "transifex-client" %}
{% set version = "0.14.2" %}


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

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

build:
  number: 0
  noarch: python
  entry_points:
    - tx=txclib.cmdline:main
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python <3.10
  run:
    - gitpython <4.0.0
    - python <3.10
    - python-slugify <5.0.0
    - requests >=2.19.1,<3.0.0
    - six <2.0.0
    - urllib3 >=1.24.2,<2.0.0

test:
  imports:
    - txclib
  commands:
    - pip check
    - tx --help
  requires:
    - pip

about:
  home: https://www.transifex.com
  summary: A command line interface for Transifex
  license: GPL-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - maresb

{% set name = "transifex-client" %}
{% set version = "0.14.2" %}


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

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

build:
  number: 0
  noarch: python
  entry_points:
    - tx=txclib.cmdline:main
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python <3.10
  run:
    - gitpython <4.0.0
    - python <3.10
    - python-slugify <5.0.0
    - requests >=2.19.1,<3.0.0
    - six <2.0.0
    - urllib3 >=1.24.2,<2.0.0

test:
  imports:
    - txclib
  commands:
    - pip check
    - tx --version
  requires:
    - pip

about:
  home: https://www.transifex.com
  summary: A command line interface for Transifex
  license: GPL-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - maresb

Replace invalid test flag --help with valid --version
Replace invalid test flag --help with valid --version
