# -*- 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 PortGroup github 1.0 github.setup astropy astroplan 0.7 v name py-${name} revision 0 maintainers {aronnax @lpsinger} openmaintainer categories-append science description Observation planning package for astronomers long_description astroplan is an open source Python package to help \ astronomers plan observations. The goal of astroplan is \ to make a flexible toolbox for observation planning and \ scheduling. When complete, the goal is to be easy for \ Python beginners and new observers to to pick up, but \ powerful enough for observatories preparing nightly and \ long-term schedules. platforms {darwin any} supported_archs noarch license BSD homepage https://astroplan.readthedocs.io/ checksums rmd160 365a8e8673a063e40d841b7709e148f6fe935bc1 \ sha256 b2fc6acdbab8dfeafe2be60c74c578513468c607385a977510f7ca02342a7cab \ size 145344 python.versions 39 python.pep517 no if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-astropy \ port:py${python.version}-numpy \ port:py${python.version}-tz depends_build-append \ port:py${python.version}-astropy-helpers \ port:py${python.version}-setuptools # 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 post-patch { reinplace -W ${worksrcpath} "s/auto_use = True/auto_use = False/" setup.cfg } }