# -*- 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.9.1 revision 4 categories-append science license GPL-2 platforms darwin maintainers aronnax description Python language interface for HEALPix long_description \ Software for pixelization, hierarchical indexing, synthesis, analysis, and \ visualization of data on the sphere. This is the ${description}. set basename healpy distname ${basename}-${version} master_sites pypi:[string index ${basename} 0]/${basename}/ homepage http://pypi.python.org/pypi/${basename}/ checksums md5 5d1b082dce77e56023329496cecab48d \ rmd160 0a3477447e212882875fcdd1d4d3c46264779df4 \ sha256 b88fcd667e0bf474335811018cb97932b5f9d5575f22d2237b6707844a121c23 python.versions 27 34 35 if {${name} ne ${subport}} { default_variants +openmp variant openmp description "enable OpenMP parallel acceleration" { # Pick a compiler that supports openmp compiler.whitelist macports-clang-3.9 macports-clang-3.8 macports-clang-3.7 macports-gcc-6 macports-gcc-5 macports-gcc-4.8 macports-gcc-4.7 macports-gcc-4.6 macports-gcc-4.5 macports-gcc-4.4 macports-gcc-4.3 compiler.fallback macports-clang-3.9 } if {[variant_isset openmp]} { require_active_variants healpix-cxx openmp } else { require_active_variants healpix-cxx "" openmp } depends_build port:pkgconfig \ port:py${python.version}-cython \ port:py${python.version}-setuptools depends_lib-append port:cfitsio \ port:py${python.version}-numpy \ port:py${python.version}-astropy \ port:py${python.version}-matplotlib \ port:py${python.version}-six \ port:healpix-cxx livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex {healpy-([0-9]+(\.[0-9]+)*)} }