Permalink
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (30 sloc) 1.52 KB
# -*- 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
set _name regions
set _n [string index ${_name} 0]
name py-${_name}
version 0.3
categories-append science
platforms darwin
maintainers {gmail.com:Deil.Christoph @cdeil} openmaintainer
description Astropy affilated package for region handling
long_description ${description}
homepage https://github.com/astropy/regions
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums md5 b2f0b08cdaa2b40519de665f9af2a25a \
rmd160 59106aea117ad23b7c67dc6064802980d30b5752 \
sha256 ec98751880020a3e0c861e43412c750240576b09882bd71cdeb67dbcb0ed7618
python.versions 27 35 36 37
if {${name} ne ${subport}} {
# By default, astropy downloads an astropy-helpers package for setup.py.
# The --offline and --no-git flags prevent this and use a bundled version.
build.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
destroot.cmd ${python.bin} setup.py --no-user-cfg --offline --no-git
depends_build-append port:py${python.version}-setuptools
depends_run-append port:py${python.version}-numpy \
port:py${python.version}-astropy \
port:py${python.version}-astropy-healpix
livecheck.type none
}