{%set name = "msg-extractor" %}
{%set version = "0.2" %}
{%set build_num = "0" %}

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

source:
  git_url: https://github.com/mattgwwalker/{{ name }}.git

build:
  number: {{ build_num }}
  script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - imapclient
    - olefile

test:
  imports:
    - ExtractMsg

about:
  home: https://github.com/mattgwwalker/msg-extractor
  license: GPL 3.0
  license_file: COPYING
  license_family: GPL3
  summary: "Extracts emails and attachments saved in Microsoft Outlook's .msg files"
  dev_url: https://github.com/mattgwwalker/msg-extractor

extra:
  recipe-maintainers:
    - pmlandwehr

{%set name = "msg-extractor" %}
{%set version = "0.2" %}
{%set build_num = "0" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/mattgwwalker/msg-extractor/archive/v{{ version }}.tar.gz
  sha256: 9189ab65c801c0269534e3ffb4f5923a02c8766d2b21e9412c6fa885e77e7fdb

build:
  number: {{ build_num }}
  script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - imapclient
    - olefile

test:
  imports:
    - ExtractMsg

about:
  home: https://github.com/mattgwwalker/msg-extractor
  license: GPL 3.0
  license_file: COPYING
  license_family: GPL3
  summary: "Extracts emails and attachments saved in Microsoft Outlook's .msg files"
  dev_url: https://github.com/mattgwwalker/msg-extractor

extra:
  recipe-maintainers:
    - pmlandwehr

Change source from git to url
Change source from git to url