You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
53 lines
1.9 KiB
Tcl
53 lines
1.9 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-ephem
|
|
version 3.7.7.0
|
|
revision 0
|
|
|
|
categories-append science
|
|
platforms darwin
|
|
maintainers {aronnax @lpsinger} openmaintainer
|
|
license LGPL-3
|
|
description scientific-grade astronomy routines
|
|
long_description \
|
|
PyEphem provides an ephem Python package for performing high-precision \
|
|
astronomy computations. The underlying numeric routines are coded in C and \
|
|
are the same ones that drive the popular XEphem astronomy application, whose \
|
|
author, Elwood Charles Downey, generously gave permission for their use in \
|
|
PyEphem. The name ephem is short for the word ephemeris, which is the \
|
|
traditional term for a table giving the position of a planet, asteroid, or \
|
|
comet for a series of dates.
|
|
|
|
homepage http://rhodesmill.org/pyephem/
|
|
distname ephem-${version}
|
|
master_sites pypi:e/ephem/
|
|
|
|
checksums rmd160 ffd3edcf7b9c87e88b96b8c598526036c890ae42 \
|
|
sha256 607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436 \
|
|
size 745041
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
# fix permissions
|
|
post-extract {
|
|
fs-traverse item ${worksrcpath} {
|
|
if {[file isdirectory ${item}]} {
|
|
file attributes ${item} -permissions a+rx
|
|
} elseif {[file isfile ${item}]} {
|
|
file attributes ${item} -permissions a+r
|
|
}
|
|
}
|
|
}
|
|
|
|
livecheck.type none
|
|
|
|
test.dir "${worksrcpath}/build/lib.macosx-${macosx_deployment_target}-${configure.build_arch}-${python.branch}"
|
|
test.run yes
|
|
test.cmd ${python.bin} -m unittest discover
|
|
test.target
|
|
}
|