1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-skyfield |
---|
8 | version 0.6.1 |
---|
9 | revision 1 |
---|
10 | categories-append science |
---|
11 | platforms darwin |
---|
12 | license MIT |
---|
13 | |
---|
14 | python.versions 27 34 35 |
---|
15 | |
---|
16 | maintainers maiar.org:jason-macports openmaintainer |
---|
17 | |
---|
18 | description Elegant astronomy for Python |
---|
19 | |
---|
20 | long_description Skyfield is a pure-Python astronomy package that is \ |
---|
21 | compatible with both Python 2 and 3 and makes it \ |
---|
22 | easy to generate high precision research-grade \ |
---|
23 | positions for planets and Earth satellites. |
---|
24 | |
---|
25 | homepage http://rhodesmill.org/skyfield/ |
---|
26 | master_sites https://pypi.python.org/pypi/skyfield |
---|
27 | |
---|
28 | distname skyfield-${version} |
---|
29 | |
---|
30 | checksums rmd160 ee29d1a7a731e0373d556454e3de735de40a2a9b \ |
---|
31 | sha256 58e38c3785fbaf599caf53bbb36cd40449d8c55d5065a73e076745275788a43f |
---|
32 | |
---|
33 | if {${name} ne ${subport}} { |
---|
34 | depends_build-append port:py${python.version}-setuptools |
---|
35 | |
---|
36 | depends_run-append port:py${python.version}-numpy |
---|
37 | |
---|
38 | livecheck.type none |
---|
39 | } else { |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url ${master_sites} |
---|
42 | livecheck.regex {skyfield-(\d+(?:\.\d+)*)\.[tz]} |
---|
43 | } |
---|