{% set name = "gemmi" %}
{% set version = "0.2.1" %}

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

source:
  url: https://github.com/project-gemmi/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: aa6eb56202c6c624b587c95bde20bc48e505fe4e4a58a8516009c62f1a9f7535

build:
  number: 0
  skip: true  # [win and py27]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
  host:
    - python
    - pip
    - pybind11
    - zlib
  run: 
    - python
    - zlib

test:
  commands:
    - gemmi
  imports: 
    - gemmi

about:
  home: https://project-gemmi.github.io/
  license: MPL-2.0
  license_family: OTHER
  license_file: LICENSE.txt
  summary: 'Macromolecular crystallography library and utilities.'
  doc_url: https://gemmi.readthedocs.io/
  dev_url: https://github.com/project-gemmi/gemmi

extra:
  recipe-maintainers:
    - mcs07

{% set name = "gemmi" %}
{% set version = "0.2.1" %}

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

source:
  url: https://github.com/project-gemmi/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: aa6eb56202c6c624b587c95bde20bc48e505fe4e4a58a8516009c62f1a9f7535

build:
  number: 0
  skip: true  # [win and py27]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
    - ninja  # [win]
  host:
    - python
    - pip
    - pybind11
    - zlib
  run: 
    - python
    - zlib

test:
  commands:
    - gemmi
  imports: 
    - gemmi

about:
  home: https://project-gemmi.github.io/
  license: MPL-2.0
  license_family: OTHER
  license_file: LICENSE.txt
  summary: 'Macromolecular crystallography library and utilities.'
  doc_url: https://gemmi.readthedocs.io/
  dev_url: https://github.com/project-gemmi/gemmi

extra:
  recipe-maintainers:
    - mcs07

Add ninja as build dependency
Add ninja as build dependency