{% set name = "sgp4" %}
{% set version = "1.4" %}
{% set gh_org = "brandon-rhodes" %}
{% set gh_repo = "python-spg4" %}
{% set sha256 = "a7e03a714de969e2ad980830957793d677681b40047d7d052a50fe9e96e6ab7c" %}


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

source:
  fn: {{ gh_repo }}-v{{ version }}.tar.gz
  url: https://github.com/{{ gh_org }}/{{ gh_repo }}/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install

requirements:
  build:
    - python
  run:
    - python

test:
  requires:
    - nose
  imports:
    - sgp4
    - sgp4.tests
  commands:
    - nosetests

about:
  home: https://github.com/brandon-rhodes/python-sgp4
  license: MIT
  license_file: LICENSE
  summary: 'Python implementation of most recent version of the SGP4 satellite tracking algorithm.'

  description: |
    Python implementation of most recent version 
    of the SGP4 satellite tracking algorithm.

extra:
  recipe-maintainers:
    - jochym


{% set name = "sgp4" %}
{% set version = "1.4" %}
{% set gh_org = "brandon-rhodes" %}
{% set gh_repo = "python-spg4" %}
{% set sha256 = "a7e03a714de969e2ad980830957793d677681b40047d7d052a50fe9e96e6ab7c" %}


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

source:
  fn: {{ gh_repo }}-v{{ version }}.tar.gz
  url: https://github.com/{{ gh_org }}/{{ gh_repo }}/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install

requirements:
  build:
    - python
  run:
    - python

test:
  imports:
    - sgp4
    - sgp4.tests
  commands:
    - pip install unittest2
    - unit2 discover sgp4

about:
  home: https://github.com/brandon-rhodes/python-sgp4
  license: MIT
  license_file: LICENSE
  summary: 'Python implementation of most recent version of the SGP4 satellite tracking algorithm.'

  description: |
    Python implementation of most recent version 
    of the SGP4 satellite tracking algorithm.

extra:
  recipe-maintainers:
    - jochym


Switch tests to unittest2 from pypi
Switch tests to unittest2 from pypi
