Ticket #50568: Portfile

File Portfile, 1.4 KB (added by gorticus (Jason Mitchell), 8 years ago)
Line 
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
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-skyfield
8version             0.6.1
9revision            1
10categories-append   science
11platforms           darwin
12license             MIT
13
14python.versions     27 34 35
15
16maintainers         maiar.org:jason-macports openmaintainer
17
18description         Elegant astronomy for Python
19
20long_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
25homepage            http://rhodesmill.org/skyfield/
26master_sites        https://pypi.python.org/pypi/skyfield
27
28distname            skyfield-${version}
29
30checksums           rmd160  ee29d1a7a731e0373d556454e3de735de40a2a9b \
31                    sha256 58e38c3785fbaf599caf53bbb36cd40449d8c55d5065a73e076745275788a43f
32
33if {${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}