package:
  name: pysam
  version: 0.10.0

source:
  url: https://pypi.python.org/packages/87/8e/d2d8238558970df37c7aa01ddec63057a98042334e939b4c1c69cb9a2504/pysam-0.10.0.tar.gz
  md5: a1f3333ce60f8de542624cb07c792fc0
  patches:  # [osx]
    - osx_rpath.patch  # [osx]

build:
  number: 13
  skip: True  # [py>=37]
  binary_relocation: False # [linux]
  script: python -m pip install --no-deps --ignore-installed .

requirements:
  build:
    - {{ compiler('c') }}
    - make
  host:
    - htslib >=1.3,<1.4
    - samtools >=1.3,<1.4
    - bcftools >=1.3,<1.4
    - cython
    - python
    - pip
    - setuptools <58
    - zlib
    - curl
  run:
    - htslib >=1.3,<1.4
    - samtools >=1.3,<1.4
    - bcftools >=1.3,<1.4
    - python
    - zlib
    - curl

test:
  imports:
    - pysam

about:
  home: https://github.com/pysam-developers/pysam
  license: MIT
  summary: "Pysam is a python module for reading and manipulating Samfiles. It is a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix."

extra:
  identifiers:
    - biotools:pysam
    - doi:10.1093/bioinformatics/btp352
  skip-lints:
    - should_not_be_noarch_source
