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

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

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

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv"

requirements:
  host:
    - python
    - pip
  run:
    - python
    - gitpython

test:
  imports:
    - cmdline_provenance

  commands:
    python -c "import cmdline_provenance; assert cmdline_provenance.__version__ == '{{ version }}'"

about:
  home: https://github.com/DamienIrving/cmdline_provenance
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Utilities for capturing the history of commands used to produce a given output
  doc_url: http://cmdline-provenance.readthedocs.io/en/latest/
  dev_url: https://github.com/DamienIrving/cmdline_provenance

extra:
  recipe-maintainers:
    - znicholls
    - DamienIrving

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

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

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

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv"

requirements:
  host:
    - python
    - pip
  run:
    - python
    - gitpython

test:
  requires:
    - git
  imports:
    - cmdline_provenance

  commands:
    python -c "import cmdline_provenance; assert cmdline_provenance.__version__ == '{{ version }}'"

about:
  home: https://github.com/DamienIrving/cmdline_provenance
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: Utilities for capturing the history of commands used to produce a given output
  doc_url: http://cmdline-provenance.readthedocs.io/en/latest/
  dev_url: https://github.com/DamienIrving/cmdline_provenance

extra:
  recipe-maintainers:
    - znicholls
    - DamienIrving

Add git to test requirements
Add git to test requirements
