{% set name = "metomi-isodatetime" %}
{% set version = "1!2.0.1" %}

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

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

build:
  number: 0
  entry_points:
    - isodatetime=metomi.isodatetime.main:main
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "

requirements:
  host:
    - pip
    - pytest-runner
    - python
  run:
    - python

test:
  imports:
    - metomi.isodatetime
  commands:
    - isodatetime --help

about:
  home: https://github.com/metomi/isodatetime
  license: GPL-3.0
  license_family: GPL
  license_file: LICENSE
  summary: 'Python ISO 8601 date time parser and data model/manipulation utilities'
  description: |
    Python ISO8601 (2004) full-specification parser and data
    model/manipulation utilities. Intended to be used in a similar
    way to Python's datetime module.
  doc_url: https://github.com/metomi/isodatetime
  dev_url: https://github.com/metomi/isodatetime

extra:
  recipe-maintainers:
    - kinow

Add metomi-isodatetime recipe for conda-forge
Add metomi-isodatetime recipe for conda-forge
