blob: 5cad5656b375238ff6b8c7eaa66b32e9a17bdafb (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 | {% set name = 'jplephem' %}
{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
{% if version[0] == 'v' %}
{%   set version = version[1:] %}
{% endif %}
{% set number = '2' %}
about:
    home: https://github.com/brandon-rhodes/python-{{ name }}
    license: MIT
    summary: "Python version of NASA DE4xx ephemerides, the basis for the Astronomical Alamanac"
build:
    number: {{ number }}
package:
    name: {{ name }}
    version: {{ version }}
requirements:
    build:
    - setuptools
    - numpy {{ numpy }}
    - python {{ python }}
    run:
    - numpy
    - python
source:
    git_url: https://github.com/brandon-rhodes/python-{{ name }}.git
    patches:
    - 0001_use-setuptools.patch
test:
    imports:
    - jplephem
    - jplephem.spk
 |