# -*- 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.8.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 https://pypi.python.org/packages/source/[string index ${basename} 0]/${basename}/ homepage http://pypi.python.org/pypi/${basename}/ checksums md5 d99576e843a3f3aa0834fed0524b9981 \ sha1 6789ec4bf9a97777c52b760a44e570f7e73b59ec \ rmd160 c56536d30615cb067059c06885cfe15eecca40ce python.versions 27 34 if {${name} ne ${subport}} { default_variants +openmp variant openmp description "enable OpenMP parallel acceleration" { # FIXME: llvm-gcc42 is broken, https://trac.macports.org/ticket/40713 # Only clang really needs to be blacklisted compiler.blacklist *gcc-4.2 *clang* compiler.fallback macports-gcc-4.8 macports-gcc-4.7 macports-gcc-4.6 macports-gcc-4.5 macports-gcc-4.4 macports-gcc-4.3 } 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]+)*)} }