package:
  name: mapdamage2
  version: "2.0.6"

build:
  number: 0

source:
  fn: 2.0.6.tar.gz
  url: https://github.com/ginolhac/mapDamage/archive/2.0.6.tar.gz
  md5: f14e1ca52d68fd9c7e42e1f4e6f40f8c
  patches:
    - makefile.patch
    - composition.patch

requirements:
  build:
    - python >=2.7,<3
  run:
    - python >=2.7,<3
    - pysam <0.9.0
    - seqtk
    
test:
 commands:
   - mapDamage 2>&1 | grep Usage > /dev/null
   - mapDamage -h 2>&1 | grep 'Options for the statistical estimation' > /dev/null
    
about:
  home: https://github.com/ginolhac/mapDamage
  license: MIT
  summary: "mapDamage: tracking and quantifying damage patterns in ancient DNA sequences http://geogenetics.ku.dk/all_literature/mapdamage/"

package:
  name: mapdamage2
  version: "2.0.6"

build:
  number: 1

source:
  fn: 2.0.6.tar.gz
  url: https://github.com/ginolhac/mapDamage/archive/2.0.6.tar.gz
  md5: f14e1ca52d68fd9c7e42e1f4e6f40f8c
  patches:
    - makefile.patch
    - composition.patch

requirements:
  build:
    - python >=2.7,<3
  run:
    - python >=2.7,<3
    - pysam
    - seqtk
    
test:
 commands:
   - mapDamage 2>&1 | grep Usage > /dev/null
   - mapDamage -h 2>&1 | grep 'Options for the statistical estimation' > /dev/null
    
about:
  home: https://github.com/ginolhac/mapDamage
  license: MIT
  summary: "mapDamage: tracking and quantifying damage patterns in ancient DNA sequences http://geogenetics.ku.dk/all_literature/mapdamage/"

Remove restriction on pysam version
Remove restriction on pysam version

Build issue due to use of CentOS5; see also #2519.
