# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python 1.0 set realname coords name py-astrolib${realname} version 0.37 categories-append devel science license BSD platforms darwin maintainers stsci.edu:mperrin openmaintainer description A library for manipulation of astronomical coordinates, \ such as working with catalogs, preparing proposals, and \ preparing for observing runs. long_description ${description} homepage http://www.scipy.org/AstroLibCoordsHome master_sites http://stsdas.stsci.edu/astrolib/ distname ${realname}-${version} checksums sha1 8de4563e2d2b43d9c1b308f6dad0dd702e795a1a \ rmd160 bb273716fd4bd3f5df7558f5cdb19dde732ee5c3 python.versions 26 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-numpy livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${realname}-(\[0-9.\]+).tar.gz }