# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup active_variants 1.1 name py-healpy version 1.6.2 categories-append science license GPL-2 platforms darwin maintainers aronnax description Python wrapper for HEALPix long_description Software for pixelation, hierarchical indexing, synthesis, \ analysis, and visualization of data on the sphere. This is \ the Python language interface for HEALPix. set basename healpy distname ${basename}-${version} master_sites https://pypi.python.org/packages/source/[string index ${basename} 0]/${basename}/ homepage http://pypi.python.org/pypi/${basename}/ checksums md5 f532ee927bb1fbe170b62b2fc95b3c2a \ sha1 50395fabd060df0ebc4179f639b86064d98a6161 \ rmd160 2fe8515cbd0797bb5c6a66c2879e2f9aad37b305 python.versions 26 27 if {${subport} != ${name}} { default_variants +openmp variant openmp description "enable OpenMP parallel acceleration" { compiler.blacklist-append clang } if {[variant_isset openmp]} { require_active_variants healpix-cxx openmp compiler.blacklist clang } else { require_active_variants healpix-cxx "" openmp } depends_build port:pkgconfig \ port:py${python.version}-setuptools depends_lib-append port:cfitsio \ port:py${python.version}-numpy \ port:py${python.version}-pyfits \ port:py${python.version}-matplotlib \ port:healpix-cxx livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex {healpy-([0-9]+(\.[0-9]+)*)} }