{% set name = "macs2" %}
{% set version = "2.2.7.1" %}

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

source:
  url: https://files.pythonhosted.org/packages/e2/61/85d30ecdd34525113e28cb0c5a9f393f93578165f8d848be5925c0208dfb/MACS2-2.2.7.1.tar.gz
  sha256: ad2ca69bdd02a8942a68aae23133289b5c16ba382bcbe20c39fabf3948929de5
  patches:
    - patch

build:
  number: 2
  skip: True  # [py2k]
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - python
    - numpy >=1.17
    - cython
    - pip
  run:
    - numpy >=1.17
    - python
    - r-base

test:
  commands:
    - macs2 -h

about:
  home: http://github.com/taoliu/MACS/
  license: BSD
  license_family: BSD
  license_file: LICENSE
  summary: Model Based Analysis for ChIP-Seq data

extra:
  identifiers:
    - usegalaxy-eu:peakcalling_macs
