{% set name = "OakVar" %}
{% set version = "2.12.18" %}
{% set sha256 = "00f82134ab83ff2d1de415de5f28991d5f3df92aa5ef2914d22661db718b12a7" %}

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

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

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

requirements:
  host:
    - python >=3.8
    - pip
    - setuptools
  run:
    - python >=3.8
    - requests
    - requests-toolbelt
    - liftover
    - markdown
    - aiohttp <4.0.0
    - chardet >=3.0.4
    - aiosqlite
    - oyaml
    - nest-asyncio
    - psutil
    - python-dateutil
    - download
    - gdown
    - split-file-reader
    - packaging
    - pillow
    - duckdb
    - rich
    - aiohttp-cors
    - pyjwt
    - polars
    - connectorx
    - pyarrow
    - multiprocess
    - pysimplegui
    - ujson
    - mpmath
    - twobitreader
    - intervaltree

test:
  imports:
    - cravat
    - oakvar
  commands:
    - ov --help

about:
  home: 'https://github.com/rkimoakbioinformatics/oakvar'
  summary: "OakVar - Genomic Variant Analysis Platform"
  dev_url: 'https://github.com/rkimoakbioinformatics/oakvar'
  license: 'AGPL-3.0-or-later'
  license_family: AGPL
  license_file: LICENSE
  doc_url: 'https://rkimoakbioinformatics.github.io/oakvar/'

extra:
  recipe-maintainers:
    - rkimoakbioinformatics
  identifiers:
    - biotools:oakvar
