{% set name = "tbtamr" %}
{% set version = "1.0.2" %}
{% set sha256 = "3b1e669a015ed7bb40977c104ae22f3a4e1e49f07c84b7043f0e6b21c8a0957a" %}

package:
  name: "{{ name }}"
  version: "{{ version }}"

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

build:
  noarch: python
  number: 1
  entry_points:
    - tbtamr=tbtamr.tbtamr:main
  run_exports:
    - {{ pin_subpackage('tbtamr', max_pin="x.x") }}
  script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv"

requirements:
  host:
    - python >=3.10
    - pip
    - setuptools
  run:
    - python >=3.10
    - setuptools
    - mutamr
    - pandas
    - tabulate
    - unidecode
    
test:
  imports:
    - tbtamr
  commands:
    - tbtamr --help

about:
  home: "https://github.com/MDU-PHL/tbtamr"
  license: GPL-3.0-or-later
  license_file: LICENSE
  license_family: "GPL3"
  summary: "A tool implementing TB-Profiler for reporting of genomic DST for M. tuberculosis in a CPHL"
  dev_url: "https://github.com/MDU-PHL/tbtamr"

extra:
  recipe-maintainers:
    - kristyhoran
